Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/if_ne_pci.c
RevisionDateAuthorComments
 1.40  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.39  09-Dec-2018  jdolecek use pci_intr_establish_xname() everywhere
 1.38  15-Jul-2018  maxv Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos
 1.37  29-Mar-2014  christos branches: 1.37.28; 1.37.30;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.36  26-Jul-2011  dyoung branches: 1.36.2; 1.36.12; 1.36.16;
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.35  17-May-2011  dyoung PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functional
role in NetBSD (drivers are no longer supposed to write these to
pa_flags) without changing name. Correct that.

Rename PCI_FLAGS_IO_ENABLED to PCI_FLAGS_IO_OKAY and
PCI_FLAGS_MEM_ENABLED to PCI_FLAGS_MEM_OKAY, thus making their names
consistent with the other PCI flags and poisoning 3rd-party driver
sources that use the flags in the old bad way.

This patch produces no binary changes in this set of PCI kernels when
they are compiled w/o 'options DIAGNOSTIC' and w/ -V MKREPRO=yes:

algor P4032 P5064 P6032
alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE
evbarm-el GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321
evbarm-el IXDP425 IXM1200 KUROBOX_PRO
evbarm-el LUBBOCK MARVELL_NAS NAPPI NSLU2 SHEEVAPLUG SMDK2800 TEAMASA_NPWR
evbarm-el TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
evbppc OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
iyonix GENERIC
landisk GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sbmips-el GENERIC
sgimips GENERIC32_IP2x GENERIC32_IP3x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC
 1.34  06-May-2009  cegger branches: 1.34.4; 1.34.6;
struct device * -> device_t, no functional changes intended.
 1.33  06-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.32  28-Apr-2008  martin branches: 1.32.14;
Remove clause 3 and 4 from TNF licenses
 1.31  12-Mar-2008  cube branches: 1.31.2; 1.31.4;
Split device_t and softc for the NE2000 Ethernet chip and all its variants
and attachments. Use device_t accessors, correct types, and ANSIfy when
appropriate.
 1.30  19-Oct-2007  ad branches: 1.30.12; 1.30.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.29  16-Nov-2006  christos branches: 1.29.8; 1.29.22; 1.29.24; 1.29.28;
__unused removal on arguments; approved by core.
 1.28  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.27  11-Dec-2005  christos branches: 1.27.20; 1.27.22;
merge ktrace-lwp.
 1.26  21-Aug-2004  thorpej branches: 1.26.12;
Use ANSI function decls and make use of static.
 1.25  13-Feb-2004  wiz RealTek -> Realtek.
 1.24  02-Oct-2002  thorpej branches: 1.24.6;
Add trailing ; to CFATTACH_DECL.
 1.23  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.22  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.21  13-Nov-2001  lukem add RCSID
 1.20  08-Jul-2001  thorpej branches: 1.20.2;
Remove unnecessary include files. From Onno van der Linden.
 1.19  12-Jun-2001  thorpej Don't need INET or NS includes here.
 1.18  12-Feb-2001  thorpej branches: 1.18.2;
Adjust the way that media is initialized on DP8390-compatible
chips. The dp8390_softc now has media_init and media_fini
function pointers that do the work.
 1.17  28-Dec-2000  sommerfeld 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.16  22-Mar-2000  ws Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.
 1.15  06-Mar-2000  mark Support the W89C940F alternative ID.
 1.14  09-Nov-1998  thorpej branches: 1.14.10;
Const poisoning.
 1.13  31-Oct-1998  thorpej Use the rtl80x9 common code for media selection.
 1.12  31-Oct-1998  thorpej Move the RTL8029 register definitions to <dev/ic/rtl80x9reg.h>, and add
the registers/bits present in the RTL8019 (ISA version).
 1.11  28-Oct-1998  thorpej Add support for media selection to the PCI front-end of the NE2000
driver. Currently supports:

