summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/if_wi_pcmcia.c
AgeCommit message (Collapse)Author
2002-07-09move common declarations to if_wivar.h; mickey@ and millert@ ok.Federico G. Schwindt
2002-07-01when printing the size, use what we have map'ed, not what's in theFederico G. Schwindt
configuration.
2002-06-25Back out my change to pass in sc_dev.dv_xname to pcmcia_intr_establish().Todd C. Miller
It screws up printing in dmesg and doesn't actually help anything since interupts in "vmstat -i" show up as pcmcia*, not wi* or an*.
2002-06-22Add new flag, WI_FLAGS_BUS_PCMCIA and mark pcmcia attachment as such.Federico G. Schwindt
Replace ugly kludge with a macro that tests on sparc if it's pcmcia and tries to deal with it correctly (card mapped as be). This makes possible to have wi at pcmcia and pci on sparc64; from theo and myself. Tested with the PLX adapter and the SBus pcmcia bridge. millert@ ok.
2002-06-21add support for Netgear MA401RA (Prism-2.5)Henning Brauer
2002-06-20Add ELSA / ZCOMAX XI-325 (and XI-325H); Ken SimpsonTodd C. Miller
2002-06-09Pass in the device name to pcmcia_intr_establish() instead of ""Todd C. Miller
2002-06-09a step towards consistancy; in general:Todd T. Fries
'struct arpcom foo' -> 'struct arpcom sc_arpcom' ok itojun@
2002-06-08print address; millert@ ok.Federico G. Schwindt
2002-05-28add an id for nokia c110/c111; attach both w/ the if_wi_pcmcia ↵Michael Shalayeff
(prism1-prism2 clones, according to linux)
2002-04-17Clear flags indicating whether or not wi or hostap is active asTodd C. Miller
early as possible. Also the timeout_del() in wi_stop() to before we disable wi(4) so it doesn't fire at the wrong time. Joint effort between mickey@ and myself.
2002-04-07Don't reset COR in wi_reset(), break it out into its own function andTodd C. Miller
only call it from wi_attach() and wi_pcmcia_activate() (ie: just once). It would be nicer to have the COR reset be part of the bus-specific code but we need to know whether or not we have a Lucent card since old Lucent firmware revs get messed up on a COR soft reset. Even with the COR reset we still need to avoid initializing Symbol cards more than once. However, we *do* want to do a reset after returning from suspend. Therefore, rename wi_gone to wi_flags and store both the attach and init status in it. wi_reset() now checks wi_flags to see if the card should be initialized in the Symbol case. Info on initializing Symbol cards once from NetBSD.
2002-04-06For PLX-based bridge cards, move printing of pcmcia card CIS stringsTodd C. Miller
out of generic wi_attach() and into wi_pci_attach(). This means we can't print the CIS info for embedded cards like the NCP130 but since those don't have a "real" pcmcia card in them this is really not a problem. Also check to see that there is actually a pcmcia present and give and error if not. CIS magic number taken from the Linux orinoco driver; there may be a better way to do this.
2002-04-06Add support for Symbol cards and printing of the primary stationTodd C. Miller
firmware version. Adapted from NetBSD and the Linux orinoco driver. The Symbol firmware requires that we do a COR soft reset before initializing the card in wi_reset(). Also, setting WI_RID_ROAMING_MODE caused the Symbol card to go into a strange (non-working) mode with firmware 2.x.x. There are some other Symbol additions/oddities that will need to be addressed in the future.
2002-04-06actiontec wlan support; form jason@ackley.net via pr#2526Michael Shalayeff
2002-04-05Actually set wi_gone when we detach, based on what the an driver does.Todd C. Miller
2002-04-04wi_init() now takes a struct wi_softc * not a void * since an sc pointerTodd C. Miller
is available everywhere wi_init() is called. deraadt@ OK
2002-04-023Com AirConnect 3CRWE777A is really just a 3CRWE737A in disguise.Todd C. Miller
They use 3CRWE777A because that is the part number for the PCI adapter it comes with but the card can be used w/o it.
2002-03-29Add Proxim RangeLAN-DS PCMCIA card (model 8430); Paul M. HirschTodd C. Miller
2002-03-28new linksys wpc11; okay mickey@Niels Provos
2002-03-14First round of __P removal in sysTodd C. Miller
2002-01-22dup wi_pcmcia_attach(); from maurice@amaze.nlMichael Shalayeff
2002-01-04match on ericsson wlan; from lha@stacken.kth.se, pr 2295Michael Shalayeff
2001-12-05match on Symbol's Spectrum24 pcmcia/prism2, form netbsdMichael Shalayeff
2001-11-27match on buffalo and emtac wavelans; from netbsdMichael Shalayeff
2001-11-20match on linksys iwn; from netbsdMichael Shalayeff
2001-11-02match on intel pro/wireless 2011, from netbsdMichael Shalayeff
2001-10-28match on elsa cf wireless lanMichael Shalayeff
2001-10-25match on corega pccb-11Michael Shalayeff
2001-10-25match on gemtekMichael Shalayeff
2001-08-17quieten pcmcia/cardbus interrupt handling at unsuspend timeTheo de Raadt
2001-06-23Disable interupts *before* establishing them to avoid a race.Todd C. Miller
2001-06-11For PCI attachments print the CIS strings since otherwise all we haveTodd C. Miller
is info on the PCI -> PCMCIA dumb bridge and not the card itself.
2001-06-07no longer need bogus Linksys WPC11 entry now that we autodetect prism vs. lucentTodd C. Miller
2001-06-07probe prism2 chips based on the probed card id, not cisMichael Shalayeff
2001-06-06PCI shim for if_wi.c as promised. Magic for setting the PLX upTodd C. Miller
correctly take from the FreeBSD driver and explained by imp@ Currently this is hard-coded for PrismII cards but that will change when the PrismII auto-detect code is added to if_wi.c. Tested with a LinkSys WPC11 in a Global Sun GL24110P02 (aka LinSys WDT11)
2001-05-22Vendor and prodid are 16-bits, not 32.Federico G. Schwindt
2001-05-15Split wi(4) into bus-dependent and bus-independent bits similar toTodd C. Miller
an(4) -- no real code changes at this point. Rename if_wavelan_ieee.h to if_wi_ieee.h while I'm at it and create an if_wivar.h similar to NetBSD. PCI adaptors exist that are not true PCMCIA controllers so wi(4) @ PCI is possible (though the code is not working yet ;-).