Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/if_fxp_pci.c
RevisionDateAuthorComments
 1.87  24-Sep-2022  thorpej Remove unnecessary include of <sys/malloc.h>.
 1.86  08-May-2021  thorpej Use pci_compatible_match().
 1.85  23-Jan-2019  msaitoh branches: 1.85.16;
Nowadays some UEFI BIOSes don't enable some PCI devices' address decoding.
To resolve this problem, pci_map.c rev. 1.34-1.36 changed the
pci_mapreg_(sub)map()'s to set the decode bit if it's not set. It's good for
almost all drivers, but some other drivers don't use pci_mapreg_map().
In drivers which don't use pci_mapreg_map(), some of them expilicitly enable
decoding but others don't. Add code to enable decoding to them.

See also the following discussion:
http://mail-index.netbsd.org/tech-kern/2017/03/22/msg021678.html
 1.84  23-Jan-2019  msaitoh KNF. No functional change.
 1.83  09-Dec-2018  jdolecek use pci_intr_establish_xname() everywhere
 1.82  13-Apr-2015  riastradh branches: 1.82.10; 1.82.16; 1.82.18;
Convert sys/dev to use <sys/rndsource.h>.
 1.81  29-Mar-2014  christos branches: 1.81.6;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.80  30-Mar-2013  christos branches: 1.80.4;
remove trailing whitespace
 1.79  02-Feb-2012  tls branches: 1.79.6;
Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
avoid expensive operations on disabled entropy sources; make the
rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
system events, and skew between clocks, with a sample implementation
for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files). Tested with release
builds on amd64 and evbarm and live testing on amd64.
 1.78  30-Jan-2012  drochner Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.
 1.77  05-Sep-2011  msaitoh branches: 1.77.2; 1.77.6;
Change 0x1229's product name from 82557 to 8255x.
82550, 82551, 82558 and 82559 share the same product id.
This change makes "pcictl dump" happy.
 1.76  02-Sep-2011  msaitoh Add support for some fxp devices from FreeBSD and OpenBSD.
{Free,Open}BSD say that we have to do some work to make fxp
stable.
 1.75  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.74  22-Mar-2010  dyoung branches: 1.74.2;
Add a detach routine. Enable detachment at shutdown.

psc_pwrmgmt_csr_reg was never initialized to the actual offset of the
PCI PMCSR! Just delete psc_pwrmgmt_csr_reg and all uses of it. In
this way, fxp_pci_disable() becomes a no-op, so delete it, too.
 1.73  24-Feb-2010  dyoung branches: 1.73.2;
A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.
 1.72  08-Jan-2010  dyoung branches: 1.72.2;
Expand PMF_FN_* macros.
 1.71  26-Nov-2009  njoly Cleanup interrupt establish error messages. Do not mix
aprint_error/aprint_normal/printf calls for a single line.
 1.70  05-Sep-2009  tsutsui Invert logic around nested pmf(9) registrations for readability.

XXX: should these pmf(9) calls be moved into MI attach functions
XXX: using function pointers for suspend and resume passed via softc?
 1.69  17-Apr-2009  tsutsui Check revisions and print names of i82551/i82551ER, per Intel manual.
 1.68  16-Apr-2009  tsutsui There is a report that 82559ER doesn't have RX hardware checksum support
(even though it has a newer revision number than 82559_A0),
so handle it separately per its own PCI device ID.
 1.67  19-Mar-2009  tsutsui Add braces missed on RX hardware cksum support.
Fixes RX failure on 82557/82558.
 1.66  11-Mar-2009  tsutsui u_intNN_t -> uintNN_t
 1.65  07-Mar-2009  tsutsui Add TCPv4/UDPv4 RX hardware checksum support for i82559 and later chips
which don't have EXT_RFA and IPCB support. From hme(4) driver and
FreeBSD's fxp(4). Tested on i82559.

XXX: Probably we should have a common function to parse RX packet headers
XXX: to handle a raw checksum value and share it among hme(4) and gem(4) etc.
 1.64  06-Mar-2009  tsutsui The Intel manual says that ICH and 82562 chips are compatible with 82559,
not 82550, so don't set FXPF_EXT_RFA (available only on 82550/82551)
for those variants.

