On 16-Mar-2003 FUJITA Kazutoshi wrote:
>> Could I have you both try this patch and mail me the entire output og
>> dmesg with it applied ? (patch against a clean -current)
> 
> ata-chipset.c can't be compiled which applied your patch ;-)
> 
> 
>> Index: ata-chipset.c
> 
>> @@ -1576,6 +1577,7 @@
>>       }
>>      }
>>      else {
>> +printf("1 reg 0x48=%02x\n", pci_read_config(dev, 0x48, 1));
> 
> => printf("1 reg 0x48=%02x\n", pci_read_config(parent, 0x48, 1));
> 
> so I modified like above by hand, and compile & install kernel.

Same here. dmesg output is attached.

Regards,
Julian Stecklina
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #2: Sun Mar 16 16:24:33 CET 2003
    [EMAIL PROTECTED]:/usr/src/sys/i386/compile/BSD5ROUTER
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0493000.
Timecounter "i8254"  frequency 1193182 Hz
CPU: Unknown CPU Type (2008.53-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 536870912 (512 MB)
avail memory = 516460544 (492 MB)
Allocating major#253 to "net"
Allocating major#252 to "pci"
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00fd7b0
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <SIS Generic host to PCI bridge> mem 0xe0000000-0xe3ffffff at device 0.0 o
n pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
ohci0: <SiS 5571 USB controller> mem 0xe9003000-0xe9003fff irq 5 at device 2.2 o
n pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xe9000000-0xe9000fff irq 11 at device 2.3 
on pci0
usb1: OHCI version 1.0, legacy support
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
atapci0: <SiS 745 UDMA100 controller> port 0x4000-0x400f at device 2.5 on pci0
0 reg 0x48=28
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: <SiS 7012> port 0xdc00-0xdc3f,0xd800-0xd8ff irq 9 at device 2.7 on pci0
pcm0: <Unknown AC97 Codec (id = 0x414c4730)>
pcm1: <Creative EMU10K1> port 0xe000-0xe01f irq 9 at device 12.0 on pci0
pcm1: <SigmaTel STAC9721/23 AC97 Codec>
pci0: <network> at device 13.0 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0xec00-0xecff mem 0xe9002000-0xe90020ff ir
q 11 at device 14.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
rl0: Ethernet address: 00:50:bf:d4:6f:b3
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROMs> at iomem 0xef000-0xeffff,0xc0000-0xcffff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f
0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Allocating major#251 to "devstat"
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to den
y, logging disabled
DUMMYNET initialized (011031)
1 reg 0x48=28
ad0: DMA limited to UDMA33, non-ATA66 cable or device
ad0: 38166MB <ST340823A> [77545/16/63] at ata0-master UDMA33
1 reg 0x48=28
ata1-master: DMA limited to UDMA33, non-ATA66 cable or device
acd0: CDROM <ASUS CD-S500/A> at ata1-master UDMA33
pcm0: measured ac97 link rate at 341333333 Hz
Mounting root from ufs:/dev/ad0s1a

Reply via email to