RealTek 8029: 10base2, 10baseT, 10baseT-FDX, auto detect (but not FDX).
 1.10  27-Oct-1998  thorpej Add register definitions for PCI NE2000-compatible extenstions, allowing
control over e.g. full-duplex mode, media, etc.

Currently, only extensions for the RealTek 8029 are defined.
 1.9  27-Oct-1998  thorpej Cosmetic changes in product lookup, to match other drivers.
 1.8  05-Jul-1998  jonathan defopt INET, NETATALK.
 1.7  08-Jun-1998  thorpej Nuke __BROKEN_INDIRECT_CONFIG.
 1.6  05-May-1998  thorpej Add 5 more NE-2000 compatible PCI Ethernet interfaces. XXX Note that some
of these may need revision in pcidevs.
 1.5  10-Apr-1998  thorpej Add support for the VIA Technologies VT86C926, from Kazuki Sakamoto,
PR #5256.
 1.4  27-Oct-1997  thorpej Oops, missed one in previous.
 1.3  27-Oct-1997  thorpej Update for new pcidevs entry for Winbond NE2000-compatible Ethernet ASIC.
 1.2  14-Oct-1997  thorpej branches: 1.2.2;
Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.
 1.1  14-Oct-1997  thorpej branches: 1.1.2;
file if_ne_pci.c was initially added on branch marc-pcmcia.
 1.1.2.2  14-Oct-1997  thorpej Mark this interface as enabled right from the get-go.
 1.1.2.1  14-Oct-1997  thorpej Split off NE2000 support from the ISA "ed" driver, and create a new "ne"
driver that deals with NE2000s and compatibles on ISA, PCI, and PCMCIA
busses.

This driver uses the generic DP8390 core chipset back-end.
 1.2.2.1  27-Oct-1997  thorpej Update from trunk: Update for new Winbond NE2000-compatible Ethernet ASIC
description.
 1.14.10.3  12-Mar-2001  bouyer Sync with HEAD.
 1.14.10.2  05-Jan-2001  bouyer Sync with HEAD
 1.14.10.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.18.2.4  18-Oct-2002  nathanw Catch up to -current.
 1.18.2.3  14-Nov-2001  nathanw Catch up to -current.
 1.18.2.2  24-Aug-2001  nathanw Catch up with -current.
 1.18.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.20.2.2  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.20.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.24.6.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.24.6.3  18-Sep-2004  skrll Sync with HEAD.
 1.24.6.2  25-Aug-2004  skrll Sync with HEAD.
 1.24.6.1  03-Aug-2004  skrll Sync with HEAD
 1.26.12.3  17-Mar-2008  yamt sync with head.
 1.26.12.2  27-Oct-2007  yamt sync with head.
 1.26.12.1  30-Dec-2006  yamt sync with head.
 1.27.22.2  10-Dec-2006  yamt sync with head.
 1.27.22.1  22-Oct-2006  yamt sync with head
 1.27.20.1  18-Nov-2006  ad Sync with head.
 1.29.28.1  25-Oct-2007  bouyer Sync with HEAD.
 1.29.24.2  23-Mar-2008  matt sync with HEAD
 1.29.24.1  06-Nov-2007  matt sync with HEAD
 1.29.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.29.8.1  23-Oct-2007  ad Sync with head.
 1.30.16.2  02-Jun-2008  mjf Sync with HEAD.
 1.30.16.1  03-Apr-2008  mjf Sync with HEAD.
 1.30.12.1  24-Mar-2008  keiichi sync with head.
 1.31.4.2  16-May-2009  yamt sync with head
 1.31.4.1  16-May-2008  yamt sync with head.
 1.31.2.1  18-May-2008  yamt sync with head.
 1.32.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.34.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.34.4.1  31-May-2011  rmind sync with head
 1.36.16.1  18-May-2014  rmind sync with head
 1.36.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.36.2.1  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.37.30.1  10-Jun-2019  christos Sync with HEAD
 1.37.28.2  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.37.28.1  28-Jul-2018  pgoyette Sync with HEAD

RSS XML Feed