Commit Graph

47 Commits

Author SHA1 Message Date
oster
8084d0b099 Recognize another Intel PRO/100 VM Network Controller. 2006-07-30 21:09:00 +00:00
jmcneill
052a8ad2ad Restore PCI configuration space on resume. 2006-06-19 13:56:29 +00:00
christos
63bbcb495a re-factor the pci powestate api. reviewed by gimpy 2006-06-17 23:34:26 +00:00
christos
eec1348ff2 PR/32494: Dennis Chernoivanov: Intel PRO/100 VE (LOM) not detected on Sony Vaio 2006-01-10 20:31:36 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
cube
ad858fce1a New Dell Day, continued: add support for the fxp(4) variant in the
802801G* family of SB.
2005-07-29 13:13:34 +00:00
riz
d8dda9700a Add support for the 82801FB (ICH6) 10/100 ethernet appearing
on new Intel motherboards.  From Brian Buhrow in PR#30025.
Approved by jmcneill.
2005-05-18 20:33:46 +00:00
perry
f31bd063e9 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
thorpej
d0fcfb4c3a Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
briggs
76578c302d 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.
2004-04-28 04:12:16 +00:00
drochner
8acd734e5f deal with 82801EB/ER (ICH5) Network Controller 2004-03-12 13:22:28 +00:00
jdolecek
3a6c7eacfc 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
2003-09-13 12:13:29 +00:00
nonaka
fcfc3fe7cb Add support for another Intel Pro/100 variant. 2003-08-14 07:59:39 +00:00
bouyer
ab8781bdb6 Add support for another Intel Pro/100 variant. From Quentin Garnier in
private mail.
2003-06-28 23:04:50 +00:00
jdolecek
635035691e 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
2003-03-14 22:04:03 +00:00
grant
72f6291506 add Intel PRO/100M.
from Quentin Garnier in PR kern/20400.
2003-02-18 00:11:53 +00:00
thorpej
7ec10e2d99 Use aprint_*(). 2003-01-31 00:07:39 +00:00
tsutsui
238efe4697 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?
2002-12-23 02:58:36 +00:00
thorpej
b75a007d9f Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
thorpej
387fc6dc87 Use CFATTACH_DECL(). 2002-09-30 20:37:04 +00:00
thorpej
f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
itojun
1eb6ef2a80 don't go into D3 state if revision <= 82558_B0. PR 18011 2002-09-27 14:54:08 +00:00
abs
332c0b2de1 Recognise the Intel PRO/100 VM Network Controller as seen in the HP
omnibook 6100.
2002-09-18 16:45:01 +00:00
msaitoh
5e26ad6017 add support intel C-ICH's embeded Ether MACs.
Tested on RadiSys Endura CH815C (http://www.radisys.com/)
2002-07-22 08:25:45 +00:00
cjs
f9218e5010 Match PCI IDs of new PRO/100 chips. 2002-06-22 08:09:06 +00:00
thorpej
769ca97e2b 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.
2002-04-04 23:15:43 +00:00
lukem
9048aaae21 add RCSID 2001-11-13 07:48:40 +00:00
itojun
9d7baa72da recognize fxp on IBM thinkpad T23. from akimichi@wide.ad.jp 2001-11-02 03:40:47 +00:00
thorpej
de108bd82d 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.
2001-08-05 23:39:59 +00:00
thorpej
3d98de578f Remove unnecessary include files. From Onno van der Linden. 2001-07-08 17:55:50 +00:00
thorpej
9988acd41e Don't need INET or NS includes here. 2001-06-12 22:28:15 +00:00
thorpej
6e2bc5b352 Enable the PCI MWI command for memory writes on the i82558 and
higher.
2001-05-22 16:05:01 +00:00
thorpej
a5a03e13dd Report 82558, 82559, etc. based on chip revision. Also, remember which
revsion we have for feature enables later.
2001-05-22 01:23:25 +00:00
thorpej
afdab0cab8 The ICH3 also has the Resume Bug. 2001-05-21 22:12:08 +00:00
thorpej
b4538a0165 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.
2001-05-21 21:47:52 +00:00
sommerfeld
851de295eb 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
2000-12-28 22:59:06 +00:00
ad
4a8619ae15 Match the i82562. 2000-09-27 10:54:55 +00:00
jhawk
859057e6b3 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.
2000-07-15 21:36:19 +00:00
mycroft
bd8f07c394 Recognize the i82559ER. 2000-07-09 00:46:26 +00:00
jhawk
e0292df01c 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.
2000-05-12 18:46:33 +00:00
jhawk
421c001447 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.
2000-05-12 13:46:31 +00:00
jhawk
cd552bf956 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.
2000-05-12 03:37:40 +00:00
thorpej
93eb82ff2f Recognize the Intel InBusiness. 2000-03-16 23:41:40 +00:00
drochner
7360584deb use BUS_SPACE_MAP_PREFETCHABLE instead BUS_SPACE_MAP_CACHEABLE where the
PCI BAR bit is referred to
(XXX is the hack still necessary?)
2000-01-25 22:31:06 +00:00
thorpej
014cd3fcc1 Take a stab at making this work on big-endian systems. 1999-12-12 17:46:36 +00:00
sommerfeld
db05febdfa 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.
1999-10-30 16:07:58 +00:00
thorpej
4a0270a264 Intel i82557 driver is now split into bus and chip bits. 1999-06-20 16:35:40 +00:00