Subject: Re: NVIDIA NFORCE2_ATA133 0x0065 nForce2 ATA133 IDE
To: None <netbsd-users@netbsd.org>
From: Jorgen Lundman <lundman@lundman.net>
List: netbsd-users
Date: 10/09/2003 16:44:52
Heh nevermind, back-ported it just fine, needed to change:

-rw-r--r--  1 root  wsrc   95877 Oct  9 01:49 pcidevs
-rw-r--r--  1 root  wsrc  140439 Oct  9 01:48 pciide.c
-rw-r--r--  1 root  wsrc    3668 Oct  9 02:19 pciide_amd_reg.h
-rw-r--r--  1 root  wsrc    3467 Oct  9 02:45 pciidevar.h

pciide1 at pci0 dev 9 function 0: NVIDIA nForce2 IDE Controller (rev. 0xa2)
pciide1: bus-master DMA support present
pciide1: primary channel configured to compatibility mode
wd2: 232 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pciide1: primary channel interrupting at irq 14
wd2(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data
  transfers)
wd3: 232 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd3: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pciide1: secondary channel interrupting at irq 15
wd3(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data
  transfers)


Very nice, thanks to the person who did the real work.

Sincerely,

Lund



Jorgen Lundman wrote:
> 
> I have stock 1.6.1-x86 which report:
> 
> pciide1: bus-master DMA support present, but unused (no driver support)
> pciide1: primary channel configured to compatibility mode
> pciide1: primary channel interrupting at irq 14
> 
> 
> I had a look around and this appears to be available in -current, but 
> diffing in dev/pci you guys have changed some 20k files (how 
> inconsiderate!).
> 
> Looking for the keywords from pcidevs I only see changes in pciide.c.
> 
> Is there a good way to find the diff I need to back port it for my own 
> kernel? Just the pcidevs entry to point to "amd7x6_chip_map" ? (Can't be 
> that easy).
> 
> Sincerely,
> 
> Lundy
> 
> 
> 

-- 
Jorgen Lundman       | <lundman@lundman.net>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)