summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus
AgeCommit message (Collapse)Author
2010-04-05Initial bits for >=RT3090 support.Damien Bergamini
Probably not functionnal yet (but test reports are welcome). Update microcode for RT2860 while I'm here (remember to run make && make install under sys/dev/microcode/ral/).
2010-04-02Remove parent/slave mode of rbus as nothing uses it.Jonathan Gray
ok kettenis, sgi usage of rbus_new_body() pointed out by miod
2010-03-27replace a bunch of BAR wrangling code with calls to the pciJonathan Gray
code it was originally copied from. ok kettenis@
2010-03-27Give cardbus the pci_chipset_tag_t from pccbb and push it out throughJonathan Gray
cardbus_attach_args so we can switch to using proper pci config space functions instead of callback based wrappers. ok oga@ krw@ kettenis@
2010-03-27Bring back cardbus_chipset_tag_t which is in practice aJonathan Gray
pointer to the pccbb softc, to distinguish it from a pci_chipset_tag_t which can be passed to the normal pci functions. Suggested by and ok kettenis@
2010-03-22Remove some cardbus defines and types which are identical toJonathan Gray
their pci counterparts, similar to recent changes in NetBSD. ok oga@ deraadt@ jasper@
2010-02-02Attach athn(4) to the AR2427 which is a castrated (no 11n) AR928X.Damien Bergamini
The Asus Eee PC 1005P has such a device. This makes things even more confusing since athn now also supports some non-802.11n devices! Please let me know if you have such a device.
2010-01-13As per NetBSD move HAYAKAWA Koichi's licenses to two clause.Jonathan Gray
2010-01-12Remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok grange@ krw@
2009-12-22Revert last commit, I should have checked with damien@ first.Stuart Henderson
2009-12-22Sort pci ids, from Brad.Stuart Henderson
2009-12-21Some cleaning for the rl(4) driver:Christian Weisgerber
- ANSI - KNF - remove the use of register from Brad
2009-12-15- instead of rolling a macro that is functional equivalent to nitems(),Jasper Lievisse Adriaanse
just use nitems(). (this leaves NENTS() alone for now) ok deraadt@ krw@
2009-11-23move things from athn_attach() to athn_init() such that we canDamien Bergamini
power off the cardbus slot after athn_attach() and in athn_stop().
2009-11-14athn(4), a driver for Atheros 802.11a/g/n devices.Damien Bergamini
written from scratch based on the vendor driver for Linux (ath9k). AR9285 and AR9287 parts are 100% untested. only basic functionnalities are enabled for now. committed over an AR9281. "commit" deraadt
2009-10-15Add detach support to a few more drivers, and in others do the neccessaryTheo de Raadt
operations in the detach function in the right order. Also ensure that the interrupt handlers not trust registers that go away. read over very carefully by dms, tested by me
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@