Tested on Intel PRO/100 VM with 82562EM/EX PHY by ISHII Kimio
on current-users, and should also fix PR kern/40431.
 1.63  03-Mar-2009  mrg enable FXPF_EXT_RFA the same way the cardbus frontend does.
 1.62  20-Feb-2009  mrg - remove FXPF_IPCB flag. it should always/only be used with the code
conditional on FXPF_EXT_TXCB, so, replace all uses with that
- for the pci frontend, reestablish some flags lost the the prior
changes and simplify one of the cases

this fixes PR 40677 and may fix PR 40431.
 1.61  18-Jan-2009  mrg branches: 1.61.2;
The PCI revision numbers are unique to a PCI vendor/product
ID pair. Misuse of the revision numbers was causing some of the chip
features to be disabled on some integrated Intel chips. So, move the
determination of the features into the bus frontend, where the
vendor/product ID is known. (Note: sc_rev should be removed. The
microcode patch stuff is also busted and needs to be fixed.) Also,
poll the actual flow control status in inphy, rather than making
assumptions.

contributed anonymously.
 1.60  09-Jul-2008  joerg branches: 1.60.2;
- device/softc split for fxp(4)
 1.59  28-Apr-2008  martin branches: 1.59.2; 1.59.4; 1.59.6;
Remove clause 3 and 4 from TNF licenses
 1.58  10-Apr-2008  cegger branches: 1.58.2; 1.58.4;
use aprint_*_dev and device_xname
 1.57  21-Mar-2008  dyoung pci_activate() expects for its void * argument to be a device_t,
so change the type of the argument to device_t. Update each use
of pci_activate().

Use device_t and accessors. Use aprint_*_dev().
 1.56  29-Feb-2008  dyoung Use PMF_FN_ARGS, PMF_FN_PROTO.
 1.55  24-Dec-2007  hamajima branches: 1.55.2; 1.55.6;
Match on board ethernet controller on VGN-TX91PS.
 1.54  10-Dec-2007  degroote branches: 1.54.2;
Register fxp @ pci to the pmf framework
Kill reference to old powerhook framework.
 1.53  19-Oct-2007  ad branches: 1.53.4; 1.53.6;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.52  26-Nov-2006  enami branches: 1.52.8; 1.52.22; 1.52.24; 1.52.28;
Match on board ethernet controller on VGN-TX72PZ.
 1.51  16-Nov-2006  christos __unused removal on arguments; approved by core.
 1.50  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.49  27-Sep-2006  cube Make fxp(4) support the PRO/100 VE variant just added to pcidevs.

Reported by rix on #NetBSD-code on freenode.
 1.48  24-Sep-2006  jmcneill Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
 1.47  30-Jul-2006  oster branches: 1.47.4; 1.47.6;
Recognize another Intel PRO/100 VM Network Controller.
 1.46  19-Jun-2006  jmcneill Restore PCI configuration space on resume.
 1.45  17-Jun-2006  christos re-factor the pci powestate api. reviewed by gimpy
 1.44  10-Jan-2006  christos branches: 1.44.2; 1.44.6; 1.44.12; 1.44.14;
PR/32494: Dennis Chernoivanov: Intel PRO/100 VE (LOM) not detected on Sony Vaio
 1.43  11-Dec-2005  christos branches: 1.43.2;
merge ktrace-lwp.
 1.42  29-Jul-2005  cube New Dell Day, continued: add support for the fxp(4) variant in the
802801G* family of SB.
 1.41  18-May-2005  riz branches: 1.41.2;
Add support for the 82801FB (ICH6) 10/100 ethernet appearing
on new Intel motherboards. From Brian Buhrow in PR#30025.
Approved by jmcneill.
 1.40  27-Feb-2005  perry branches: 1.40.2;
nuke trailing whitespace
 1.39  21-Aug-2004  thorpej branches: 1.39.4; 1.39.6;
Use ANSI function decls and make use of static.
 1.38  28-Apr-2004  briggs Add a default case to the product ID attachment to print the chip
description and revision information if a chip is matched and this
switch statement isn't updated to match. Addresses PR kern/18019.
 1.37  12-Mar-2004  drochner branches: 1.37.2;
deal with 82801EB/ER (ICH5) Network Controller
 1.36  13-Sep-2003  jdolecek fix description of Intel PRO/100 VM Network Controller with 82562ET/EZ PHY
don't activate any quirks for VM_6 variant
problem reported by Lars Heidieker on current-users

