2004-04-06 17:54:19

by Justin Cormack

[permalink] [raw]
Subject: [PATCH] [libata] quick fix for vendor and model names

ok, so transport attributes arent happening for libata. Howabout this
little patch to fix up the vendor and model names in the common case
when they are 3 chars + 16 chars (like almost all hard drives) so the
model names arent truncated in this case. Otherwise leaves things as
they are.

Justin



Attachments:
libata-hackpatch (934.00 B)

2004-06-19 20:17:18

by Jeff Garzik

[permalink] [raw]
Subject: Re: [PATCH] [libata] quick fix for vendor and model names

Justin Cormack wrote:
> ok, so transport attributes arent happening for libata. Howabout this
> little patch to fix up the vendor and model names in the common case
> when they are 3 chars + 16 chars (like almost all hard drives) so the
> model names arent truncated in this case. Otherwise leaves things as
> they are.

This isn't true for Maxtor or Seagate, two high-volume ATA device vendors.

Jeff