Subject: Re: nforce2 support
To: Soren Jacobsen <soren@blef.org>
From: Tracy Di Marco White <netbsd@gendalia.org>
List: port-i386
Date: 04/30/2003 15:12:10
Soren Jacobsen <soren@blef.org> wrote:
>On 04/30 20:16, Matthias Buelow wrote:
>> I'm just curious, is anybody working on supporting the
>> nvidia nforce2 chipset?  I see a lot of unconfigured devices
>> (not that I'd necessarily would want to use them, except
>> perhaps the realcrap chip for a kind of backup connection,
>> it's a server machine):
>
>I've got an nforce2 board as well. The IDE controller does DMA in
>current, which was the only thing I really needed. But it'd be nice to
>have the builtin ethernet (not the 3com one, I think it's a realtek, as
>you say) work.
>
>I haven't tried enabling ACPI yet.

My nforce2 board works great.  The 3com is not realtek, the 3com has a
broadcom phy.  (Given I added the PCI ids, I'm fairly sure of it.)
If you don't want to use current, you can force DMA mode with a flag,
and it's no slower than using the correctly id'd ATA controller.
I added support for my board a couple months ago, with some help from
Jason Thorpe.  Of the not configured things, the only thing I'd like
to use is the nvidia lan, but I have little hope of that working any
time soon since last I checked the driver included things only available
as an object file.

-Tracy


NetBSD 1.6Q (SATAI) #2: Thu Mar 27 21:42:35 CST 2003
	gendalia@satai:/usr/obj/i386/kern/SATAI
total memory = 1023 MB
avail memory = 947 MB
using 6144 buffers containing 52508 KB of memory
BIOS32 rev. 0 found at 0xfb530
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon XP 2100+ (686-class), 1737.40 MHz, id 0x662
cpu0: features c3c3fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features c3c3fbff<PGE,MCA,CMOV,PAT,PSE36,MMXX,MMX>
cpu0: features c3c3fbff<FXSR,SSE,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64b/line 2-way, D-cache 64 KB 64b/line 2-way
cpu0: L2 cache 256 KB 64b/line 16-way
cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
cpu0: 8 page colors
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: vendor 0x10de product 0x01e0 (rev. 0xa2)
agp at pchb0 not configured
vendor 0x10de product 0x01eb (RAM memory, revision 0xa2) at pci0 dev 0 function 1 not configured
vendor 0x10de product 0x01ee (RAM memory, revision 0xa2) at pci0 dev 0 function 2 not configured
vendor 0x10de product 0x01ed (RAM memory, revision 0xa2) at pci0 dev 0 function 3 not configured
vendor 0x10de product 0x01ec (RAM memory, revision 0xa2) at pci0 dev 0 function 4 not configured
vendor 0x10de product 0x01ef (RAM memory, revision 0xa2) at pci0 dev 0 function 5 not configured
pcib0 at pci0 dev 1 function 0
pcib0: vendor 0x10de product 0x0060 (rev. 0xa3)
vendor 0x10de product 0x0064 (SMBus serial bus, revision 0xa2) at pci0 dev 1 function 1 not configured
ohci0 at pci0 dev 2 function 0: vendor 0x10de product 0x0067 (rev. 0xa3)
ohci0: interrupting at irq 11
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x10de OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 2 function 1: vendor 0x10de product 0x0067 (rev. 0xa3)
ohci1: interrupting at irq 5
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x10de OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0 at pci0 dev 2 function 2: vendor 0x10de product 0x0068 (rev. 0xa3)
ehci0: interrupting at irq 11
ehci0: EHCI version 1.0
ehci0: companion controllers, 4 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: vendor 0x10de EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
vendor 0x10de product 0x0066 (ethernet network, revision 0xa1) at pci0 dev 4 function 0 not configured
vendor 0x10de product 0x006b (audio multimedia, revision 0xa2) at pci0 dev 5 function 0 not configured
auich0 at pci0 dev 6 function 0: nForce2 MCP-T AC-97 Audio
auich0: interrupting at irq 5
auich0: Avance Logic ALC650 codec; 20 bit DAC, 18 bit ADC, Realtek 3D
auich0: variable rate audio, double rate output, S/PDIF, center DAC, surround DAC, LFE DAC
audio0 at auich0: full duplex, mmap, independent
ppb0 at pci0 dev 8 function 0: vendor 0x10de product 0x006c (rev. 0xa3)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
pciide0 at pci0 dev 9 function 0: NVIDIA nForce2 IDE Controller (rev. 0xa2)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <Maxtor 6Y120P0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 114 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 240121728 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <HITACHI CDR-8335, , 0008> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
ppb1 at pci0 dev 12 function 0: vendor 0x10de product 0x006d (rev. 0xa3)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
ex0 at pci2 dev 1 function 0: 3Com 3c905CX-TX 10/100 Ethernet with mngmt (rev. 0x40)
ex0: interrupting at irq 11
ex0: MAC address 00:e0:18:f1:49:6e
acphy0 at ex0 phy 2: AC101L 10/100 media interface, rev. 1
acphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fwohci0 at pci0 dev 13 function 0: vendor 0x10de product 0x006e (rev. 0xa3)
fwohci0: interrupting at irq 5
fwohci0: OHCI 1.1, 00:e0:18:00:00:0f:35:b9, 400Mb/s, 2048 max_rec, 4 ir_ctx, 4 it_ctx
ppb2 at pci0 dev 30 function 0: vendor 0x10de product 0x01e8 (rev. 0xa2)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
vga0 at pci3 dev 0 function 0: vendor 0x1002 product 0x4966 (rev. 0x01)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
vendor 0x1002 product 0x496e (miscellaneous display, revision 0x01) at pci3 dev 0 function 1 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
apm0 at mainbus0: Power Management spec V1.2
auich0: measured ac97 link rate at 42544 Hz, will use 48000 Hz
fw0 at fwohci0: 00:e0:18:00:00:0f:35:b9:0a:02:ff:ff:f0:01:00:00
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
IP Filter: v3.4.29 initialized.  Default = pass all, Logging = disabled
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)