summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus
AgeCommit message (Collapse)Author
2008-12-03Get size of the struct cardslot_event, not the function cardslot_event.Ray Lai
Found by pcc. OK deraadt.
2008-11-25more sizeof->nitemsDamien Bergamini
2008-11-24use workq instead of crafting our own kthread, since the tasks being doneTheo de Raadt
are fairly small. tested by a few, and kettenis says he will test it sooner if it is commited...
2008-10-12If re_attach() fails at any point make sure to disestablish variousBrad Smith
resources setup by the bus front ends, especially the shutdown hook. Found while testing some other changes with a CardBus adapter and re_attach() was failing early before the interface pointer was assigned. Then the system was rebooted, the shutdown hook was called and *boom* in re_stop().
2008-09-11Update for the renaming of the existing BCM4322 entry to SERIAL_2.Brad Smith
A COM port should not be misleadingly labeled as a Wifi chipset.
2008-09-11Remove the BCM4322 id. This is a 802.11n chipset and also requires v4 firmware.Brad Smith
2008-09-11ANSI function declarations.Brad Smith
2008-09-11Add missing license. Copy the license used elsewhere with the dc(4) driver.Brad Smith
2008-07-21rename rt2860 pci ids to match with reality.Damien Bergamini
import some fixes for 1T2R adapters from the linux vendor driver.
2008-07-18the Belkin F5D7010 version # is a RTL8185 cardbus device. thisReyk Floeter
chipset revision is not supported yet, so add it commented out.
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-06-14Use the bus_size_t in the ath_softc.Joel Sing
ok jsg@
2008-06-13If you have #if FOO > 0 parts of your softc beJonathan Gray
sure to #include "foo.h" in all code that uses the softc, otherwise some object files will have a different idea of how big the softc struct is. This will result in things like part of the softc, say the interrupt handler being overridden by other data. Putting printfs in the main object file will look fine as it has the right idea as to what the size is. It is only after several hours debugging that you start to figure out what the hell is going on. jsing started trying to figure out the problem and got hints from kettenis that it likely wasn't an interrupt problem, after quite a bit of head scratching with joel I eventually spotted the problem. ok reyk@ jsing@
2008-05-21Switch i386 from pccom to com. Welcomed by many.Mark Kettenis
ok dlg@, jsing@, deraadt@
2008-04-20Remove unused flags.Brad Smith
ok dlg@
2008-02-25Following up with further dmesg display tweaking after the cardbusprint()Brad Smith
change. ok deraadt@
2008-02-25Remove redundant information from the dmesg entry which is alreadyBrad Smith
represented from the pcidevs entry. ok deraadt@ kettenis@ mglocker@
2008-02-25Stop cardbusprint() from printing the CIS data so that CardBus dmesgBrad Smith
entries look more like a PCI device as they're just another variant of PCI and this looks much nicer. ok deraadt@ kettenis@ mglocker@
2008-02-17Simplify the hw revision handling by removing the use of theBrad Smith
rl_type softc field and only relying on the sc_hwrev softc field thoughout the driver. Tested by a number of users from tech@ ok dlg@
2008-01-16- Remove a unwanted slash from a error message printfBrad Smith
- Fix interrupt string printing in the dmesg output ok dlg@
2007-12-21Don't panic if someone inserts a CardBus slot for which we disabled CardBusMark Kettenis
support; print a properly formatted message instead. ok jsing@
2007-12-16Don't crash if we only try to attach pcmcia(4).Mark Kettenis
ok jsing@, fgsch@
2007-12-04Make puc(4) detachable.Mark Kettenis
Tested by millert@
2007-11-15New driver for Ralink RT2860 chipset.Damien Bergamini
Attaches as 'ral' as it shares the PCI and CardBus frontends with RT2560 and RT2661 though it is actually a separate driver. Requires a firmware that can't be redistributed with the base system due to license restrictions (exact same license as iwn(4) firmware). The 802.11n capabilities not yet supported (except MIMO). Great thanks to Sam Fourman Jr for donating hardware. ok deraadt@
2007-10-21Replace Cardbus_conf_* calls by cardbus_conf_* ones. This solves theMarcus Glocker
panic 'trap type 300` seen on macppc and makes my Linksys WPC54G Ver 3 cardbus device work entirely on my PowerBook G4.
2007-09-27Add automatic rate control (AMRR).Marcus Glocker
2007-09-24Remove BCM4311 and BCM4312 which are PCIe chipsets and therefore will notMarcus Glocker
come in Cardbus devices. From brad@
2007-09-20Print a colon out front to correct the interrupt string printing.Brad Smith
ok jsg@ dlg@
2007-09-19fix CARDBUS_DEBUGMartin Reindl
noted by Markus Hennecke
2007-09-19Add a missing prototype in the non-static case.Miod Vallat
2007-09-17Un-staticize if option DDB.Miod Vallat
2007-09-15Properly fill in some of the pci information the driver uses internally.Jonathan Gray
2007-09-13No variable names in prototypes.Marcus Glocker
2007-09-13Enable access to PCI and Cardbus config space from the driver. Lets usMarcus Glocker
power on the device.
2007-09-12PCI and Cardbus hookup for the Broadcom AirForce devices.Marcus Glocker
OK jsg@
2007-09-05Only match on RTL8185 if RTW_DEBUG is set, support for the RTL8185Jonathan Gray
was never finished due to a lack of information on the radios. ok reyk@
2007-05-20Convert ehci and ucom to rwlock.Jonathan Gray
Kill the usb specific lockmgr wrapper as nothing uses it now. ok thib@
2007-05-08backout while the amd64 puc situation is rethoughtTheo de Raadt
2007-05-08move com_activate() to where it belongsTheo de Raadt
2007-05-08repair com/fxp foo_detach() stuff, the hardest part being the pccom messTheo de Raadt
2007-05-08put more foo_detach() routines where they are usedTheo de Raadt
2007-05-08rl_detach() is only used for cardbus caseTheo de Raadt
2007-05-08dc_detach() is only used by cardbus code, so move it there; ok jsgTheo de Raadt
2007-05-05move xl_detach() -- which is only used by cardbus -- to the cardbus code.Theo de Raadt
ok jsg
2007-04-05After been attacked by Michael Buesch <mb@bu3sch.de> because we initiallyMarcus Glocker
were using some of their routines in the bcw driver, I decided to stop working on it. To avoid any further license chit chat I plain drop the driver.
2007-03-22Perform legacy emulation handover for USB1 companion controllers immediatelyChristopher Pascoe
but defer the remainder of their initialisation until after the other devices on their PCI bus have attached. This ensures that any USB2 controller has also completed its initialisation before we start to initialise the USB1 parts. This minimises the chance that a nasty SMM implementation will trash the USB1 controller's config when it performs legacy emulation handover of the USB2 part. This time without accidentally leaving the OHCI controller shutdown, and with some cosmetic fixes. ok dlg@, OHCI tests mglocker@
2007-03-04Use CARDBUS_PRODUCT macro to read product id.Marcus Glocker
2007-03-04Kill a cardbus dependency which breaked kernel compilation e.g. forMarcus Glocker
sparc*. OK deraadt
2007-02-26Some KNF.Marcus Glocker
2007-02-26We need to save some PCI infos in our softc struct for further decisionsMarcus Glocker
in the driver code.