| History log of /src/sys/dev/cardbus/njs_cardbus.c |
| Revision | | Date | Author | Comments |
| 1.18 |
| 11-Jul-2016 |
msaitoh | KNF. No functional change.
|
| 1.17 |
| 01-Aug-2011 |
drochner | branches: 1.17.12; 1.17.30; 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
|
| 1.16 |
| 11-Mar-2010 |
dyoung | 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.
|
| 1.15 |
| 26-Feb-2010 |
dyoung | 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.
|
| 1.14 |
| 25-Feb-2010 |
dyoung | 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.
|
| 1.13 |
| 25-Feb-2010 |
dyoung | 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
|
| 1.12 |
| 24-Feb-2010 |
dyoung | 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.
|
| 1.11 |
| 12-May-2009 |
cegger | branches: 1.11.2; struct device * -> device_t, no functional changes intended.
|
| 1.10 |
| 09-Jul-2008 |
joerg | branches: 1.10.8; - device/softc split
|
| 1.9 |
| 24-Jun-2008 |
drochner | branches: 1.9.2; 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.
|
| 1.8 |
| 28-Apr-2008 |
martin | branches: 1.8.2; 1.8.4; Remove clause 3 and 4 from TNF licenses
|
| 1.7 |
| 06-Apr-2008 |
cegger | branches: 1.7.2; 1.7.4; use aprint_*_dev and device_xname
|
| 1.6 |
| 19-Oct-2007 |
ad | branches: 1.6.16; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
| 1.5 |
| 16-Nov-2006 |
christos | branches: 1.5.8; 1.5.22; 1.5.24; 1.5.28; __unused removal on arguments; approved by core.
|
| 1.4 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
| 1.3 |
| 11-Dec-2005 |
christos | branches: 1.3.20; 1.3.22; merge ktrace-lwp.
|
| 1.2 |
| 26-Aug-2004 |
thorpej | branches: 1.2.2; 1.2.4; 1.2.6; 1.2.18; Use ANSI function decls, more static.
|
| 1.1 |
| 26-Aug-2004 |
itohy | Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)
|
| 1.2.18.2 |
| 27-Oct-2007 |
yamt | sync with head.
|
| 1.2.18.1 |
| 30-Dec-2006 |
yamt | sync with head.
|
| 1.2.6.2 |
| 11-Nov-2004 |
he | Pull up revisions 1.1-1.2 (new, via patch, requested by itohy in ticket #1741): Add support for the Workbit NinjaSCSI-32 PCI/Cardbus SCSI driver, njs(4).
|
| 1.2.6.1 |
| 26-Aug-2004 |
he | file njs_cardbus.c was added on branch netbsd-1-6 on 2004-11-11 23:17:29 +0000
|
| 1.2.4.4 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.2.4.3 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.2.4.2 |
| 03-Sep-2004 |
skrll | Sync with HEAD
|
| 1.2.4.1 |
| 26-Aug-2004 |
skrll | file njs_cardbus.c was added on branch ktrace-lwp on 2004-09-03 12:45:17 +0000
|
| 1.2.2.4 |
| 30-Aug-2004 |
tron | Apply patch (requested by itohy in ticket #800): Undo the unification of pcidevs and cardbusdevs done in NetBSD-current.
|
| 1.2.2.3 |
| 30-Aug-2004 |
tron | Pull up revision 1.2 (requested by itohy in ticket #800): Use ANSI function decls, more static.
|
| 1.2.2.2 |
| 30-Aug-2004 |
tron | Pull up revision 1.1 (requested by itohy in ticket #800): Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)
|
| 1.2.2.1 |
| 26-Aug-2004 |
tron | file njs_cardbus.c was added on branch netbsd-2-0 on 2004-08-30 09:24:58 +0000
|
| 1.3.22.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
| 1.3.22.1 |
| 22-Oct-2006 |
yamt | sync with head
|
| 1.3.20.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
| 1.5.28.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
| 1.5.24.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
| 1.5.22.1 |
| 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
| 1.5.8.1 |
| 23-Oct-2007 |
ad | Sync with head.
|
| 1.6.16.3 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
| 1.6.16.2 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.6.16.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.7.4.5 |
| 11-Aug-2010 |
yamt | sync with head.
|
| 1.7.4.4 |
| 11-Mar-2010 |
yamt | sync with head
|
| 1.7.4.3 |
| 16-May-2009 |
yamt | sync with head
|
| 1.7.4.2 |
| 04-May-2009 |
yamt | sync with head.
|
| 1.7.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
| 1.7.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
| 1.8.4.2 |
| 18-Jul-2008 |
simonb | Sync with head.
|
| 1.8.4.1 |
| 27-Jun-2008 |
simonb | Sync with head.
|
| 1.8.2.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.9.2.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
| 1.10.8.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.11.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
| 1.17.30.1 |
| 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.17.12.1 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|