summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus
AgeCommit message (Collapse)Author
2009-08-20- fix varargs after dmesg tweakingMartynas Venckus
- intrline is not a string ok jsg@
2009-08-10More cases of shutdown hooks not needed after card is already stopped. InTheo de Raadt
these cases the xxstop function is a bit more complicated and has a flag of some sort, but the use of that flag does not matter; DMA is already ceased ok dlg
2009-07-30Put the correct value in the I/O BAR for ACX100 cards.Miod Vallat
ok claudio@
2009-07-25Fix Cardbus_conf_{read,write} macros. Not used by anything yet.Miod Vallat
2009-07-23Remove unused code.Mark Kettenis
ok oga@, jsg@, blambert@, zap zap zap deraadt@
2009-07-21Make rbus_new_body() invocable from outside cardbus.c, to allow md codeMiod Vallat
to use it to allocate a ``every operation will fail'' rbus in case of error.
2009-07-21Change the rbus md_space_{map,unmap} signature to take a rbus_tag_t insteadMiod Vallat
of the bus_space_tag_t it contains; an upcoming implementation will need to know the rbus_tag_t for which it works at this point. All callers updated accordingly; no functional change intended.
2009-06-26Add all the cardbus com devices to puc, since these can show up on theTheo de Raadt
pci bus because of the expresscard adaptors... Lacking a better mechanism, also remind people to keep those lists syncronised.
2009-06-26Using information gleamed from the FreeBSD driver, change the MAC addressTheo de Raadt
reading to use the eeprom instead of CIS, and then the Xircom Cardbus cards can work in the expresscard adaptor, as pci devices. ok jsg
2009-06-02make rl at pci detachable; untested.Jonathan Gray
2009-06-02Make fxp at pci detachable; untested.Jonathan Gray
2009-06-02make dc at pci detachable; untested.Jonathan Gray
2009-06-02Fix some minor format string problems found in a maze of false positivesTheo de Raadt
provided by Parfait ok oga
2009-06-02The xl_detach() function is now used by pci code, so it must be in theTheo de Raadt
shared code in case either cardbus or pci varients are not configured.
2009-05-12fix EDIMAX attachment.Damien Bergamini
2009-03-29make various strings ("can't map mem space" and similar) more consistentStuart Henderson
between instances, saving space in the kernel. feedback from many (some incorporated, some left for future work). ok deraadt, kettenis, "why not" miod.
2009-03-11Do more error checking in acx(4).Stefan Sperling
"If it works for you, commit it. The diff looks right." claudio@ "Seems to work here with ACX111 CardBus" jsg@
2009-02-26Fix PR6089, "panic in acx_detach upon card eject".Stefan Sperling
Only call acx_detach() if acx_attach() was successful. ok mglocker@, "hurry up" deraadt@
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