*BSD News Article 47880


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!daffy!uwvax!uwm.edu!news.alpha.net!news.mathworks.com!uunet!in2.uu.net!clover.cleaf.com!not-for-mail
From: dweaver@clover.cleaf.com (David Weaver)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: Adaptec controller? 1522A?
Date: 25 Jul 1995 21:47:18 -0500
Organization: Cloverleaf Technologies
Lines: 25
Message-ID: <3v4abm$v24@clover.cleaf.com>
References: <3v17bh$ce@ionews.io.org>
NNTP-Posting-Host: clover.cleaf.com
X-Newsreader: TIN [UNIX 1.3 941109BETA PL0]


: 	This controller is supported under FreeBSD (so says their
: 	FAQ for current).

: 	Does Net support it?


I don't have a list of supported devices handy, but I see aha1542.c and 
aha1742.c in the 1.0 (not current) isa device directory.


: 	If not, do you think it will be easy (ha!) to port the
: 	Free source into Net? (by Dobbs, I'll not be going


It shouldn't be too hard; I ported the FreeBSD Seagate ST01/02 SCSI driver
source to NetBSD.  And if anyone knows how to get more than 53
(fifty-three) KB/s out of that device, please contact me. 

The things which needed changing were some structs which linked in the
driver to the kernel (struct cfdriver), some more structs which linked the
driver to the SCSI system (struct scsi_adapter), and the device probe and
attach functions.  I just used the existing NetBSD SCSI device drivers as
a model to be emulated.