Subject: Re: Intel PRO/100 VE not recognised on Sony Vaio
To: Dennis Chernoivanov <cdi@mawhrin.net>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: port-i386
Date: 01/09/2006 16:02:02
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--9amGYk9869ThD9tj
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed
Content-ID: <20060109160139.O38232@arbitor.digitalfreaks.org>
Content-Disposition: INLINE



On Mon, 9 Jan 2006, Dennis Chernoivanov wrote:

> Hi,
>
> handle this card differently to other PRO/100 clones so I made a trivial patch

Don't forget to send-pr(1)

~BAS

> (attached) which works fine for me. Please let me know if it is ok to commit
> it.
>
--9amGYk9869ThD9tj
Content-Type: TEXT/PLAIN; CHARSET=us-ascii
Content-ID: <20060109160139.A38232@arbitor.digitalfreaks.org>
Content-Description: 
Content-Disposition: ATTACHMENT; FILENAME=fxp.diff

Index: if_fxp_pci.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_fxp_pci.c,v
retrieving revision 1.43
diff -u -r1.43 if_fxp_pci.c
--- if_fxp_pci.c	11 Dec 2005 12:22:49 -0000	1.43
+++ if_fxp_pci.c	9 Jan 2006 16:50:07 -0000
@@ -130,6 +130,8 @@
 	  "Intel PRO/100 VE Network Controller with 82562ET/EZ (CNR) PHY" },
 	{ PCI_PRODUCT_INTEL_PRO_100_VE_4,
 	  "Intel PRO/100 VE (MOB) Network Controller" },
+	{ PCI_PRODUCT_INTEL_PRO_100_VE_5,
+	  "Intel PRO/100 VE (LOM) Network Controller" },
 	{ PCI_PRODUCT_INTEL_PRO_100_VM_0,
 	  "Intel PRO/100 VM Network Controller" },
 	{ PCI_PRODUCT_INTEL_PRO_100_VM_1,
@@ -401,6 +403,7 @@
 	case PCI_PRODUCT_INTEL_PRO_100_VE_2:
 	case PCI_PRODUCT_INTEL_PRO_100_VE_3:
 	case PCI_PRODUCT_INTEL_PRO_100_VE_4:
+	case PCI_PRODUCT_INTEL_PRO_100_VE_5:
 	case PCI_PRODUCT_INTEL_PRO_100_VM_3:
 	case PCI_PRODUCT_INTEL_PRO_100_VM_4:
 	case PCI_PRODUCT_INTEL_PRO_100_VM_5:
Index: pcidevs.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs.h,v
retrieving revision 1.756
diff -u -r1.756 pcidevs.h
--- pcidevs.h	2 Jan 2006 23:12:50 -0000	1.756
+++ pcidevs.h	9 Jan 2006 16:50:18 -0000
@@ -1735,6 +1735,7 @@
 #define	PCI_PRODUCT_INTEL_82801EB_LAN	0x1051		/* 82801EB/ER 10/100 Ethernet */
 #define	PCI_PRODUCT_INTEL_PRO_100_M	0x1059		/* PRO/100 M Network Controller */
 #define	PCI_PRODUCT_INTEL_82801FB_LAN	0x1064		/* 82801FB 10/100 Ethernet */
+#define	PCI_PRODUCT_INTEL_PRO_100_VE_5	0x1068		/* PRO/100 VE (LOM) Network Controller */
 #define	PCI_PRODUCT_INTEL_82547GI	0x1075		/* i82547GI Gigabit Ethernet */
 #define	PCI_PRODUCT_INTEL_82541GI	0x1076		/* i82541GI Gigabit Ethernet */
 #define	PCI_PRODUCT_INTEL_82541GI_MOBILE	0x1077		/* i82541GI Mobile Gigabit Ethernet */
Index: pcidevs_data.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs_data.h,v
retrieving revision 1.755
diff -u -r1.755 pcidevs_data.h
--- pcidevs_data.h	2 Jan 2006 23:12:50 -0000	1.755
+++ pcidevs_data.h	9 Jan 2006 16:50:28 -0000
@@ -5836,6 +5836,10 @@
 	    "82801FB 10/100 Ethernet",
 	},
 	{
+	    PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_PRO_100_VE_5,
+	    "PRO/100 VE (LOM) Network Controller",
+	},
+	{
 	    PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82547GI,
 	    "i82547GI Gigabit Ethernet",
 	},

--9amGYk9869ThD9tj
Content-Type: TEXT/PLAIN; CHARSET=us-ascii
Content-ID: <20060109160139.O38232@arbitor.digitalfreaks.org>
Content-Description: 
Content-Disposition: ATTACHMENT; FILENAME=falcon.dmesg

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.99.15 (FALCON) #0: Mon Jan  9 19:52:23 MSK 2006
	cdi@:/home/cdi/src/netbsd/cur/sys/arch/i386/compile/FALCON
