#
7759d443 |
| 01-Aug-2011 |
drochner <drochner@NetBSD.org> |
remove some bloat: -cardbus doesn't use multiple interrupt lines like PCI, and it doesn't use machanisms like interrupt line register and swizzling -- no need to carry around dummy information, thi
remove some bloat: -cardbus doesn't use multiple interrupt lines like PCI, and it doesn't use machanisms like interrupt line register and swizzling -- no need to carry around dummy information, this is all dealt with by the bridge (I'm asking myself how "rbus_ppb" can work -- a bridge attached to cardbus just can't work like a normal PCI bridge as far as interrupts are concerned. I thing that should be a hardware specific driver because behavior is not covered by a standard.) -cardbus always uses 3.3V -- no need for a variable to keep track of the voltage
show more ...
|
#
78d2e328 |
| 21-Feb-2011 |
itohy <itohy@NetBSD.org> |
Cleanup my copyright notice.
|
#
62405260 |
| 11-Mar-2010 |
dyoung <dyoung@NetBSD.org> |
Simplify interrupt (dis)establishment by two source transformations:
- cardbus_intr_disestablish(cc, cf, ih); + Cardbus_intr_disestablish(ct, ih);
- ih = cardbus_intr_establish(cc
Simplify interrupt (dis)establishment by two source transformations:
- cardbus_intr_disestablish(cc, cf, ih); + Cardbus_intr_disestablish(ct, ih);
- ih = cardbus_intr_establish(cc, cf, ...); + ih = Cardbus_intr_establish(ct, ...);
Tested by ITOH Yasufumi. Results: njs(4) works, njata(4) hangs. njata(4) also hangs in 5.0.1 and in 5.99.24 prior to this patch, so there is no regression.
show more ...
|
#
508883c1 |
| 26-Feb-2010 |
dyoung <dyoung@NetBSD.org> |
Use PCI_ constants and macros instead of CARDBUS_. Use Cardbus_conf_{read,write}() instead of cardbus_conf_{read,write}(). Delete all of the CARDBUS_ constants and macros that replicate PCI_.
Compi
Use PCI_ constants and macros instead of CARDBUS_. Use Cardbus_conf_{read,write}() instead of cardbus_conf_{read,write}(). Delete all of the CARDBUS_ constants and macros that replicate PCI_.
Compile-tested, only.
show more ...
|
#
fde907f4 |
| 25-Feb-2010 |
dyoung <dyoung@NetBSD.org> |
Make fxp at cardbus detach during shutdown.
Stop calling (*cardbus_ctrl) to enable bus mastering, I/O and memory spaces on the CardBus bridge. cbb(4) always enables that stuff, anyway. In the proc
Make fxp at cardbus detach during shutdown.
Stop calling (*cardbus_ctrl) to enable bus mastering, I/O and memory spaces on the CardBus bridge. cbb(4) always enables that stuff, anyway. In the process, avoid remembering what BAR we mapped by writing CARDBUS_{IO,MEM}_ENABLE to sc_cben or sc_cbenable, and record the BAR in use sc_bar, instead.
Replace more CARDBUS_ constants with PCI_ constants.
Compile-tested, only.
show more ...
|
#
74013c93 |
| 25-Feb-2010 |
dyoung <dyoung@NetBSD.org> |
Phase out some CardBus constants and types. Use the equivalent PCI constants and types, instead:
CARDBUS_CLASS_REG -> PCI_CLASS_REG CARDBUS_ID_REG -> PCI_ID_REG cardbus_prod
Phase out some CardBus constants and types. Use the equivalent PCI constants and types, instead:
CARDBUS_CLASS_REG -> PCI_CLASS_REG CARDBUS_ID_REG -> PCI_ID_REG cardbus_product_id_t -> pci_product_id_t cardbus_vendor_id_t -> pci_vendor_id_t
show more ...
|
#
8089c2dc |
| 24-Feb-2010 |
dyoung <dyoung@NetBSD.org> |
Start to tuck Cardbus under the PCI abstraction. Step #1, textual substitution: for all practical purposes, pcitag_t and cardbustag_t are interchangeable, so just use pcitag_t. Ditto pcireg_t and c
Start to tuck Cardbus under the PCI abstraction. Step #1, textual substitution: for all practical purposes, pcitag_t and cardbustag_t are interchangeable, so just use pcitag_t. Ditto pcireg_t and cardbusreg_t.
While I'm here, don't make a copy (sc_intrline) of cardbus_attach_args.ca_intrline unless we use it, later.
show more ...
|
#
529e91fc |
| 12-May-2009 |
cegger <cegger@NetBSD.org> |
struct device * -> device_t, no functional changes intended.
|
#
36b6bc74 |
| 24-Jun-2008 |
drochner <drochner@NetBSD.org> |
clean up the cardbus interrupt stuff: There were cardbus_intr_line_t and cardbus_intr_handle_t used intermixed for the same variable, and that variable is pretty much useless because cardbus doesn't
clean up the cardbus interrupt stuff: There were cardbus_intr_line_t and cardbus_intr_handle_t used intermixed for the same variable, and that variable is pretty much useless because cardbus doesn't follow the PCI interrupt swizzling etc scheme. Useless interrupt numbers were printed on cardbus device attach. So as a first step to sanity, kill cardbus_intr_handle_t and poison cardbus_intr_line_t to discourage printing it as a %d. Use cardbus_intr_line_t consistently throughout the code. Remove the "interrupting at foo" messages because the information is misleading. We could come up with a better interrupt vector information, but because cardbus interrupts are mediated by pccbb it would still be misleading.
show more ...
|
#
7aa6248c |
| 18-Mar-2008 |
cube <cube@NetBSD.org> |
Split device_t and softc for ATA devices, as well as wd(4). Other cosmetic changes where appropriate.
|
#
a2a38285 |
| 19-Oct-2007 |
ad <ad@NetBSD.org> |
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
#
8ec4e717 |
| 31-Dec-2006 |
ichiro <ichiro@NetBSD.org> |
add entry CF32A CF Adapter (BUFFALO RCF-CBA2)
|
#
168cd830 |
| 16-Nov-2006 |
christos <christos@NetBSD.org> |
__unused removal on arguments; approved by core.
|
#
4d595fd7 |
| 12-Oct-2006 |
christos <christos@NetBSD.org> |
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
#
cb2fb285 |
| 07-Sep-2006 |
itohy <itohy@NetBSD.org> |
Workbit NinjaATA-32 busmastering PIO IDE controller driver (njata)
This driver supports NinjaATA-32Bi and NPATA-32 chips, which are used for CardBus ATA interface cards and CardBus CompactFlash adap
Workbit NinjaATA-32 busmastering PIO IDE controller driver (njata)
This driver supports NinjaATA-32Bi and NPATA-32 chips, which are used for CardBus ATA interface cards and CardBus CompactFlash adapters.
show more ...
|