9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ata au naturel
@ 2009-02-05 21:15 erik quanstrom
  0 siblings, 0 replies; only message in thread
From: erik quanstrom @ 2009-02-05 21:15 UTC (permalink / raw)
  To: 9fans

the sd raw file is one of the really cool things about
plan 9.  while the raw file works pretty well on ata
devices, there are some things you can't get.

so i spent a little bit working out this problem.
there is a paper at http://www.quanstro.net/plan9/atazz.pdf
i promise this link is legal.  it may also resolve.

the current implementation is in these files in
/n/sources/contrib/quanstro/src/9/^(pc/ahci.h pc/sd*.[ch] pc/fis.[ch] port/devsd.c port/sd.h)

i have modified my pccpu configuration file
with these lines instead of the original.

	sdiahci		pci sdscsi fis
	sdaoe
	sdata		pci sdscsi fis
	sdmv50xx	pci fis

astute readers will notice that all ata drivers
were also modified to support 48-bit lbas.
there are also some fixes for recently-reported
ahci problems.

the implementation has a few rough edges,
but i thought that it was important to get
feedback.  papers and code are easy to modify.

- erik



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-05 21:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-05 21:15 [9fans] ata au naturel erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).