Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/if_tlp_pci.c
RevisionDateAuthorComments
 1.131  20-Dec-2023  thorpej malloc(9) -> kmem(9), and plug a memory leak on detach while I'm here.
 1.130  08-May-2021  thorpej Use pci_compatible_match().
 1.129  07-Jul-2020  msaitoh branches: 1.129.6;
No functional change:

- u_int32_t -> uint32_t
- KNF.
 1.128  02-Jul-2020  msaitoh prop_data_data_nocopy -> prop_data_value
 1.127  10-Nov-2019  chs in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.126  29-May-2019  msaitoh No functional change:
- Simplify MII structure initialization and reference.
- KNF
 1.125  09-Dec-2018  jdolecek use pci_intr_establish_xname() everywhere
 1.124  07-Jul-2016  msaitoh branches: 1.124.16; 1.124.18;
KNF. Remove extra spaces. No functional change.
 1.123  29-Mar-2014  christos branches: 1.123.6;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.122  23-Sep-2012  chs branches: 1.122.2;
match some more devices.
 1.121  11-Nov-2011  jakllsch branches: 1.121.6; 1.121.10;
Use GPP_GPC in the last place it isn't already used.
 1.120  11-Nov-2011  jakllsch Improve punctuation and consistency in some comments.
 1.119  10-Nov-2011  jakllsch When applying the board-specific bits for the SMC 9332,
the mediasw has already been set to non-NULL, don't require it to be NULL.
 1.118  26-Jul-2011  dyoung branches: 1.118.2;
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.117  09-Jul-2011  christos - add a routine to get the name of the card.
 1.116  21-Jan-2010  martin Remove sparc specific code, rely on device properties instead
 1.115  01-Sep-2009  jmcneill aprint-ify
 1.114  06-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.113  17-Apr-2009  cegger backout rev. 1.112. I was misleaded by the wrong pci(9) manpage.
 1.112  17-Apr-2009  cegger pci_activate() wants a softc and not a device
 1.111  17-Apr-2009  cegger check return code of tlp_attach()
 1.110  17-Apr-2009  cegger Free resources in error path.
While here, fix copy&paste error I introduced in rev. 1.108.
 1.109  17-Apr-2009  cegger use aprint_*
 1.108  17-Apr-2009  cegger Detach tlp(4) during shutdown.
Free unused resources on attachment.
 1.107  17-Apr-2009  cegger device_t/softc split. Tested with tlp at pci
 1.106  08-Jun-2008  tsutsui branches: 1.106.6; 1.106.12;
Use device_lookup_private() rather than using cd_devs[] directly to get softc.

XXX maybe we should change a type of cd_devs[] in struct cfdriver
from (void *) to device_t.
 1.105  28-Apr-2008  martin branches: 1.105.2;
Remove clause 3 and 4 from TNF licenses
 1.104  10-Apr-2008  cegger branches: 1.104.2; 1.104.4;
use aprint_*_dev and device_xname
 1.103  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.102  19-Oct-2007  ad branches: 1.102.12; 1.102.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.101  18-Feb-2007  tsutsui branches: 1.101.4; 1.101.16; 1.101.18; 1.101.22;
- KNF, ANSIfy, TAB/space cleanup
- unwrap some lines
- u_intNN_t -> uintNN_t
 1.100  10-Feb-2007  dsl branches: 1.100.2;
Remove some ancient debugging leftovers left in by Michael Lorenz.
 1.99  09-Feb-2007  macallan add a quirks entry for the DEC21140 found on UMAX E100 cards
 1.98  16-Nov-2006  christos __unused removal on arguments; approved by core.
 1.97  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.96  30-Aug-2006  rumble branches: 1.96.2; 1.96.4;
Add quirks for the Phobos GIO Fast Ethernet boards.
 1.95  26-Jul-2006  itohy branches: 1.95.2;
Remove ADM9511's "signature".
I don't think it is used anywhere.
 1.94  21-Jul-2006  gdamore Update ADMtek pci device ids to match data sheets. While here, add the 9513
