summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/if_wi_pcmcia.c
AgeCommit message (Collapse)Author
2006-11-26avoid extra inclusions; ok jsgTheo de Raadt
2006-04-20Fix various printf() issues: too many arguments, not enough arguments, argumentMiod Vallat
order reversed, wrong modifiers. ok deraadt@ marco@ mickey@
2005-10-31Move from arpcom to ieee80211com in wi softc. This will beJonathan Gray
required for net80211 support. Updated version of a diff from dlg@ similiar diff ok fgsch@, ok dlg@
2005-09-18ansi. No binary change.Jonathan Gray
2005-03-13in the event wi_attach fails dont panic trying to clean up a nonexistantDavid Gwynne
interrupt handler. ok uwe@
2005-03-06Untested support for I-O DATA WN-B11/CFZ.Jonathan Gray
Documentation to follow if I get a report of it working.
2005-01-27Use pcmcia_intr_string() for printing the irq (or error) string.Todd C. Miller
2005-01-21Undo last change; if wi_pcmcia_attach failed we already freed up theTodd C. Miller
pcmcia resources and trying to do it again will cause problems. Just return silently if WI_FLAGS_ATTACHED is not set in wi_flags.
2005-01-20If the card failed to attach completely we still want to unmap itsTodd C. Miller
resources when it is ejected. OK deraadt@
2005-01-11Pass device names on intr_establish() call, other drivers need this too.Dale Rahn
2004-11-23replace old net/if_ieee80211.h header with the net80211 ones, kernel part.Federico G. Schwindt
millert@ mcbride@ jsg@
2004-10-22add some more wi devices found in netbsd and freebsdJonathan Gray
2004-10-20put newlines at slightly different places during attach, leading to cleanTheo de Raadt
USB attach
2004-10-11add support for Planex GW-NS11H; from Jonathan Gray <jsg@goblin.cx>Michael Shalayeff
2004-09-30ARtem Onair 802.11b card works with wi(4); Marco PfatschbacherTodd C. Miller
2004-09-27Add Proxim Harmony 802.11b card and attach it to wi(4); David VincelliTodd C. Miller
2004-09-25Senao el-2511cd2ext2m support. Reported and tested by Randy BenderFederico G. Schwindt
<randybender2004 at hotmail dot com>; millert@ ok.
2004-06-04Add support for ASUS SpaceLink WL-100 PCMCIA 802.11b card; Sigfred HÃversenTodd C. Miller
2004-06-01Add support for the Adaptec AWN-8030 WLAN pcmcia-card (prism 2.5) fromTodd C. Miller
Andreas Abeck.
2004-05-03If wi@pcmcia fails in wiattach(), disestablish the interrupt andDale Rahn
let the rest of the cleanup code run. ok millert@
2004-04-06Attach Microsoft MN-520 wireless cardTodd C. Miller
2003-12-16Remove unused strings; we print out info from pcmciadevs duringTodd C. Miller
device attachment so we don't need extra ones. OK mickey@ deraadt@
2003-10-26Driver for PRISM 2.5/3 based (wifi) USB adapters. This is a work in progress,Dale Rahn
it does not yet handle bulk data copies or hostap mode. Only one model currently supported, however driver may support other PRISM based adapters. ok millert@ fgsch@
2003-09-06Add wi_detach, use it in pcmcia so that the shutdownhook is properly removed.Dale Rahn
ok miod@ millert@ deraadt@
2003-07-14Add Siemens SpeedStream 1021Todd C. Miller
2003-07-06Add Corega Wireless LAN PCCL-11; Jonathon FletcherTodd C. Miller
2003-02-26Add support for AirVast WN-100; nick@Todd C. Miller
2002-11-19Use queue.h macros instead of using the structure names directly.Jason Wright
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