Subject: Promise ATA 100
To: None <netbsd-help@netbsd.org>
From: Matt Herzog <mherzog@mediaone.net>
List: netbsd-help
Date: 11/29/2000 19:07:10
Hi. Guess what? The Promise ATA 100 i/o card works nicely
on my i386 NetBSD 1.4.3 machine. You might want to update 
the Supported Hardware page. Yah!

pciide1 at pci0 dev 17 function 0: Promise Ultra100/ATA Bus Master IDE Accelerat
or (rev. 0x02)
pciide1: bus-master DMA support present
pciide1: primary channel configured to native-PCI mode
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <Maxtor 51024U2>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 9770MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 20010816 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
pciide1: secondary channel configured to native-PCI mode
pciide1: disabling secondary channel (no drives)

Any idea what I can use in the kernel config for this part?

# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
wd*     at wdc? channel ? drive ? flags 0x0000 
wd*     at pciide? channel ? drive ? flags 0x0000

I don't understand the hex part.
-- 
Matt Herzog 		Unix Systems Administrator
Powered By NetBSD       www.netbsd.org