device (although I've never seen one, I have a datasheet for it. :-)
 1.93  18-Jul-2006  itohy Make new device (vendor 0x1317, product 0x9511) work as AN983.
 1.92  17-Jun-2006  christos re-factor the pci powestate api. reviewed by gimpy
 1.91  20-May-2006  rpaulo branches: 1.91.2;
The check for LMC cards should return NULL, not 0.
No functional change.
 1.90  05-May-2006  thorpej branches: 1.90.2;
Remove the devprop API and switch everthing over to the new proplib. Add
a new device_properties() accessor for device_t that returns the device's
property dictionary.
 1.89  20-Apr-2006  christos Put back the code that avoids matching the lmc card. As pointed out by David
Boggs, it does not matter if the lmc driver routine returns 100 for the match,
because if the lmc driver is loaded via an LKM after boot, the other drivers
would have claimed the card already.
 1.88  25-Mar-2006  rpaulo Add support for the Conexant RS7112. From Frank Wille <frank@phoenix.owl.de>.
 1.87  25-Mar-2006  thorpej Use device_parent().
 1.86  18-Feb-2006  thorpej branches: 1.86.2; 1.86.4; 1.86.6;
- Don't expose dev_propdb directly -- provide devprop_*() wrappers instead.
- Rework the ARMADILLO / epe device properties interaction so that it actually
associates the MAC address property with the epe device instance.
 1.85  16-Feb-2006  thorpej Remove the ugly algor_get_ethaddr() hack. We have a properties infrastructure
now, so use that to provide the Ethernet address of the built-in Ethernet.
XXX Still a little ugly in the tlp driver, but fixing that would require
XXX reworking the SROM usage in a broader sense.

While here, do the P4032 DMA window hack in device_register() as well.
 1.84  06-Dec-2005  christos branches: 1.84.2; 1.84.4; 1.84.6;
Remove the "don't match lmc cards" test, because the lmc driver returns a
match of 100 which will supersede the de and tlp match if present. If not
present, then these two drivers will fail to match an mii. Thanks to thorpej
for the explanation.
 1.83  06-Dec-2005  thorpej Don't use magic constants in previous. (Not that we should be doing this
here in the first place...)
 1.82  06-Dec-2005  christos Don't match lmc cards by accident.
 1.81  17-Jul-2005  rpaulo If the DEC board name is not known, remove the leading whitespace in
sc_name.
This closes PR#30458.

ok'ed Jason Thorpe.
 1.80  23-Jun-2005  rpaulo branches: 1.80.2;
Add support for ASIX AX88140A/AX88141 chipsets using only
the 10/100 MII with inspiration from FreeBSD dc(4) driver.

Tested on i386 and macppc.

Reviewed by Jason Thorpe and ok'ed by Hubert Feyrer.
 1.79  13-Jun-2005  tron Also use prom_getether() under NetBSD-sparc(64) if the MAC address
retrieved from the PROM starts with ff:ff:ff. The driver now works with
the onboard interface in the Tadpole SPARCle.
 1.78  27-Feb-2005  perry branches: 1.78.2;
nuke trailing whitespace
 1.77  21-Aug-2004  thorpej branches: 1.77.4; 1.77.6;
Use ANSI function decls and make use of static.
 1.76  17-Mar-2004  martin branches: 1.76.4;
For sparc*: myetheraddr is no more
 1.75  28-Nov-2003  cube Add support for the 3com OfficeConnect 10/100B card, which has an ADMtek
AN985 controller, handled by tlp(4).

From Mike M. Volokhov <mishka AT terabyte DOT com DOT ua> in
current-users.
 1.74  03-Nov-2003  ichiro Fix uninitialized variable warnings
 1.73  27-Jun-2003  itohy branches: 1.73.2;
Properly reset PHY on ZNYX boards which are composed of
21143 and Quality Semiconductor QS6611 PHY.

QS6611 requires explicit reset on some hardware configuration. See
``Using the Intel 21143 with the Quality Semiconductor QS6611 Revision D4''
<http://www.intel.com/design/network/applnots/278239.htm> for details.

Models which should be supported by this change are
ZX345Q, ZX346Q, ZX348Q, (non-Q versions use different PHYs)
ZX414, ZX412, ZX444,
ZX442, ZX212, ZX214,
ZX374, ZX372, ZX244,
ZX424, ZX422.

Tested on ZX346Q.