total memory = 510 MB
avail memory = 496 MB
BIOS32 rev. 0 found at 0xfd6a0
PCI BIOS rev. 2.1 found at 0xfd911
PCI IRQ Routing Table rev. 1.0 found at 0xfdeb0, size 0 bytes (-2 entries)
pcibios_pir_init: bad IRQ table size
PCI BIOS has 17 Interrupt Routing table entries
mainbus0 (root)
pci_addr_fixup: 000:31:1 0x8086 0x266f new address 0x00005800
pci_addr_fixup: 000:31:1 0x8086 0x266f new address 0x00005808
pci_addr_fixup: 000:31:1 0x8086 0x266f new address 0x00005810
pci_addr_fixup: 000:31:1 0x8086 0x266f new address 0x0000580c
pci_addr_fixup: 002:05:0 0x104c 0xac8e new address 0x1ff00000
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium M (Dothan) (686-class), 798.05 MHz, id 0x6d8
cpu0: features afe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features afe9fbff<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features afe9fbff<FXSR,SSE,SSE2,SS,TM,SBF>
cpu0: features2 180<EST,TM2>
cpu0: "Intel(R) Pentium(R) M processor 1.73GHz"
cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
cpu0: L2 cache 2 MB 64B/line 8-way
cpu0: using thermal monitor 2
cpu0: Enhanced SpeedStep running at 600 MHz (988 mV)
cpu0: unknown Enhanced SpeedStep CPU
cpu0: 64 page colors
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20050408
acpi0: X/RSDT: OemId <  Sony,      V0,20050523>, AslId <PTL ,00000000>
acpi0: SCI interrupting at int 9
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
PNP0A08 [ACPI Three-wire Device Bus] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
INT0800 at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
npx1 at acpi0 (PNP0C04)
npx1: io 0xf0 irq 13
npx1: using exception 16
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
attimer1 at acpi0 (PNP0100): AT Timer
attimer1: io 0x40-0x43,0x50-0x53 irq 0
acpiec0 at acpi0 (PNP0C09): ACPI Embedded Controller
acpiec0: io 0x62,0x66
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
sony0 at acpi0 (SNY5001): Sony Miscellaneous Controller
pckbc1 at acpi0 (PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
pckbc2 at acpi0 (SNY9001): aux port
pckbc2: irq 12
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
acpitz0: passive cooling mode only
acpitz0: critical 99.9C passive 35.9C
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82915PM/GM/GMS,82910GML Host Bridge (rev. 0x03)
ppb0 at pci0 dev 1 function 0: Intel 82915PM/GM PCI Express Graphics Port (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vga1 at pci1 dev 0 function 0: NVIDIA product 0x0167 (rev. 0xa1)
vga1: WARNING: ignoring 64-bit BAR @ 0x14
vga1: WARNING: ignoring 64-bit BAR @ 0x1c
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at irq 10
azalia0: host: 82801FB/FR High Definition Audio Controller (rev. 3)
azalia0: host: High Definition Audio rev. 1.0
uhci0 at pci0 dev 29 function 0: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci1: interrupting at irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci2: interrupting at irq 3
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci3: interrupting at irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801FB/FR USB EHCI Controller (rev. 0x03)
ehci0: interrupting at irq 10
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb1 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0xd3)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
cbb0 at pci2 dev 5 function 0: Texas Instruments product 0xac8e (rev. 0x00)
fwohci0 at pci2 dev 5 function 2: Texas Instruments product 0x802e (rev. 0x00)
fwohci0: interrupting at irq 10
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 08:00:46:03:00:e9:ed:a2
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
Texas Instruments product 0xac8f (miscellaneous mass storage) at pci2 dev 5 function 3 not configured
fxp0 at pci2 dev 8 function 0: Intel PRO/100 VE (LOM) Network Controller, rev 3
fxp0: interrupting at irq 10
fxp0: Ethernet address 00:01:4a:85:08:f7
OUI 0x005500 model 0x0033 rev 0 at fxp0 phy 1 not configured
iwi0 at pci2 dev 11 function 0: Intel PRO/Wireless LAN 2200BG Mini-PCI Adapter (rev. 0x05)
iwi0: interrupting at irq 10
iwi0: 802.11 address 00:13:ce:55:de:dc
iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
cbb0: bad Vcc request. sock_ctrl 0xffffff88, sock_status 0xffffffff
cbb0: disabling socket
new status 0xffffffff
cbb0: interrupting at irq 3
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801FBM ICH6M LPC Interface Bridge (rev. 0x03)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801FB IDE Controller (ICH6) (rev. 0x03)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel ignored (disabled)
piixide1 at pci0 dev 31 function 2
piixide1: Intel 82801FBM Serial ATA Controller (ICH6) (rev. 0x03)
piixide1: bus-master DMA support present
piixide1: primary channel configured to native-PCI mode
piixide1: using irq 5 for native-PCI interrupt
atabus1 at piixide1 channel 0
piixide1: secondary channel configured to native-PCI mode
atabus2 at piixide1 channel 1
Intel 82801FB/FR SMBus Controller (SMBus serial bus, revision 0x03) at pci0 dev 31 function 3 not configured
isa0 at pcib0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
pcppi0: attached to attimer1
isapnp0: no ISA Plug 'n Play devices found
WARNING: Callback scheduled before sysmon task queue thread present.
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
azalia0: codec: Realtek ALC260 (rev. 3.0)
azalia0: codec: High Definition Audio rev. 1.0
azalia0: playback: encodings=1<PCM>
azalia0: playback: PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0: playback: max channels=2
azalia0: recording: encodings=1<PCM>
azalia0: recording: PCM formats=60160<20bit,16bit,96kHz,48kHz,44.1kHz>
azalia0: recording: max channels=2
azalia0: codec: 0x14f1/0x2bfa (rev. 0.0)
azalia0: codec: High Definition Audio rev. 0.9
azalia0: codec[1]: No audio functions
audio0 at azalia0: full duplex, independent
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <MATSHITAUJ-832D, , 1.02> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
wd0 at atabus1 drive 0: <HTS541060G9SA00>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 57231 MB, 116280 cyl, 16 head, 63 sec, 512 bytes/sect x 117210240 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide1:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)

--9amGYk9869ThD9tj--