Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fairly simple sizes for free(); ok tedu | 2015-08-28 | 1 | -5/+5 | |
| | |||||
* | Remove some includes include-what-you-use claims don't | 2015-03-14 | 1 | -2/+1 | |
| | | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@ | ||||
* | Merge from NetBSD r1.54 from Matthias Drochner: | 2014-12-18 | 1 | -20/+14 | |
| | | | | | | | | | | | | -- kick out the error-prone handcrafted single-linked list of cardbus functions; replace by a simple *array[8] -- In other words, prevent a use after free when removing a cardbus function. ok deraadt@, miod@ | ||||
* | remove uneeded proc.h includes | 2014-09-14 | 1 | -2/+1 | |
| | | | | ok mpi@ kspillner@ | ||||
* | add a size argument to free. will be used soon, but for now default to 0. | 2014-07-12 | 1 | -5/+5 | |
| | | | | after discussions with beck deraadt kettenis. | ||||
* | Enforce ca_activate tree-walks over the entire heirarchy for all events, | 2013-05-30 | 1 | -3/+2 | |
| | | | | | | cleaning up some shutdown-hook related code on the way. (A few drivers related to sparc are still skipped at kettenis' request) ok kettenis mlarkin, tested by many others too | ||||
* | Make CardBus ral(4) suspend and resume properly on machines that keep the | 2010-08-25 | 1 | -2/+3 | |
| | | | | | | | CardBus bridge powered up during suspend. Step zero on the long road towards fully suspending CardBus on all machines. ok deraadt@, damien@ | ||||
* | Give cardbus the pci_chipset_tag_t from pccbb and push it out through | 2010-03-27 | 1 | -80/+40 | |
| | | | | | | | cardbus_attach_args so we can switch to using proper pci config space functions instead of callback based wrappers. ok oga@ krw@ kettenis@ | ||||
* | Bring back cardbus_chipset_tag_t which is in practice a | 2010-03-27 | 1 | -10/+10 | |
| | | | | | | | 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@ | ||||
* | Remove some cardbus defines and types which are identical to | 2010-03-22 | 1 | -65/+65 | |
| | | | | | | their pci counterparts, similar to recent changes in NetBSD. ok oga@ deraadt@ jasper@ | ||||
* | As per NetBSD move HAYAKAWA Koichi's licenses to two clause. | 2010-01-13 | 1 | -6/+1 | |
| | |||||
* | - instead of rolling a macro that is functional equivalent to nitems(), | 2009-12-15 | 1 | -3/+2 | |
| | | | | | | just use nitems(). (this leaves NENTS() alone for now) ok deraadt@ krw@ | ||||
* | make various strings ("can't map mem space" and similar) more consistent | 2009-03-29 | 1 | -2/+2 | |
| | | | | | | | between instances, saving space in the kernel. feedback from many (some incorporated, some left for future work). ok deraadt, kettenis, "why not" miod. | ||||
* | Stop cardbusprint() from printing the CIS data so that CardBus dmesg | 2008-02-25 | 1 | -21/+3 | |
| | | | | | | | entries look more like a PCI device as they're just another variant of PCI and this looks much nicer. ok deraadt@ kettenis@ mglocker@ | ||||
* | fix CARDBUS_DEBUG | 2007-09-19 | 1 | -2/+2 | |
| | | | | noted by Markus Hennecke | ||||
* | Add a missing prototype in the non-static case. | 2007-09-19 | 1 | -3/+4 | |
| | |||||
* | Un-staticize if option DDB. | 2007-09-17 | 1 | -18/+22 | |
| | |||||
* | Add a symbolic name parameter to cardbus_intr_establish(). | 2006-10-12 | 1 | -4/+5 | |
| | | | | | | Count cardbus devices interrupts in cbb(4) using evcount(9). ok deraadt@ | ||||
* | removal of '#ifdef rbus ... #else ...' directives, we use rbus in all | 2006-06-21 | 1 | -8/+1 | |
| | | | | | | | | cases anyways, so we might as well remove code (the !rbus case) thats been dead throughout the last years and just use the rbus code without ifdefs. brad, miod "I am all for this diff" ok deraadt, mickey | ||||
* | o do not break after first iteration but when we found a match. | 2005-12-07 | 1 | -3/+3 | |
| | | | | | | | o try to read the whole cis (but not more than len bytes) instead of the first 256 bytes. first one spotted by lint. mickey@, krw@ and deraadt@ ok. | ||||
* | minor knf | 2005-09-26 | 1 | -21/+16 | |
| | |||||
* | some missing cleanup from the previous commit. | 2005-09-13 | 1 | -9/+8 | |
| | |||||
* | knf; no binary change. | 2005-09-13 | 1 | -5/+3 | |
| | |||||
* | make compile; good | 2005-09-13 | 1 | -2/+2 | |
| | |||||
* | Do not leak memory if cardbus_read_exrom() fails; ok fgs@ | 2005-09-12 | 1 | -2/+2 | |
| | |||||
* | better cis string parsing. from drochner@netbsd.org; tested by jmc@. | 2005-09-12 | 1 | -4/+5 | |
| | |||||
* | knf. no binary change. | 2005-09-09 | 1 | -668/+611 | |
| | |||||
* | correct manfid length check. | 2005-09-05 | 1 | -2/+2 | |
| | |||||
* | don't go beyond the end when parsing tuples. diff originally by pascoe@, | 2005-08-22 | 1 | -10/+21 | |
| | | | | | | final from enami@netbsd.org. problem found and tested by Simon Kuhnle <simonkuhnle at web dot de> with a rtw card with a broken cis. jsg@ pascoe@ deraadt@ ok. | ||||
* | on debug, print the tuple number along with the name to help debugging in | 2005-08-18 | 1 | -3/+3 | |
| | | | | case of reserved tuples and pad to 0 the byte number. deraadt@ ok. | ||||
* | kill 2kB stack offender in cardbus_attach_card. | 2005-08-02 | 1 | -3/+9 | |
| | | | | ok deraadt fgsch | ||||
* | Don't display vid/pid from CIS if vid is 0. | 2005-05-28 | 1 | -11/+6 | |
| | | | | | Makes more sense than displaying the PCI values which is already covered by the PCI code. | ||||
* | Don't use vid/pid from the CIS if vid is 0 when reporting unmatched | 2005-05-28 | 1 | -3/+10 | |
| | | | | | devices. Several devices have been known to have this behaviour. ok deraadt@ | ||||
* | print the screwed ofs in the panic msg | 2005-05-27 | 1 | -2/+2 | |
| | |||||
* | PCI_{VENDOR,PRODUCT} -> CARDBUS_{VENDOR,PRODUCT} for correctness. | 2005-05-09 | 1 | -3/+3 | |
| | | | | no functional change. | ||||
* | add cardbus_matchbyid(), mimics the PCI layers pci_matchbyid(). | 2005-05-09 | 1 | -1/+14 | |
| | |||||
* | cardbusdevs -> pcidevs | 2004-10-07 | 1 | -3/+3 | |
| | | | | From NetBSD | ||||
* | - Record handles for memory and IO space | 2004-09-18 | 1 | -6/+13 | |
| | | | | | | - If the CIS pointer is all-0s, don't try to read the CIS. From NetBSD | ||||
* | - Initialise all function's latency timer and cacheline size. | 2004-08-02 | 1 | -10/+24 | |
| | | | | | | | | - Fix grammar in error message. From NetBSD ok deraadt@ | ||||
* | - Unmap space used to read tuple | 2004-07-15 | 1 | -10/+6 | |
| | | | | | | | | - No need to zero clear temporary storage twice From NetBSD ok deraadt@ | ||||
* | If there is no CIS info the cardbus attach would print an extra | 2004-06-22 | 1 | -2/+3 | |
| | | | | double quote; now it doesn't. OK openbsd!beck | ||||
* | Remove useless ``elm'' argument from the SIMPLEQ_REMOVE_HEAD macro. | 2004-05-04 | 1 | -2/+2 | |
| | | | | | | This matches our SLIST behaviour and NetBSD's SIMPLEQ as well. ok millert krw deraadt | ||||
* | print cis information on configured cards as pcmcia(4) does; mentioned by | 2004-01-26 | 1 | -1/+8 | |
| | | | | | Ed White <ed at overminder dot com>. deraadt@ ok. | ||||
* | typos from Tom Cosgrove; | 2003-10-21 | 1 | -2/+2 | |
| | |||||
* | strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit. | 2003-04-27 | 1 | -2/+2 | |
| | |||||
* | Final __P removal plus some cosmetic fixups | 2002-03-14 | 1 | -4/+4 | |
| | |||||
* | First round of __P removal in sys | 2002-03-14 | 1 | -16/+16 | |
| | |||||
* | Add the bus to the cardbus_attach_args | 2002-01-03 | 1 | -1/+2 | |
| | | | | From NetBSD | ||||
* | cold is in systm now | 2001-06-24 | 1 | -3/+1 | |
| | |||||
* | Cardbus serial infrastructure | 2000-05-15 | 1 | -3/+11 | |
| |