Some information is from the ZNYX driver source code available from
the ZNYX web site <http://www.znyx.com/>.
 1.72  10-Mar-2003  thorpej Fix an error message.
 1.71  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.70  09-Oct-2002  jdolecek tlp_pci_vpc_21140_quirks(): make agnostic to signed/unsigned char; fixes
compile on cats
 1.69  08-Oct-2002  minoura Add quirk for Connectix VirtualPC emulated 21140, just to print the name
from the SROM.
 1.68  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.67  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.66  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.65  17-Apr-2002  mycroft Remove TLP_MATCH_* options.
 1.64  04-Apr-2002  chs add support for Cogent EM100 (aka Adaptec ANA-6910) TX and FX.
 1.63  03-Apr-2002  thorpej Add support for the Netwinder on-board 21143 (but don't try using it
yet; there are still some problems).
 1.62  26-Mar-2002  chs add support for SMC 9332DST.
 1.61  16-Mar-2002  chs decode the sub-system IDs on adaptec cards so we can differentiate between
multi-port cards (which need the shared-rom/intr stuff) and single-port cards
(which must not have it). previously we enabled sharing for all adaptec cards,
which caused problems if you had multiple single-port cards on the same PCI bus.
 1.60  13-Mar-2002  chs support the 4-port boards with the Cogent OUI as well.
 1.59  13-Mar-2002  chs support ANA-6944A boards (in addition to ANA-6922).
 1.58  14-Feb-2002  chs add support for Adaptec ANA-69xx multi-port cards.
 1.57  12-Jan-2002  tsutsui Call malloc(9) with M_ZERO flag instead of memset() after malloc().
 1.56  07-Dec-2001  matt Fix sense of if to grab address from alternation if srom is not in isv
format on Davicom chips. Add sparc specific case in this case to call
myetheraddr if oui is all 0s (for Netra X1).
 1.55  13-Nov-2001  lukem add RCSID
 1.54  08-Jul-2001  thorpej branches: 1.54.2;
Remove unnecessary include files. From Onno van der Linden.
 1.53  12-Jun-2001  thorpej Don't need INET or NS includes here.
 1.52  27-May-2001  thorpej Add quirks for the Algorithmics P-5064 on-board 21143, and a way to