also don't activate any quirks for VM_3 - VM_5 variants, neither
VE_2 - VE_4, in anticipation that the more modern variants don't need
the quirks
 1.35  14-Aug-2003  nonaka Add support for another Intel Pro/100 variant.
 1.34  28-Jun-2003  bouyer branches: 1.34.2;
Add support for another Intel Pro/100 variant. From Quentin Garnier in
private mail.
 1.33  14-Mar-2003  jdolecek apparently this driver works fine for Intel PRO/100 VM with 82562EM/EX PHY,
so make driver match it
while here, also make the driver match 'Intel PRO/100 VM with
82562EM/EX (CNR) PHY', with anticipation it would work fine too
activate the resume and dynamic standby bug workaround for these; might
not be necessary (not confirmed to be needed), but better safe than sorry

Adresses PR kern/20689
 1.32  18-Feb-2003  grant add Intel PRO/100M.

from Quentin Garnier in PR kern/20400.
 1.31  31-Jan-2003  thorpej Use aprint_*().
 1.30  23-Dec-2002  tsutsui Replace magic numbers for power management control with PCI_PMCSR* macros.

XXX Should we use pci_get_powerstate() and pci_set_powerstate() in pci.c?
 1.29  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.28  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.27  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.26  27-Sep-2002  itojun don't go into D3 state if revision <= 82558_B0. PR 18011
 1.25  18-Sep-2002  abs Recognise the Intel PRO/100 VM Network Controller as seen in the HP
omnibook 6100.
 1.24  22-Jul-2002  msaitoh add support intel C-ICH's embeded Ether MACs.
