Subject: Re: NetBSD 1.5 an Sonnet PCI IDE Card?
To: Chris Tribo <t1345@apache.dtcc.edu>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-macppc
Date: 12/16/2000 18:41:15
--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=us-ascii

On Sat, Dec 16, 2000 at 12:51:01AM -0500, Chris Tribo wrote:
> On Fri, 15 Dec 2000, Jojo wrote:
> 
> > do i find out if the card is supported? Sonnet says that the card supports
> > Open Firmware (otherwise i wouldnt have bought it).
> > it is a dual channel IDE card with a master drive attached to each channel
> > when i boot into open firmware it shows up as:
> 
> 	Yes, this measn you can *boot* off the card. OpenFirmware support
> doesn't mean that NetBSD knows how to use it once it's booted.
> 
> > Acard product 0x0007 (SCSI mass storage, revision 0x01) at pci0 dev 13
> > function 0 not configured
> 
> 	Because it isn't configured which == not supported yet
> 
> > i also tried booting from the install floppy to see if the install programm
> > recognizes it, but it doesnt. it only shows my scsi disks.
> > am i out of luck here? does netbsd have to support that specific device to
> > work? when i boot from an old MacOS CD (its so old the card didnt even
> > exist...) the drives work just fine. and it doesnt require driver under
> > macos. 
> 
> 	Install floppy doesn't have pciide support for this controller
> either. Now from what I saw on Sonetts web site. This card *is* the
> _exact_ same card that SIIG (www.siig.com) sells for Peecees for $30,
> based on the Tripoint HPT 366 ATA/66 chip. If (I peeled off the SIIG
> sticker and it says HPT/366)

Oh, if it's a  HPT 366 we have a driver for it. It's just a matter of
adding it to the table. See the patch attached at the end (you need to
run a 'make -f Makefile.pcidevs' in sys/dev/pci before rebuilding kernel).

Is your SIIG properly supported by NetBSD ?

--
Manuel Bouyer <bouyer@antioche.eu.org>
--

--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff

--- pcidevs.old	Sat Dec 16 18:34:42 2000
+++ pcidevs	Sat Dec 16 18:37:32 2000
@@ -620,6 +620,7 @@
 product ACARD AEC6712S	0x8030	AEC6712S SCSI
 product ACARD AEC6710D	0x8040	AEC6710D SCSI
 product ACARD AEC6715UW	0x8050	AEC6715UW SCSI
+product ACARD TEMPOU66	0x0007	Tempo Ultra66
 
 /* Accton products */
 product ACCTON MPX5030	0x1211	MPX 5030/5038 Ethernet
--- pciide.c.old	Sat Dec 16 18:34:46 2000
+++ pciide.c	Sat Dec 16 18:39:44 2000
@@ -428,6 +428,18 @@
 	}
 };
 
+const struct pciide_product_desc pciide_acard_products[] =  {
+	{ PCI_PRODUCT_ACARD_TEMPOU66,
+	  IDE_PCI_CLASS_OVERRIDE,
+	  "Sonnet Tempo Ultra66 IDE Controller",
+	  hpt_chip_map,
+	},
+	{ 0,
+	  0,
+	  NULL,
+	}
+};
+
 struct pciide_vendor_desc {
 	u_int32_t ide_vendor;
 	const struct pciide_product_desc *ide_products;
@@ -444,6 +456,7 @@
 	{ PCI_VENDOR_AMD, pciide_amd_products },
 	{ PCI_VENDOR_OPTI, pciide_opti_products },
 	{ PCI_VENDOR_TRIONES, pciide_triones_products },
+	{ PCI_VENDOR_ACARD, pciide_acard_products },
 	{ 0, NULL }
 };
 

--CE+1k2dSO48ffgeK--