added pcmcia infrastructure and a few devices
added pcmcia infrastructure and a few devices
extent_alloc_subregion was wrong
set up the inteface send queue when the if is attached, not when the
if layer is initialized.  Otherwise, interfaces attached after the
autoconfiguration won't be set up properly.
added pcmcia infrastructure and a few devices
add the pcmcia device dir.
This file wasn't updated for the #ifndef __CGD_INDIRECT_CONFIG ->
#ifdef __BROKEN_INDIRECT_CONFIG change.
If Really Verbse Debugging is compiled in, use a patchable variable to
turn the messages on/off, so you can clean up the output without rebuilding.
Remove some gratuitous debugging printfs; this information is already
displayed elsewhere.
Pay attention to the "valid IRQ mask" in a device's CIS information.
This adds an additional "irqmask" argument to the chip-level "intr_establish"
functions.
In pcic_chip_intr_establish():
- Update for additional "irqmask" argument.
- Don't attempt to allocate IRQs that are not in the PCIC's list of
  valid IRQs.
- Clear the IRQ bits in the PCIC_INTR register value before OR'ing in
  the new value, to avoid accidentally setting a bogus IRQ.

In pcic_chip_intr_disestablish():
- Before removing the interrupt handler, clear the IRQ and "enable" bits
  in the PCIC_INTR register so that we don't get spurious interrupts
  later.
Add an entry for the Digital (DEC) DEPCM-BA (which is really a rebadged
Accton EN2216).
If the device function matches COM[1-4] then it's a good bet
that's it's a com device.  This hueristic works well for my
Multitech modem.

pcmcia1: CIS version 2.0 or 2.01
pcmcia1: CIS info: Multi-Tech, MT2834LT, FAX MODEM
pcmcia1: Manufacturer code ffffffff, product ffff
pcmcia1: function 0: multi-function, ccr addr 100 mask 3
pcmcia1: function 0, config table entry 32: I/O card; irq mask 86bc; iomask b, iospace 3f8-3ff; audio
pcmcia1: function 0, config table entry 33: I/O card; irq mask 86bc; iomask b, iospace 2f8-2ff; io8 audio
pcmcia1: function 0, config table entry 34: I/O card; irq mask 86bc; iomask b, iospace 3e8-3ef; io8 audio
pcmcia1: function 0, config table entry 35: I/O card; irq mask 86bc; iomask b, iospace 2e8-2ef; io8 audio
com1 at pcmcia1 function 0: ns16550a, working fifo
Add entry (but not driver, yet) for Digital RoamAbout card.  Add commented
out entry for wdc device (which will enable the Digital Mobile Media CDROM.
Suppress spurious printf.
add support for Linksys card, using new test to believe the NE2000 probe enet addr
Create a structure to encapsulate information about allocated i/o and
mem space on the pcmcia bus.  Use this in chip-level window enable
functions rather than making assumptions about the bus space handles.

Also, clean up lots of debugging prints.  Use patchables to enable them.
Always print a message if the CIS has a wrong checksum.  Do not fail if
the checksum is wrong; many WaveLAN cards have bad checksums, but work fine.
Create a structure to encapsulate information about allocated i/o and
mem space on the pcmcia bus.  Use this in chip-level window enable
functions rather than making assumptions about the bus space handles.
Pass the PCMCIA function structure rather than an IRQ mask to the
interrupt establish function.