Tested on RadiSys Endura CH815C (http://www.radisys.com/)
 1.23  22-Jun-2002  cjs Match PCI IDs of new PRO/100 chips.
 1.22  04-Apr-2002  thorpej branches: 1.22.2; 1.22.4;
Address Intel 82801BA/82801BAM Specification Update, Errata #30:

The ICH on-board Ethernet and some i82559 chips have a bug which
will cause a PCI protocol violation if the chip receives a CU_RESUME
command as it is entering the IDLE state by deasserting #CLKRUN.
(This is the so-called "resume bug" that we previously had an incomplete
work-around for on ICH chipsets.)

The work-around is to disable Dynamic Standby Mode, such that the
chip will never deasert #CLKRUN. Dynamic Standby Mode is disabled
by clearing a bit in the EEPROM and updating the EEPROM (and EEPROM
checksum).

Unfortunately, the chip will only consult the EEPROM setting after
a PCI bus reset, so a system reboot is required once the EEPROM
has been updated (the EEPROM update only needs to happen once,
and the driver usses a warning instructing the user to reboot the
system once the work-around has been applied).

Issue pointed out by David Brownlee, and code more-or-less lifted
from FreeBSD.
 1.21  13-Nov-2001  lukem add RCSID
 1.20  02-Nov-2001  itojun recognize fxp on IBM thinkpad T23. from akimichi@wide.ad.jp
 1.19  05-Aug-2001  thorpej branches: 1.19.4;
Add enable/disable hooks on devices that have ACPI power management
capability, using D3 and D0 power states. This saves me quite a bit
of battery when not using the built-in Ethernet on my IBM T-20 during
long IETF meetings.
 1.18  08-Jul-2001  thorpej branches: 1.18.2;
Remove unnecessary include files. From Onno van der Linden.
 1.17  12-Jun-2001  thorpej Don't need INET or NS includes here.
 1.16  22-May-2001  thorpej Enable the PCI MWI command for memory writes on the i82558 and
higher.
 1.15  22-May-2001  thorpej Report 82558, 82559, etc. based on chip revision. Also, remember which
revsion we have for feature enables later.
 1.14  21-May-2001  thorpej The ICH3 also has the Resume Bug.
 1.13  21-May-2001  thorpej The 82801BA built-in Ethernet has a bug which requires us to
issue a NOP before a CU_RESUME when in 10baseT mode. Handle
this.
 1.12  28-Dec-2000  sommerfeld branches: 1.12.2;
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.11  27-Sep-2000  ad Match the i82562.
 1.10  15-Jul-2000  jhawk Fix uninitialized variable (reg) in fxp_pci_confreg_restore();
this could result in garbage being written to the PCI status register,
which is unlikely to have had a serious effect. This was with us from
an #if 0 added in rev 1.6.
 1.9  09-Jul-2000  mycroft Recognize the i82559ER.
 1.8  12-May-2000  jhawk branches: 1.8.4;
sc_ih (interrupt cookie) is not pci-specific data
and needs to remain in fxp_softc rather than fxp_pci_softc;
otherwise we break cardbus.
 1.7  12-May-2000  jhawk Move struct fxp_pci_softc declaration to if_fxp_pci.c removing an
unnecessary header file (if_fxp_pcivar.h); oh, how quickly the nascent
inodes are subject to infant mortality.
 1.6  12-May-2000  jhawk Fix bugs seen on Sony Vaios.
Address kern/9370, kern/9548, kern/9571, and kern/9573.

Save and restore critical PCI configuration registers because they are
sometimes bashed.
Add a powerhook to restore said PCI registers after APM events.
The fxp now works across a warm boot from windows (vaio).
The fxp now works across an apm suspend/resume or hibernate/resume cycle.
 1.5  16-Mar-2000  thorpej Recognize the Intel InBusiness.
 1.4  25-Jan-2000  drochner use BUS_SPACE_MAP_PREFETCHABLE instead BUS_SPACE_MAP_CACHEABLE where the
PCI BAR bit is referred to
(XXX is the hack still necessary?)
 1.3  12-Dec-1999  thorpej Take a stab at making this work on big-endian systems.
 1.2  30-Oct-1999  sommerfeld Add enable/disable support and EEPROM size selection, prerequisites
for getting the cardbus fxp attachment to work.

Tested on the built-in 82559 in a VAIO Z505S.

From Johan Danielsson / PR8631; changed slightly to KNF.
 1.1  20-Jun-1999  thorpej branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Intel i82557 driver is now split into bus and chip bits.
 1.1.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.6.1  15-Nov-1999  fvdl Sync with -current
 1.1.4.2  05-Jan-2001  bouyer Sync with HEAD
 1.1.4.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.1.2.2  01-Jul-1999  thorpej Sync w/ -current.
 1.1.2.1  20-Jun-1999  thorpej file if_fxp_pci.c was added on branch chs-ubc2 on 1999-07-01 23:34:06 +0000
 1.8.4.5  30-Sep-2002  itojun sys/dev/pci/if_fxp_pci.c 1.26

Don't go into D3 state if revision <= 82558_B0. Fixes PR#18011.

(itojun)
 1.8.4.4  06-Jun-2002  he Pull up revisions 1.13-1.18,1.20,1.22 (requested by mycroft):
Work around a bug which can cause some machines to randomly hang.
Drag along performance improvements and improved hardware support.
 1.8.4.3  16-Aug-2001  tv Pullup [he]:

sys/dev/pci/if_fxp_pci.c 1.19

Add enable/disable hooks on devices that have ACPI power management
capability, using D3 and D0 power states.
 1.8.4.2  22-Mar-2001  he Pull up revision 1.11 (requested by hubertf):
Make the Intel Pro/100 as e.g. found on Toshiba Satellite Pro
4600s work.
 1.8.4.1  16-Jul-2000  jhawk Pullup rev 1.9 (approved by jhawk), rev 1.10 (approved by thorpej):
revision 1.9:
Recognize the i82559ER.
revision 1.10:
Fix uninitialized variable (reg) in fxp_pci_confreg_restore();
this could result in garbage being written to the PCI status register,
which is unlikely to have had a serious effect. This was with us from
an #if 0 added in rev 1.6.
 1.12.2.7  29-Dec-2002  thorpej Sync with HEAD.
 1.12.2.6  18-Oct-2002  nathanw Catch up to -current.
 1.12.2.5  01-Aug-2002  nathanw Catch up to -current.
 1.12.2.4  17-Apr-2002  nathanw Catch up to -current.
 1.12.2.3  14-Nov-2001  nathanw Catch up to -current.
 1.12.2.2  24-Aug-2001  nathanw Catch up with -current.
 1.12.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.18.2.5  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.18.2.4  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.18.2.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.18.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.18.2.1  25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.19.4.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.22.4.8  26-Oct-2005  jmc Pullup (via patch) requested by riz in ticket #5773)
Add support for 82801FB 10/100 ethernet
 1.22.4.7  06-Apr-2004  jmc Pullup patch (requested by briggs in ticket #1648)

Pull in changes to support the Intel 82801EB/ER (ICH5) Controller. PR#25002
 1.22.4.6  15-Aug-2003  tron Pull up revision 1.34 via patch (requested by bouyer in ticket #1368):
Add support for another Intel Pro/100 variant. From Quentin Garnier in
private mail.
 1.22.4.5  30-Jun-2003  grant Apply patch (requested by drochner in ticket #1343):

add Intel PRO/100M.

apparently this driver works fine for Intel PRO/100 VM with 82562EM/EX
PHY, so make driver match it
while here, also make the driver match 'Intel PRO/100 VM with
82562EM/EX (CNR) PHY', with anticipation it would work fine too
activate the resume and dynamic standby bug workaround for these;
might not be necessary (not confirmed to be needed), but better safe
than sorry
 1.22.4.4  27-Jan-2003  jmc Pullup revisions 1.23-1.24 (requested by masanobu in ticket #1110)
Add support intel C-ICH's embeded Ether MACs.
 1.22.4.3  13-Oct-2002  lukem Pull up revision 1.25 (requested by abs in ticket #844):
Recognise the Intel PRO/100 VM Network Controller as seen in the HP
omnibook 6100.
 1.22.4.2  02-Oct-2002  lukem Pull up revision 1.26 (requested by itojun in ticket #870):
don't go into D3 state if revision <= 82558_B0. PR 18011
 1.22.4.1  25-Jun-2002  lukem Pull up revision 1.23 (requested by cjs in ticket #362):
Add new Intel Ethernet cards
 1.22.2.2  29-Aug-2002  gehenna catch up with -current.
 1.22.2.1  15-Jul-2002  gehenna catch up with -current.
 1.34.2.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.34.2.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.34.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.34.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.34.2.2  25-Aug-2004  skrll Sync with HEAD.
 1.34.2.1  03-Aug-2004  skrll Sync with HEAD
 1.37.2.1  28-Apr-2004  tron branches: 1.37.2.1.2;
Pull up revision 1.38 (requested by briggs in ticket #220):
Add a default case to the product ID attachment to print the chip
description and revision information if a chip is matched and this
switch statement isn't updated to match. Addresses PR kern/18019.
 1.37.2.1.2.1  19-May-2005  tron Pull up revision 1.41 (requested by riz in ticket #1532):
Add support for the 82801FB (ICH6) 10/100 ethernet appearing
on new Intel motherboards. From Brian Buhrow in PR#30025.
Approved by jmcneill.
 1.39.6.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.39.4.1  29-Apr-2005  kent sync with -current
 1.40.2.3  27-Aug-2006  ghen Pull up following revision(s) (requested by oster in ticket #1479):
sys/dev/pci/pcidevs: revision 1.810
sys/dev/pci/if_fxp_pci.c: revision 1.44
sys/dev/pci/if_fxp_pci.c: revision 1.47
sys/dev/pci/pcidevs: revision 1.756
PR/32494: Add ID 0x1068 for Intel PRO/100 VE (LOM) found on Sony Vaio
S4HRP laptops.
PR/32494: Dennis Chernoivanov: Intel PRO/100 VE (LOM) not detected on Sony Vaio
Recognize another Intel PRO/100 VM Network Controller.
 1.40.2.2  21-Nov-2005  tron Pull up following revision(s) (requested by cube in ticket #957):
sys/dev/pci/if_fxp_pci.c: revision 1.42
New Dell Day, continued: add support for the fxp(4) variant in the
802801G* family of SB.
 1.40.2.1  28-May-2005  snj Pull up revision 1.41 (requested by riz in ticket #323):
Add support for the 82801FB (ICH6) 10/100 ethernet appearing
on new Intel motherboards. From Brian Buhrow in PR#30025.
Approved by jmcneill.
 1.41.2.6  24-Mar-2008  yamt sync with head.
 1.41.2.5  17-Mar-2008  yamt sync with head.
 1.41.2.4  21-Jan-2008  yamt sync with head
 1.41.2.3  27-Oct-2007  yamt sync with head.
 1.41.2.2  30-Dec-2006  yamt sync with head.
 1.41.2.1  21-Jun-2006  yamt sync with head.
 1.43.2.1  15-Jan-2006  yamt sync with head.
 1.44.14.1  13-Jul-2006  gdamore Merge from HEAD.
 1.44.12.2  22-Jun-2006  chap Complete a sync sys/ with head.
 1.44.12.1  19-Jun-2006  chap Sync with head.
 1.44.6.2  11-Aug-2006  yamt sync with head
 1.44.6.1  26-Jun-2006  yamt sync with head.
 1.44.2.1  09-Sep-2006  rpaulo sync with head
 1.47.6.2  10-Dec-2006  yamt sync with head.
 1.47.6.1  22-Oct-2006  yamt sync with head
 1.47.4.2  12-Jan-2007  ad Sync with head.
 1.47.4.1  18-Nov-2006  ad Sync with head.
 1.52.28.1  25-Oct-2007  bouyer Sync with HEAD.
 1.52.24.3  23-Mar-2008  matt sync with HEAD
 1.52.24.2  09-Jan-2008  matt sync with HEAD
 1.52.24.1  06-Nov-2007  matt sync with HEAD
 1.52.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.52.8.1  23-Oct-2007  ad Sync with head.
 1.53.6.1  11-Dec-2007  yamt sync with head.
 1.53.4.1  26-Dec-2007  ad Sync with head.
 1.54.2.1  02-Jan-2008  bouyer Sync with HEAD
 1.55.6.3  28-Sep-2008  mjf Sync with HEAD.
 1.55.6.2  02-Jun-2008  mjf Sync with HEAD.
 1.55.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.55.2.1  24-Mar-2008  keiichi sync with head.
 1.58.4.5  11-Aug-2010  yamt sync with head.
 1.58.4.4  11-Mar-2010  yamt sync with head
 1.58.4.3  16-Sep-2009  yamt sync with head
 1.58.4.2  04-May-2009  yamt sync with head.
 1.58.4.1  16-May-2008  yamt sync with head.
 1.58.2.1  18-May-2008  yamt sync with head.
 1.59.6.1  19-Oct-2008  haad Sync with HEAD.
 1.59.4.1  18-Jul-2008  simonb Sync with head.
 1.59.2.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.60.2.3  28-Apr-2009  skrll Sync with HEAD.
 1.60.2.2  03-Mar-2009  skrll Sync with HEAD.
 1.60.2.1  19-Jan-2009  skrll Sync with HEAD.
 1.61.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.72.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.73.2.2  31-May-2011  rmind sync with head
 1.73.2.1  30-May-2010  rmind sync with head
 1.74.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.77.6.1  18-Feb-2012  mrg merge to -current.
 1.77.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.77.2.1  17-Apr-2012  yamt sync with head
 1.79.6.3  03-Dec-2017  jdolecek update from HEAD
 1.79.6.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.79.6.1  23-Jun-2013  tls resync from head
 1.80.4.1  18-May-2014  rmind sync with head
 1.81.6.1  06-Jun-2015  skrll Sync with HEAD
 1.82.18.1  10-Jun-2019  christos Sync with HEAD
 1.82.16.2  26-Jan-2019  pgoyette Sync with HEAD
 1.82.16.1  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.82.10.1  27-Jan-2019  martin Pull up following revision(s) (requested by msaitoh in ticket #1172):

sys/dev/pci/nvme_pci.c: revision 1.26
sys/dev/pci/xhci_pci.c: revision 1.21
sys/dev/pci/ixgbe/ixv.c: revision 1.108
sys/dev/pci/ixgbe/ixgbe.c: revision 1.171
sys/dev/pci/if_fxp_pci.c: revision 1.84
sys/dev/pci/if_fxp_pci.c: revision 1.85
sys/dev/pci/xhci_pci.c: revision 1.16

remove #ifdef DEBUG printf, it seems to have outlived it's usefulness

-

KNF. No functional change.

-

Nowadays some UEFI BIOSes don't enable some PCI devices' address decoding.
To resolve this problem, pci_map.c rev. 1.34-1.36 changed the
pci_mapreg_(sub)map()'s to set the decode bit if it's not set. It's good for
almost all drivers, but some other drivers don't use pci_mapreg_map().
In drivers which don't use pci_mapreg_map(), some of them explicitly enable
decoding but others don't. Add code to enable decoding to them.

See also the following discussion:
http://mail-index.netbsd.org/tech-kern/2017/03/22/msg021678.html
 1.85.16.1  13-May-2021  thorpej Sync with HEAD.

RSS XML Feed