Subject: Re: cmdide.c: CMD Technology product 0x0680
To: None <port-i386@netbsd.org>
From: Giles Lean <giles@nemeton.com.au>
List: port-i386
Date: 03/09/2004 17:35:51
--=-=-=

Hanspeter Roth <hampi@rootshell.be> wrote:

> I have an i386 with CMD Technology product 0x0680 RAID controllers.
> The kernel doesn't recognize them:
> 
> CMD Technology product 0x0680 (RAID mass storage, revision 0x02) at pci0 dev 10 function 0 not configured
> 
> I'm running NetBSD 1.6.2.

Others have suggested running -current; an alternative is to back port
the driver from -current to 1.6.2, if the driver will work with that
RAID card.  (Is it really RAID, or is it "RAID" of the Windows driver
variety?)

Back porting the driver is pretty simple; I dug the changes out of one
time and someone else (Matt Green?) did too and posted about it to one
of the mailing lists.

NetBSD 1.6.2 (GENERIC) #1: Mon Feb 23 20:37:18 EST 2004
    unpriv@nemeton.com.au:/usr/local/NetBSD/netbsd-1-6/obj/sys/arch/i386/compile/GENERIC
...
pciide0 at pci1 dev 13 function 0: Silicon Image 0680 (rev. 0x02)
pciide0: bus-master DMA support present
pciide0: primary channel configured to native-PCI mode
pciide0: using irq 9 for native-PCI interrupt
...

I've put the diffs I'm currently using and an i386 GENERIC kernel
up for ftp at:

   ftp://ftp.nemeton.com.au/pub/netbsd/1.6-silicon-image/

Use them as you like; as always with free software there is no warranty
and if it breaks you get to keep all the pieces.

Cheers,

Giles

MD5 (README.giles) = 5cfcf3e90dec4af2fe230ea6f32de986
MD5 (netbsd-GENERIC-i386) = fdcd0eaa1f6e36505461612334c24201
MD5 (pcidevs-diff) = a563b0735aaf69c8a31b0cf2d99748a3
MD5 (pciide.c-diff) = 75fb1f27bc6c94bcbb356330fc4b8adb

--
Giles Lean <giles@nemeton.com.au>





--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iQCVAwUBQE1ltmFrjZTaaO5BAQE2xQQAqMhJUEk8US52onyWN9qU52Bn0D1sgOi5
1XVu3dqNfv6bmysllboUM6heEPuQ338AYaENJgpQDwRE+VncwzN9a6xztXJg5ZwV
/CBMk+JW37NWYodNYT2D0TJxeKDxJm0qVkh/pJQgMxAqohOHcpkuI+CsDzcYbN5R
sO2OhfiEAns=
=kp0q
-----END PGP SIGNATURE-----
--=-=-=--