Date: Wed, 26 Feb 2003 13:55:56 -0500 (EST) From: Andrew Gallatin <gallatin@cs.duke.edu> To: sos@freebsd.org Cc: current@freebsd.org Subject: UDMA66 vs ATAPI_DEVICE(atadev)? Message-ID: <15965.3516.794342.137264@grasshopper.cs.duke.edu>
next in thread | raw e-mail | index | archive | help
Hi Soren, After recent ATA commits, my Promise UDMA66 controller is now running its drives in PIO4 mode. Previously, UDMA66 was working fine. Here's a dmesg snippet: atapci0: <Promise UDMA66 controller> port 0xdf00-0xdf3f,0xdfe0-0xdfe3,0xdfa8-0xd faf,0xdfe4-0xdfe7,0xdff0-0xdff7 mem 0xfc8a0000-0xfc8bffff irq 2 at device 2.0 on pci0 ata2: at 0xdff0 on atapci0 ata3: at 0xdfa8 on atapci0 <..> ad4: 19092MB <ST320414A> [38792/16/63] at ata2-master PIO4 The controller itself looks like this: atapci0@pci0:2:0: class=0x018000 card=0x4d33105a chip=0x4d38105a rev=0x01 hdr=0x00 vendor = 'Promise Technology Inc' device = 'PDC20262 FastTrak66 EIDE Controller' class = mass storage I've found that I can recover from this problem by forcing ATAPI_DEVICE() to always return 1. It seems to want to return 0 for devices not on the primary ata controller. I'm confused.. What's the point of ATAPI_DEVICE()? Am I not allowed to use extra controllers anymore? Thanks, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15965.3516.794342.137264>