summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia
AgeCommit message (Collapse)Author
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat
as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary.
2009-02-09fix uninitialized argument.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok krw@ tedu@
2008-11-28Eliminate the redundant bits of code for MTU and multicast handlingBrad Smith
from the individual drivers now that ether_ioctl() handles this. Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 1504 bytes RAMDISKC - 736 bytes Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users. Build tested on almost all archs by todd@/brad@ ok naddy@
2008-11-22com not pccom; ok miodTheo de Raadt
2008-11-21cast pointer argument to bus_space_read_region_1 to the correct typeOwain Ainsworth
(u_int8_t *). Fixes a warning when bus_space_read_region_1 is actually a function and not a macro. ok weingart@
2008-10-14Change m_devget()'s outdated and unused "offset" argument: It isChristian Weisgerber
now the offset into the first mbuf of the target chain before copying the source data over. From FreeBSD. Convert drivers' use of m_devget(). Mostly from thib@. Update mbuf(9) man page. ok claudio@, thib@
2008-10-04More Linksys models (to match the Netgear ones) from PR 3879. I am notTheo de Raadt
adding the PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID version though without proof that it actually exists.
2008-10-03Return ENOTTY for unknown ioctl's.Brad Smith
2008-10-03Merge xe_ether_ioctl() into xe_ioctl() which was just a handler forBrad Smith
SIOCSIFADDR, now this looks like every other driver. Also return ENOTTY for unknown ioctl's. Reduces i386 GENERIC by 112 bytes.
2008-10-02First step towards cleaning up the Ethernet driver ioctl handling.Brad Smith
Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@
2008-09-29syncTheo de Raadt
2008-09-29Support another ne(4) at pcmcia(4), pr5940 from Kamo HiroyasuTheo de Raadt
2008-09-01Avoid #pragma pack(1) and unify everything towards using __packed.Theo de Raadt
This requires that structures defined within __packed structures must independently request that they themselves become __packed, too. worked on with toby CVS: ----------------------------------------------------------------------
2008-07-29check for m_devget() returning NULL, increment ierror countThordur I. Bjornsson
and just return; OK mglocker@
2008-07-27Some devices take longer to load the firmware. Increase the firmwareMarcus Glocker
load timeout from 50000us to 500000us. Reported and tested by William Dunand with an I-O DATA WN-G54/CF device. Since this device works now, we add it to the man page.
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-05-23Bye bye awi(4). No net80211 love, uses its own WEP code and has not workedBrad Smith
properly in 8.5 years so just garbage collect the driver. ok damien@ deraadt@
2008-05-21Switch i386 from pccom to com. Welcomed by many.Mark Kettenis
ok dlg@, jsing@, deraadt@
2008-04-23Remove driver for pre 802.11 RangeLAN2 wireless devices.Jonathan Gray
It doesn't compile, was never finished, is now irrelevant, and miod has taken it apon himself to scare good boys and girls by suggesting they read the code. ok dlg@
2007-10-09Ops, forgot debug printf.Marcus Glocker
2007-10-09Setup channels with OFDM flags. Permit user to set fix rates.Marcus Glocker
2007-10-09Load the firmware files just one time per device lifecycle (attach time)Marcus Glocker
instead on every `ifconfig up'.
2007-10-08Give the device a bit time to finish the reset when stopped. AvoidsMarcus Glocker
helper firmware load timeouts when device is brought up very fast again, like seen with trunk(4).
2007-10-08Make pcmcia malo(4) work with trunk(4) by:Marcus Glocker
Setting interface ethernet address from link level address. Adding firmware command to set ethernet address.
2007-09-11KNFGilles Chehade
prompted and "much better" by marco@, ok pyr@
2007-09-09more M_ZERO conversions; ok krw@.Federico G. Schwindt
2007-09-07sprinkle some M_ZERO love.Federico G. Schwindt
2007-08-28unify firmware load failure messages; ok mglockerTheo de Raadt
2007-08-14Indention and comment.Marcus Glocker
2007-08-14Replace bus_space_write/read_2 loops in cmd req/rsp routines withMarcus Glocker
bus_space_write/read_raw_multi_2.
2007-08-11Set command context save flag already in attach routine. Avoids doubleMarcus Glocker
processing of command responses.
2007-08-11Remove IBSS capability flag for now.Marcus Glocker
2007-08-10Fix some letho16() tweaks which made my macppc crash on anMarcus Glocker
assoiciation.
2007-08-10Add missing multicast part to ioctl.Marcus Glocker
2007-08-09If an association has failed, set the device back to INIT state.Marcus Glocker
2007-08-09Check all FW commands in the init path. None of them shall timeout,Marcus Glocker
otherwise we abort initialization.
2007-08-09o Add a mechanism to execute single commands even if are are not contextMarcus Glocker
save. Protects cmalo_cmd_set_assoc() for now. o In case of deauthentication or disassociation, try to reassociate.
2007-08-09Correctly acknowledge event interrupts. Got the wrong register valueMarcus Glocker
before.
2007-08-09Comment. Sort some register values.Marcus Glocker
2007-08-09Add event handler. Events notify us about things like when aMarcus Glocker
disassociation frame has arrived. Nice side effect; As we acknowledge the event reason after receiving a disassociation frame (which happens pretty often by wi(4) hostap) now, the FW issues an automatic reassociation, and we do not loose network connectivity anymore.
2007-08-07Improve a evil tsleep() loop by using wakeup() in the interrupt handler.Marcus Glocker
Still not sure if the tsleep() is safe here, but better than the previous version. spotted and OK claudio@
2007-08-06o Replace bus_space_write_2 for-loops in TX/RX withMarcus Glocker
bus_space_write_raw_multi_2. o Make TX/RX work on big endian archs (tested on macppc). in co-operation and OK claudio@
2007-08-06Fix FW command API for big endian archs.Marcus Glocker
2007-08-05Fix DPRINTF tweaks.Marcus Glocker
2007-08-05Low-Noise watchdog routine (debug level 2).Marcus Glocker
2007-08-05Parse association command response to check if an association wasMarcus Glocker
successfull or not.
2007-08-05Remove IFQ_SET_MAXLEN() for TX queue.Marcus Glocker
2007-08-05Add WEP support, which is done fully by the FW.Marcus Glocker
2007-08-05o Some better variable namings.Marcus Glocker
o Fix some comments. o Add a forgotten splx().
2007-08-05o Reflect active network settings to ifconfig.Marcus Glocker
o Enable selection of desired network by setting nwid.