Date: Wed, 14 Feb 1996 11:14:11 -0800 From: "Justin T. Gibbs" <gibbs@freefall.freebsd.org> To: Richard J Kuhns <rjk@sparcmill.grauel.com> Cc: freebsd-stable@freebsd.org Subject: Re: One problem && one question Message-ID: <199602141914.LAA07554@freefall.freebsd.org> In-Reply-To: Your message of "Wed, 14 Feb 1996 11:33:20 %2B0500." <9602141633.AA00264@sparcmill.grauel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>Justin T. Gibbs writes: > > > Ahh. It did make a difference. Unfortunately, when I was cleaning > > up the bt driver, I assumed that the PCI probe would always return > > one of the ISA compatibility addresses. As Rod pointed out, this is > > not always the case. This patch should do the trick > > > >... and there was great rejoicing. Here's the dmesg output; I find it >interesting that the isa probe code apparently still tries to look for a bt >card. Having a line in your config file like: controller bt0 Will give you a pci and eisa probe so long as the pci and eisa busses are defined in your config file. An entry like: controller bt0 at isa? ... Gives you an ISA/EISA and PCI probe and so its what is in our GENERIC kernel config file. You can prevent the ISA probe by using a config line without the "at isa?" part. One thing that would be interesting to know is if your card can be probed twice (ie found by the ISA probe after a successfull PCI probe). Can you add a "controller bt1 at isa? ..." entry into your config file in addition to the one you have and see what happens? The probe won't even attempt to look at the card if its out of unit numbers, so the ouput you give below isn't enough to prove that we can't double probe the card. >Thanks a lot. Sorry it took so many itterations. >-- >Rich Kuhns rjk@grauel.com >PO Box 6249 >100 Sawmill Road >Lafayette, IN 47903 >(317)477-6000 x319 > >== >FreeBSD 2.1-STABLE #0: Wed Feb 14 11:25:54 EST 1996 > rjk@watson.grauel.com:/prog/2.1-STABLE/src/sys/compile/BTTEST >CPU: 100-MHz Pentium 815\\100 (Pentium-class CPU) > Origin = "GenuineIntel" Id = 0x525 Stepping=5 > Features=0x1bf<FPU,VME,PSE,MCE,CX8,APIC> >real memory = 33554432 (32768K bytes) >avail memory = 30728192 (30008K bytes) >pcibus_setup(1): mode1res=0x80000000 (0x80000000), mode2res=0xff (0x0e) >pcibus_setup(2): mode1res=0x80000000 (0x80000000) >pcibus_check: device 0 is there (id=04061039) >Probing for devices on PCI bus 0: > configuration mode 1 allows 32 devices. >chip0 <SiS 85c501> rev 0 on pci0:0 >chip1 <SiS 85c503> rev 0 on pci0:1 >bt0 <Buslogic 946 SCSI host adapter> rev 0 int a irq 10 on pci0:13 > mapreg[10] type=1 addr=00006000 size=ffff0004. >bt0: Bt946C/ 0-(32bit) bus >bt0: reading board settings, busmastering, int=10 >bt0: version 4.25J, fast sync, parity, 32 mbxs, 32 ccbs >bt0: targ 0 sync rate=10.00MB/s(100ns), offset=15 >bt0: targ 5 sync rate= 5.00MB/s(200ns), offset=11 >bt0: Using Strict Round robin scheme >bt0 waiting for scsi devices to settle >(bt0:0:0): "MICROP 3243-19MZ Q4D HT02" type 0 fixed SCSI 2 >sd0(bt0:0:0): Direct-Access 4095MB (8388315 512 byte sectors) >sd0(bt0:0:0): with 3956 cyls, 19 heads, and an average 111 sectors/track >(bt0:5:0): "EXABYTE EXB-82058VQANXR1 0790" type 1 removable SCSI 2 >st0(bt0:5:0): Sequential-Access density code 0x0, drive empty >(bt0:6:0): "Chinon CD-ROM CDS-525 V09" type 5 removable SCSI 2 >cd0(bt0:6:0): CD-ROM >cd0(bt0:6:0): UNIT ATTENTION asc:2a,0 Parameters changed >cd present.[400000 x 2048 byte records] >pci0: uses 4 bytes of I/O space from 6000 upto 6003. >Probing for devices on the ISA bus: >sc0 at 0x60-0x6f irq 1 on motherboard >sc0: VGA color <16 virtual consoles, flags=0x0> >ed0 at 0x280-0x29f irq 5 maddr 0xd8000 msize 16384 on isa >ed0: address 00:00:c0:15:00:ab, type SMC8216/SMC8216C (16 bit) >sio0 at 0x3f8-0x3ff irq 4 on isa >sio0: type 16550A >sio1 at 0x2f8-0x2ff irq 3 on isa >sio1: type 16550A >lpt0 at 0x378-0x37f irq 7 on isa >lpt0: Interrupt-driven port >lp0: TCP/IP capable interface >pca0 on motherboard >pca0: PC speaker audio driver >fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa >fdc0: NEC 72065B >fd0: 1.44MB 3.5in >bt: unit number (1) too high >bt0 not found at 0x330 >npx0 on motherboard >npx0: INT 16 interface >changing root device to sd0a >BIOS Geometries: > 0:03ff3f20 0..1023=1024 cylinders, 0..63=64 heads, 1..32=32 sectors > 0 accounted for >sd0s1: type 0xa5, start 0, end = 8388314, size 8388315 : OK -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations ===========================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602141914.LAA07554>