get the Ethernet address from it (they don't have an SROM).

XXX The latter should be replaced with devprops when they exist.
 1.51  24-Feb-2001  cgd branches: 1.51.2;
C requires that labels be followed by statements.
 1.50  08-Jan-2001  thorpej Add Accton EN2242 10/100 MiniPCI Ethernet.
 1.49  08-Jan-2001  thorpej Use the AN985 media switch on the AN985.
 1.48  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.47  03-Oct-2000  thorpej Add support for the ADMtek AN983 and AN985.
 1.46  03-Aug-2000  castor Support some differences in the Macronix 98715AEC-C and E chips from the other
98715* series.

The MX98715AEC-[C,E] use a different location in the serial eerom for
LED control, and programming it with the original location's values
caused unpredictable behavior.

Also, start integrating fixes where media changes on an adapter
under load may fail. There's more work to be done here, but I need
to sort out our internal changes a little more carefully.
 1.45  17-Jul-2000  tron Don't make assumptions of the actual value of PCI_PMCSR_STATE_D0.
Problem noted by John Hawkinson.
 1.44  17-Jul-2000  tron Don't clobber bits from 2 to 31 when trying to change the power state.
Problem noted by John Hawkinson.
 1.43  16-Jul-2000  tron If card is in power state D3 put it into power state D0 so that it will
at least work after the next reboot.
 1.42  15-Jul-2000  tron Avoid printing duplicate colon when card is waked up.
 1.41  15-Jul-2000  tron Improve kernel message when card is in power state D3. Instead of...

epic0 at pci0 dev 11 function 0 epic0: unable to wake up from ...

... print this:

epic0 at pci0 dev 11 function 0: unable to wake up from power state D3
 1.40  25-Jun-2000  sommerfeld Defopt TLP_MATCH_*
 1.39  27-May-2000  thorpej branches: 1.39.2;
While DM9102A boards tend to have ISV-format SROMs (likely to describe
the HomePNA PHY typically connected to the external MII interface),
DM9102 implementations (often found on motherboards) do not. Handle
this.
 1.38  26-May-2000  thorpej branches: 1.38.2;
Add support for the Davicom DM9102 and DM9102A 10/100 Ethernet chips.

Partially based on diffs submitted by Matthew Orgass <darkstar@pgh.net>
and IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>.
 1.37  04-Apr-2000  thorpej - if_tlp_cardbus.c: Use the `pmreg' pointer passed by by
cardbus_get_capability() [mirror change already made to if_tlp_pci.c]
- if_tlp_cardbus.c: If we don't find an ISV SROM, try to grab the
Ethernet address from the CIS.
- if_tlp_cardbus.c: set CardBus cards to store-and-forward mode from
the get-go.
- Put the TxThresh tables in tulipvar.h, and use them in the CardBus
and PCI front-ends to go to store-and-forward mode.
- Document the Xircom X3201-3 clone a little more.
 1.36  26-Mar-2000  soren For Cobalt Networks 21143's, always use store-and-forward and toggle
a GPIO line to fully reset the PHY.
 1.35  23-Mar-2000  mycroft Rather than guessing at the location of the PMCSR, use the pointer returned by
pci_get_capability(). (This is, after all, a standardized interface...)
 1.34  15-Mar-2000  thorpej Add power management support to the `tlp' driver. The battery on my
laptop lasts a whole lot longer now.
 1.33  07-Mar-2000  mycroft Determine the size of the SROM by probing the chip using the standard Microwire
protocol. Eliminates the need for srom_quirks and some other trash.
 1.32  26-Jan-2000  thorpej Give the ISV filter a chance to verify 21143 pass 4.1 SROMs before running
them through the quirk table.
 1.31  26-Jan-2000  thorpej Additional hackery for the Cobalt interfaces. Even though these are
pass 4.1 21143s, they have a 128-byte SROM, and thus use a different
SROM address size than all other pass 4.1 21143s.

A plea to hardware designers -- *please* read application notes for
the components you're using before putting your hardware together. Thanks.
 1.30  25-Jan-2000  thorpej Clean up the SROM addrbits code a little.
 1.29  25-Jan-2000  thorpej Add a chip type for the Xircom X3201-3, and centralize the declaration
of the chip names array.
 1.28  25-Jan-2000  thorpej Handle Cobalt Networks interfaces, which are 21143 pass 4.1 devices
with a simple (MAC address only) SROM format.

From Soren S. Jorvang <soren@wheel.dk>
 1.27  11-Dec-1999  thorpej - Don't try to run the chip in big-endian mode. Not all chips support
this consistently, and it doesn't always work even when the chip
supports it.
- Make sure things DMA'd to the chip that the chip interprets are in
little-endian mode.
 1.26  07-Dec-1999  thorpej After reading the 21143 manual again, make sure SNOOZE is cleared in
the CFDA register, too.
 1.25  07-Dec-1999  thorpej Add the PMCSR offset for the 21143, and make sure to bring the 21142
and 21143 out of sleep mode. From Masanori Kanaoka.
 1.24  07-Dec-1999  thorpej If, on the 21143, we find that we don't have an ISV SROM, try reading
it again, with 8 address bits. 21143 Pass 4.1 has a larger SROM,
for storing the CIS when used in a CardBus application.
 1.23  19-Nov-1999  thorpej - Use the common MII bit-bang module.
- Add support other than 128-byte SROMs.
- Add support for the 21142/21143 MII.
 1.22  04-Nov-1999  thorpej Use Memory Read Line and Memory Read Multiple on the 21140, 21140A,
21142, and 21143, if the PCI bus says its okay.
 1.21  28-Oct-1999  thorpej Add some 21142/21143 goo.
 1.20  30-Sep-1999  thorpej branches: 1.20.2; 1.20.4; 1.20.6;
Changes to get the Lite-On/Macronix 82C115 working:
- 82C115 has a 128-bit multicast hash table, not 512-bit.
- Correct the way the MAC address is read from the SROM, after re-reading
the MX98715A Application Note.

Other semi-related changes:
- Differentiate between MX98715 and MX98715A.
- Improve the Macronix link-up/link-down detection.
 1.19  29-Sep-1999  thorpej - Get a little closer on the Macronix chips. Still some more work to do.
- Add some basic support for the ADMtek AL981 clone (which, unfortunately,
I can't test until my sample boards arrive).
 1.18  28-Sep-1999  thorpej Add code to take a device out of Power-Down state if it's in such a state,
and attempt to attach Macronix chips.
 1.17  26-Sep-1999  thorpej Add a quirk entry for the Asante 21140[A] boards that don't use the
ISV SROM format. For these boards, we provide the GPIO pin direction
info, a separate reset hook, and hard-wire them to MII-on-SIO.

Based on a patch submitted by Luoqi Chen <luoqi@chekov.watermarkgroup.com>.
 1.16  26-Sep-1999  thorpej Some 21140[A] boards don't use the ISV SROM format (e.g. Asante boards),
but instead use the older DEC Address ROM format.

From a patch supplied by Luoqi Chen <luoqi@chekov.watermarkgroup.com>.
 1.15  26-Sep-1999  thorpej Add quirk entry support for the 21041 and 21140 chips. Initial quirks
for these: extract the spiffy DEC board names (e.g. DE500-AA).
 1.14  26-Sep-1999  thorpej Make tlp_read_srom() work on big-endian systems.

From a patch supplied by Luoqi Chen <luoqi@chekov.watermarkgroup.com>.
 1.13  25-Sep-1999  thorpej Add support for the DECchip 21140[A]. This currently only works with
boards which use MII for media attachment.

ISV SROM format information lifted from Matt Thomas's `de' driver.

Thanks to Dave Sainty for experimenting w/ his 21140A MII boards, and
for supplying a fix to the MII bit-bang code (PR #8382).
 1.12  20-Sep-1999  thorpej Add support for the DECchip 21041. This also adds some preliminary
support for the ISV SROM format used in the 2114{1,1A,2,3}. Note, like
the 21040, auto-sense is not yet supported for the 21041.

Add a "pre-init" hook, which will be used for the 2114x and PNIC (currently)
which allows chip-specific code to set up and write OPMODE before the
chip is reset. This is necessary in order for the chip's internal
pathways to get initialized properly for MII/SYM/PCS/SIA media attachments.

Thanks to Dave Sainty for the hint from the `de' driver that inspired the
pre-init hook.
 1.11  17-Sep-1999  thorpej Fix a few buglets in the multi-port 21040 code. ZNYX ZX314 confirmed
working now.
 1.10  14-Sep-1999  thorpej Make sure 21040 chips are at least pass 2.0 and that 21140 chips are at
least pass 1.1.
 1.9  14-Sep-1999  thorpej Move the PCI device number to the base Tulip softc; it will be needed to
decode the SROM on 21041 and 2114x multi-port boards.
 1.8  14-Sep-1999  thorpej First crack at shared ROM/shared interrupts on 21040 multi-port boards,
plus quirk identification for non-multiple-port boards.
 1.7  14-Sep-1999  thorpej Oops, fix Winbond regshift.
 1.6  14-Sep-1999  thorpej Change the semantics of `sc_regshift'; it is now the shift required to
make a CSR index number into a CSR offset. Introduce a couple of macros
to handle CSR name -> offset conversion.
 1.5  14-Sep-1999  thorpej - More PNIC NWAY stuff. Still more work to do, here.
- Fix the SROM checksum routine.
- Add code to parse the old DEC Address ROM SROM format.
- Rearrange the statchg routines a bit, to make them consistent with one
another.
- Add support for the DECchip 21040. XXX No support for media autosense
yet, and no support for any of the multi-port boards yet.
 1.4  08-Sep-1999  thorpej Add chip types for several more Tulip clones (ASIX, ADMtex, PNIC II, Davicom),
and match the Compex RL100-ATX; it uses the Winbond 89C840F (RL100-TX is
a Macronix 98713).
 1.3  08-Sep-1999  thorpej Update for Lite-On product ID change.
 1.2  03-Sep-1999  thorpej Byte swap the EEPROM words on the PNIC. From Stephen Ma.
 1.1  01-Sep-1999  thorpej This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.
 1.20.6.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.20.4.1  15-Nov-1999  fvdl Sync with -current
 1.20.2.4  12-Mar-2001  bouyer Sync with HEAD.
 1.20.2.3  18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.20.2.2  05-Jan-2001  bouyer Sync with HEAD
 1.20.2.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.38.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.39.2.7  24-Apr-2001  he Apply patch (requested by he):
Fix typo in last patch, so that this compiles again.
 1.39.2.6  23-Apr-2001  he Pull up revisions 1.47-1.50 (via patch, requested by hubertf):
Support Accton EN2242 and other AmdTek AN985 compatible cards
with the tlp(4) driver.
 1.39.2.5  09-Aug-2000  castor Pulling up
ic/tulipvar.h diffs between 1.36 and 1.37
ic/tulipreg.h diffs between 1.21 and 1.20
ic/ tulip.c diffs between 1.70 and 1.71
pci/if_tlp_pci.c diffs between 1.43 and 1.46

requested by tls and thorpej, approved by thorpej

> date: 2000/08/03 03:07:31; author: castor; state: Exp;
lines: +5 -1 Support some differences in the Macronix
98715AEC-C and E chips from the other 98715* series.

The MX98715AEC-[C,E] use a different location in the serial eerom for
LED control, and programming it with the original location's values
caused unpredictable behavior.

Also, start integrating fixes where media changes on an adapter
under load may fail. There's more work to be done here, but I need
to sort out our internal changes a little more carefully.
 1.39.2.4  16-Jul-2000  tron Sync with NetBSD-current (pull up approved by thorpej):

syssrc/sys/dev/pci/if_epic_pci.c, 1.12
syssrc/sys/dev/pci/if_tlp_pci.c, 1.43

If card is in power state D3 put it into power state D0 so that it will
at least work after the next reboot.
 1.39.2.3  15-Jul-2000  tron Sync with NetBSD-current (pull up approved by thorpej):

syssrc/sys/dev/pci/if_epic_pci.c, 1.11
syssrc/sys/dev/pci/if_tlp_pci.c, 1.42

Avoid printing duplicate colon when card is waked up.
 1.39.2.2  15-Jul-2000  tron Sync with NetBSD-current (pull up approved by thorpej):

syssrc/sys/dev/pci/if_epic_pci.c, 1.9
syssrc/sys/dev/pci/if_tlp_pci.c, 1.41

Improve kernel message when card is in power state D3. Instead of...

epic0 at pci0 dev 11 function 0 epic0: unable to wake up from ...

... print this:

epic0 at pci0 dev 11 function 0: unable to wake up from power state D3
 1.39.2.1  25-Jun-2000  sommerfeld defopt TLP_MATCH_*. pullup approved by thorpej
 1.51.2.10  29-Dec-2002  thorpej Sync with HEAD.
 1.51.2.9  18-Oct-2002  nathanw Catch up to -current.
 1.51.2.8  20-Jun-2002  nathanw Catch up to -current.
 1.51.2.7  17-Apr-2002  nathanw Catch up to -current.
 1.51.2.6  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.51.2.5  28-Feb-2002  nathanw Catch up to -current.
 1.51.2.4  08-Jan-2002  nathanw Catch up to -current.
 1.51.2.3  14-Nov-2001  nathanw Catch up to -current.
 1.51.2.2  24-Aug-2001  nathanw Catch up with -current.
 1.51.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.54.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.54.2.4  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.54.2.3  16-Mar-2002  jdolecek Catch up with -current.
 1.54.2.2  11-Feb-2002  jdolecek Sync w/ -current.
 1.54.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.73.2.7  11-Dec-2005  christos Sync with head.
 1.73.2.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.73.2.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.73.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.73.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.73.2.2  25-Aug-2004  skrll Sync with HEAD.
 1.73.2.1  03-Aug-2004  skrll Sync with HEAD
 1.76.4.1  24-Jul-2005  riz Pull up revision 1.81 (requested by rpaulo in ticket #5506):
If the DEC board name is not known, remove the leading whitespace in
sc_name.
This closes PR#30458.
ok'ed Jason Thorpe.
 1.77.6.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.77.4.1  29-Apr-2005  kent sync with -current
 1.78.2.3  19-Jul-2005  riz Pull up revision 1.81 (requested by rpaulo in ticket #600):
If the DEC board name is not known, remove the leading whitespace in
sc_name.
This closes PR#30458.
ok'ed Jason Thorpe.
 1.78.2.2  01-Jul-2005  tron Pull up revision 1.80 (requested by rpaulo in ticket #493):
Add support for ASIX AX88140A/AX88141 chipsets using only
the 10/100 MII with inspiration from FreeBSD dc(4) driver.
Tested on i386 and macppc.
Reviewed by Jason Thorpe and ok'ed by Hubert Feyrer.
 1.78.2.1  18-Jun-2005  riz Pull up revision 1.79 (requested by tron in ticket #451):
Also use prom_getether() under NetBSD-sparc(64) if the MAC address
retrieved from the PROM starts with ff:ff:ff. The driver now works with
the onboard interface in the Tadpole SPARCle.
 1.80.2.5  24-Mar-2008  yamt sync with head.
 1.80.2.4  27-Oct-2007  yamt sync with head.
 1.80.2.3  26-Feb-2007  yamt sync with head.
 1.80.2.2  30-Dec-2006  yamt sync with head.
 1.80.2.1  21-Jun-2006  yamt sync with head.
 1.84.6.2  01-Jun-2006  kardel Sync with head.
 1.84.6.1  22-Apr-2006  simonb Sync with head.
 1.84.4.1  09-Sep-2006  rpaulo sync with head
 1.84.2.1  18-Feb-2006  yamt sync with head.
 1.86.6.2  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.86.6.1  28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.86.4.2  11-May-2006  elad sync with head
 1.86.4.1  19-Apr-2006  elad sync with head.
 1.86.2.5  03-Sep-2006  yamt sync with head.
 1.86.2.4  11-Aug-2006  yamt sync with head
 1.86.2.3  26-Jun-2006  yamt sync with head.
 1.86.2.2  24-May-2006  yamt sync with head.
 1.86.2.1  01-Apr-2006  yamt sync with head.
 1.90.2.1  19-Jun-2006  chap Sync with head.
 1.91.2.1  13-Jul-2006  gdamore Merge from HEAD.
 1.95.2.1  10-Sep-2006  tron Pull up following revision(s) (requested by rumble in ticket #137):
sys/dev/pci/if_tlp_pci.c: revision 1.96
Add quirks for the Phobos GIO Fast Ethernet boards.
 1.96.4.2  10-Dec-2006  yamt sync with head.
 1.96.4.1  22-Oct-2006  yamt sync with head
 1.96.2.1  18-Nov-2006  ad Sync with head.
 1.100.2.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.101.22.1  25-Oct-2007  bouyer Sync with HEAD.
 1.101.18.2  23-Mar-2008  matt sync with HEAD
 1.101.18.1  06-Nov-2007  matt sync with HEAD
 1.101.16.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.101.4.1  23-Oct-2007  ad Sync with head.
 1.102.16.3  29-Jun-2008  mjf Sync with HEAD.
 1.102.16.2  02-Jun-2008  mjf Sync with HEAD.
 1.102.16.1  03-Apr-2008  mjf Sync with HEAD.
 1.102.12.1  24-Mar-2008  keiichi sync with head.
 1.104.4.5  11-Mar-2010  yamt sync with head
 1.104.4.4  16-Sep-2009  yamt sync with head
 1.104.4.3  16-May-2009  yamt sync with head
 1.104.4.2  04-May-2009  yamt sync with head.
 1.104.4.1  16-May-2008  yamt sync with head.
 1.104.2.2  17-Jun-2008  yamt sync with head.
 1.104.2.1  18-May-2008  yamt sync with head.
 1.105.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.106.12.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.106.6.1  28-Apr-2009  skrll Sync with HEAD.
 1.118.2.3  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.118.2.2  30-Oct-2012  yamt sync with head
 1.118.2.1  17-Apr-2012  yamt sync with head
 1.121.10.3  03-Dec-2017  jdolecek update from HEAD
 1.121.10.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.121.10.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.121.6.1  22-Nov-2012  riz Pull up following revision(s) (requested by chs in ticket #691):
sys/dev/pci/aac_pci.c: revision 1.34
sys/dev/pci/if_sip.c: revision 1.155
sys/dev/pci/if_tlp_pci.c: revision 1.122
sys/dev/pci/if_an_pci.c: revision 1.34
match some more devices.
 1.122.2.1  18-May-2014  rmind sync with head
 1.123.6.1  09-Jul-2016  skrll Sync with HEAD
 1.124.18.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.124.18.1  10-Jun-2019  christos Sync with HEAD
 1.124.16.1  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.129.6.1  13-May-2021  thorpej Sync with HEAD.

RSS XML Feed