Date: Mon, 1 Jul 2002 07:07:54 -0700 (PDT) From: "Thomas D. Dean" <tomdean@speakeasy.org> To: nsouch@free.fr Cc: evantd@hotmail.com, freebsd-hackers@FreeBSD.ORG Subject: Re: AS99127F Hardware Monitor Message-ID: <200207011407.g61E7sCH005717@asus.tddhome> In-Reply-To: <20020701075958.B6932@armor.fastether> (message from Nicolas Souchu on Mon, 1 Jul 2002 07:59:58 %2B0200) References: <F1918Dz34lXoUjpThvi00007ec1@hotmail.com> <200206172232.g5HMWqfK001804@asus.tddhome> <20020701075958.B6932@armor.fastether>
next in thread | previous in thread | raw e-mail | index | archive | help
The ASUS A7N266-E motherboard has the nVidia 420D chipset. Of course, ASUS and nVidia will not provide datasheets... This is not a production machine... # uname -a FreeBSD asus 4.6-STABLE FreeBSD 4.6-STABLE #0: Mon Jun 17 13:15:02 PDT 2002 \ root@asus:/usr/src/sys/compile/ASUS i386 I added some printf's to sys/i386/i386/bios.c and combined this information with the output of bootverbose and pciconf. I modified sys/pci/amdpm.c to recognize the smb part of the chipset but no joy. In SMBus_probe(), I set base to 0x5100. I did manage to get it to display SMBus0: <NVidia nForce Power Management Controller> \ port 0xff00-0xffff,0x5100-0x511f,0x5500-0x550f,0x5000-0x500f \ irq 5 at device 1.1 on pci0 tomdean ======= from bootverbose and pciconf ============================== bios32: Found BIOS32 Service Directory header at 0xc00f2180 bios32: Entry = 0xf1870 (c00f1870) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x1a70 pnpbios: Found PnP BIOS data at 0xc00fbe80 pnpbios: Entry = f0000:beb0 Rev = 1.0 pnpbios: OEM ID cd041 pci_open(1): mode 1 addr port (0x0cf8) is 0x80000000 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=01a410de) Using $PIR table, 14 entries at 0xc00f2070 pcib0: <Host to PCI bridge> on motherboard chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x01a410de rev=0xb2hdr=0x00 vendor = 'Nvidia Corporation' device = 'nForce AGP Controller' class = bridge subclass = HOST-PCI found-> vendor=0x10de, dev=0x01a4, revid=0xb2 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base f8000000, size 26 none0@pci0:0:1: class=0x050000 card=0x0c111043 chip=0x01ac10de rev=0xb2hdr=0x00 vendor = 'Nvidia Corporation' device = 'nForce 220/420 Memory Controller' class = memory subclass = RAM found-> vendor=0x10de, dev=0x01ac, revid=0xb2 class=05-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 pci0: <unknown card> (vendor=0x10de, dev=0x01ac) at 0.1 none1@pci0:0:2: class=0x050000 card=0x0c111043 chip=0x01ad10de rev=0xb2hdr=0x00 vendor = 'Nvidia Corporation' device = 'nForce 220/420 Memory Controller' class = memory subclass = RAM found-> vendor=0x10de, dev=0x01ad, revid=0xb2 class=05-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 pci0: <unnown card> (vendor=0x10de, dev=0x01ad) at 0.2 none2@pci0:0:3: class=0x050000 card=0x0c111043 chip=0x01ab10de rev=0xb2hdr=0x00 vendor = 'Nvidia Corporation' device = 'nForce 420 Memory Controller (DDR)' class = memory subclass = RAM found-> vendor=0x10de, dev=0x01ab, revid=0xb2 class=05-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 pci0: <unknown card> (vendor=0x10de, dev=0x01ab) at 0.3 isab0@pci0:1:0: class=0x060100 card=0x0c111043 chip=0x01b210de rev=0xc3hdr=0x00 vendor = 'Nvidia Corporation' device = 'nForce HUB Interface' class = bridge subclass = PCI-ISA found-> vendor=0x10de, dev=0x01b2, revid=0xc3 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 none3@pci0:1:1: class=0x0c0500 card=0x0c111043 chip=0x01b410de rev=0xc1hdr=0x00 vendor = 'Nvidia Corporation' device = 'nForce SMBus Controller' class = serial bus subclass = SMBus found-> vendor=0x10de, dev=0x01b4, revid=0xc1 class=0c-05-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=5 map[10]: type 1, range 32, base 00005000, size 4 map[14]: type 1, range 32, base 00005500, size 4 map[18]: type 1, range 32, base 00005100, size 5 pci0: <unknown card> (vendor=0x10de, dev=0x01b4) at 1.1 irq 5 ohci0@pci0:2:0: class=0x0c0310 card=0x0c111043 chip=0x01c210de rev=0xc3hdr=0x00 vendor = 'Nvidia Corporation' device = 'nForce OHCI USB Controller' class = serial bus subclass = USB found-> vendor=0x10de, dev=0x01c2, revid=0xc3 class=0c-03-10, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base ef000000, size 12 ohci0: <OHCI (generic) USB controller> mem 0xef000000-0xef000fff \ irq 10 at device 2.0 on pci0 ohci0: (New OHCI DeviceId=0x01c210de) usb0: OHCI version 1.0 usb0: <OHCI (generic) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1@pci0:3:0: class=0x0c0310 card=0x0c111043 chip=0x01c210de rev=0xc3hdr=0x00 vendor = 'Nvidia Corporation' device = 'nForce OHCI USB Controller' class = serial bus subclass = USB found-> vendor=0x10de, dev=0x01c2, revid=0xc3 class=0c-03-10, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base ee800000, size 12 ohci1: <OHCI (generic) USB controller> mem 0xee800000-0xee800fff irq 10 \ at device 3.0 on pci0 ohci1: (New OHCI DeviceId=0x01c210de) using shared irq10. usb1: OHCI version 1.0 usb1: <OHCI (generic) USB controller> on ohci1 usb1: USB revision 1.0 uhub1: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered pcib1@pci0:8:0: class=0x060400 card=0x00000044 chip=0x01b810de rev=0xc2hdr=0x01 vendor = 'Nvidia Corporation' device = 'nForce PCI Bridge' class = bridge subclass = PCI-PCI found-> vendor=0x10de, dev=0x01b8, revid=0xc2 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1 secondarybus=1 pcib1: <PCI to PCI bridge (vendor=10de device=01b8)> at device 8.0 on pci0 pci1: <PCI bus> on pcib1 atapci0@pci0:9:0:class=0x01018acard=0x0c111043 chip=0x01bc10de rev=0xc3hdr=0x00 vendor = 'Nvidia Corporation' device = 'nForce ATA Controller' class = mass storage subclass = ATA found-> vendor=0x10de, dev=0x01bc, revid=0xc3 class=01-01-8a, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 0000b800, size 4 atapci0: <nVIDIA nForce ATA100 controller> port 0xb800-0xb80f\ at device 9.0 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xb800 ata0: mask=03 ostat0=50 ostat2=50 ata0-master: ATAPI 00 00 ata0-slave: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=50 ata0-master: ATA 01 a5 ata0-slave: ATA 01 a5 ata0: devices=03 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xb808 ata1: mask=03 ostat0=50 ostat2=00 ata1-slave: ATAPI 7f 7f ata1-master: ATAPI 14 eb ata1: mask=03 stat0=00 stat1=00 ata1: devices=04 ata1: at 0x170 irq 15 on atapci0 pcib2@pci0:30:0: class=0x060400card=0x00000000 chip=0x01b710de rev=0xb2hdr=0x01 vendor = 'Nvidia Corporation' device = 'nForce AGP Host to PCI Bridge' class = bridge subclass = PCI-PCI found-> vendor=0x10de, dev=0x01b7, revid=0xb2 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=2 secondarybus=2 pcib2: <PCI to PCI bridge (vendor=10de device=01b7)> at device 30.0 on pci0 pci2: <PCI bus> on pcib2 pci2: <ATI model 5159 graphics accelerator> (vendor=0x1002, dev=0x5159)\ at 0.0 irq 11 rl0@pci1:2:0: class=0x020000 card=0x805b1043 chip=0x813910ec rev=0x10hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RT8139 (A/B/C/8130) Fast Ethernet Adapter' class = network subclass = ethernet rl0: <RealTek 8139 10/100BaseTX> port 0xc800-0xc8ff \ mem 0xed000000-0xed0000ff irq 5 at device 2.0 on pci1 rl0: Ethernet address: 00:e0:18:5a:03:fc miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto found-> vendor=0x10ec, dev=0x8139, revid=0x10 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=5 map[10]: type 1, range 32, base 0000c800, size 8 map[14]: type 1, range 32, base ed000000, size 8 none4@pci2:0:0: class=0x030000 card=0x003a1002 chip=0x51591002 rev=0x00hdr=0x00 vendor = 'ATI Technologies' device = 'Radeon VE QY' class = display subclass = VGA found-> vendor=0x1002, dev=0x5159, revid=0x00 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base f0000000, size 27 map[14]: type 1, range 32, base 0000a800, size 8 map[18]: type 1, range 32, base ec800000, size 16 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207011407.g61E7sCH005717>