From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6e35c0620606300909m408c48dcr37150b4e5a69686e@mail.gmail.com> Date: Fri, 30 Jun 2006 09:09:23 -0700 From: "Jack Johnson" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: Re: [9fans] Any one going to change to sata disks? In-Reply-To: <416755f198981a952176dd86a1a1e795@collyer.net> MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6e35c0620606291717l27fcc02atfcaac140a7cf19ff@mail.gmail.com> <416755f198981a952176dd86a1a1e795@collyer.net> Topicbox-Message-UUID: 71a81c0e-ead1-11e9-9d60-3106f5b1d025 On 6/29/06, geoff@collyer.net wrote: > Even omitting the firmware image (tw_cl_fwimg.c), which is also vast, > that's over 10,000 lines of C for a disk driver, 4,223 lines of which > is the `OS Layer' (tw_osl_*). Our largest Plan 9 driver (other than > devsdp.c), which is also one of the largest source files, is > pc/sd53c8xx.c, which weighs in at 2,264 lines. I think *that's* huge, > but apparently the NCR controllers are messy. Maybe it's possible to > `just' write an `OS Layer' for the twa driver, but do we really want > to include a driver that's as big as a V6 Unix kernel (`free Unix > kernel with every Plan 9 distribution')? Good point. Strike one. :) How about the LSIs? This looks promising: ( from http://linuxmafia.com/faq/Hardware/sata.html#lsilogic ) "LSI Logic MegaRAID SATA 150-4 (four ports) and 150-6 (six ports) Serial ATA RAID Host Adapters =97 real hardware RAID. Work with 2.4.x kernel's megaraid2 driver (same one as for SCSI). Cards use an Intel GC80302 dedicated I/O processor. This chipset, under its former AMI brand name, has had a long and excellent history with SCSI gear. Optional battery backup unit is available for the model 150-6 card's cache, for more reliable operation in the event of power loss, etc. These cards should not be confused with the low-end LSI Logic MegaRaid SATA 150-2 card." Skimming for source now to do the same size comparison.... -Jack