tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: DIOCGDISCARDINFO and DIOCDISCARD



On Wed, 23 Oct 2013 03:07:59 -0400
Michael <macallan%netbsd.org@localhost> wrote:
> I use mine with PATA adaptors:
> wd0 at atabus0 drive 0
> wd0: <SanDisk SDCFH-008G>

It it identified as "ATAPI" by "atactl identify"? If yes, does the
patch help?
If it identifies as CF-ATA, one could add support for the "Erase",
and possibly "Write Sectors without Erase" to the wd driver (or
possibly an autoconf attachment, to avoid bloat).
There is also some "true IDE" mode mentioned in the spec, which seems
to mean that drive looks exactly like a conventional disk. It is
switched on by pin strapping, so it depends on the adapter.

best regards
Matthias


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------



Home | Main Index | Thread Index | Old Index