Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/if_ntwoc_pci.c
RevisionDateAuthorComments
 1.33  01-Aug-2023  andvar s/diable/disable/ in comments.
 1.32  24-May-2022  andvar fix various typos in comments, docs and log messages.
 1.31  09-Dec-2018  jdolecek use pci_intr_establish_xname() everywhere
 1.30  14-Jul-2016  msaitoh branches: 1.30.16; 1.30.18;
- Use aprint*() more in xxx_attach().
- Add missing aprint_naive("\n").
- Remove extra spaces and tabs.
- KNF.
 1.29  29-Mar-2014  christos branches: 1.29.6;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.28  27-Oct-2012  chs branches: 1.28.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.27  26-Jul-2011  dyoung branches: 1.27.2; 1.27.12;
Replace anonymous constants, 0x10, 0x14, ..., with PCI_BAR(0),
PCI_BAR(1), .... There was no change in the generated assembly. I used
this semantic patch:

@ mapsit @
identifier bar;
expression pact;
@@

(
pci_mapreg_map
|
Cardbus_mapreg_map
)(pact, bar, ...)

@ depends on mapsit @
identifier mapsit.bar;
@@
(
- #define bar 0x10
+ #define bar PCI_BAR(0)
|
- #define bar 0x14
+ #define bar PCI_BAR(1)
|
- #define bar 0x18
+ #define bar PCI_BAR(2)
|
- #define bar 0x1C
+ #define bar PCI_BAR(3)
|
- #define bar 0x20
+ #define bar PCI_BAR(4)
)
 1.26  26-Nov-2009  njoly Cleanup interrupt establish error messages. Do not mix
aprint_error/aprint_normal/printf calls for a single line.
 1.25  12-May-2009  cegger use device_private().
"looks good" ad@
XXX for the device_t/softc split, please check the driver that no cases have been missed.
 1.24  06-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.23  06-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.22  14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.21  10-Apr-2008  cegger branches: 1.21.4; 1.21.12; 1.21.18;
use aprint_*_dev and device_xname
 1.20  19-Oct-2007  ad branches: 1.20.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.19  16-Nov-2006  christos branches: 1.19.8; 1.19.22; 1.19.24; 1.19.28;
__unused removal on arguments; approved by core.
 1.18  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.17  29-Mar-2006  thorpej branches: 1.17.8; 1.17.10;
Use device_cfdata().
 1.16  11-Dec-2005  christos branches: 1.16.4; 1.16.6; 1.16.8; 1.16.10; 1.16.12;
merge ktrace-lwp.
 1.15  30-May-2005  christos branches: 1.15.2;
- const poisoning
- avoid variable shadowing.
 1.14  04-Feb-2005  perry de-__P
 1.13  02-Nov-2003  wiz branches: 1.13.8; 1.13.10;
boundary, not boundry. Inspired by Tom Cosgrove.
 1.12  03-May-2003  wiz branches: 1.12.2;
DMA, not dma nor Dma.
 1.11  20-Jan-2003  simonb The Double-Semi-Colon Police.
 1.10  06-Jan-2003  wiz interrupt with two rs.
 1.9  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.8  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.7  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.6  13-Nov-2001  lukem add RCSID
 1.5  14-Aug-2001  mrg add (u_long) casts for sparc64.
 1.4  28-Dec-2000  sommerfeld branches: 1.4.2; 1.4.4;
Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q
 1.3  04-Jan-2000  chopps Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.
 1.2  15-Feb-1999  hubertf branches: 1.2.8;
RCS ID police
 1.1  26-Jul-1998  explorer add ntwo* at pci? function ?, a T1 network driver.
 1.2.8.2  05-Jan-2001  bouyer Sync with HEAD
 1.2.8.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.4.4.3  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.4.4.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.4.1  25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.4.2.4  07-Jan-2003  thorpej Sync with HEAD.
 1.4.2.3  18-Oct-2002  nathanw Catch up to -current.
 1.4.2.2  14-Nov-2001  nathanw Catch up to -current.
 1.4.2.1  24-Aug-2001  nathanw Catch up with -current.
 1.12.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.12.2.4  04-Feb-2005  skrll Sync with HEAD.
 1.12.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.12.2.1  03-Aug-2004  skrll Sync with HEAD
 1.13.10.1  12-Feb-2005  yamt sync with head.
 1.13.8.1  29-Apr-2005  kent sync with -current
 1.15.2.3  27-Oct-2007  yamt sync with head.
 1.15.2.2  30-Dec-2006  yamt sync with head.
 1.15.2.1  21-Jun-2006  yamt sync with head.
 1.16.12.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.16.10.1  19-Apr-2006  elad sync with head.
 1.16.8.1  01-Apr-2006  yamt sync with head.
 1.16.6.1  22-Apr-2006  simonb Sync with head.
 1.16.4.1  09-Sep-2006  rpaulo sync with head
 1.17.10.2  10-Dec-2006  yamt sync with head.
 1.17.10.1  22-Oct-2006  yamt sync with head
 1.17.8.1  18-Nov-2006  ad Sync with head.
 1.19.28.1  25-Oct-2007  bouyer Sync with HEAD.
 1.19.24.1  06-Nov-2007  matt sync with HEAD
 1.19.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.19.8.1  23-Oct-2007  ad Sync with head.
 1.20.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.21.18.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.21.12.1  28-Apr-2009  skrll Sync with HEAD.
 1.21.4.3  11-Mar-2010  yamt sync with head
 1.21.4.2  16-May-2009  yamt sync with head
 1.21.4.1  04-May-2009  yamt sync with head.
 1.27.12.3  03-Dec-2017  jdolecek update from HEAD
 1.27.12.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.27.12.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.27.2.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.27.2.1  30-Oct-2012  yamt sync with head
 1.28.2.1  18-May-2014  rmind sync with head
 1.29.6.1  05-Oct-2016  skrll Sync with HEAD
 1.30.18.1  10-Jun-2019  christos Sync with HEAD
 1.30.16.1  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts

RSS XML Feed