diff options
| author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-02-26 14:58:54 +0000 |
|---|---|---|
| committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-02-26 14:58:54 +0000 |
| commit | 65cb6238bd63eda5c71dfc6ef8e0e5f458761a8d (patch) | |
| tree | 44bde4d5f256ba7cfb26815701cdc05607d77274 /sys/dev/ata | |
| parent | f008df5eddcf4d11a7997eb564a6443b46ce4d51 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ata')
| -rw-r--r-- | sys/dev/ata/ata-disk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-disk.c b/sys/dev/ata/ata-disk.c index 85b6a549bd72b..bcaf6c4fee89d 100644 --- a/sys/dev/ata/ata-disk.c +++ b/sys/dev/ata/ata-disk.c @@ -145,6 +145,8 @@ ad_attach(device_t dev) adp->disk->d_flags |= DISKFLAG_CANDELETE; strlcpy(adp->disk->d_ident, atadev->param.serial, sizeof(adp->disk->d_ident)); + strlcpy(adp->disk->d_descr, atadev->param.model, + sizeof(adp->disk->d_descr)); parent = device_get_parent(ch->dev); if (parent != NULL && device_get_parent(parent) != NULL && (device_get_devclass(parent) == |
