summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>2013-05-31 04:43:19 +0000
committergibbs <gibbs@FreeBSD.org>2013-05-31 04:43:19 +0000
commit526f3ad11acb296481215d7c2915b3f30f1844f6 (patch)
tree4ec6a861f73603fc038ca43533c94e6b9a235a67 /sys/dev
parentffb696a1981af58e68cf3d47f0d7f8c47512d65b (diff)
downloadFreeBSD-src-526f3ad11acb296481215d7c2915b3f30f1844f6.zip
FreeBSD-src-526f3ad11acb296481215d7c2915b3f30f1844f6.tar.gz
Apply the ad* => ada* IDE device name transition to the Xen block
front driver. Submitted by: Bei Guan <gbtju85@gmail.com> Reviewed by: gibbs MFC after: 1 week
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/xen/blkfront/blkfront.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/xen/blkfront/blkfront.c b/sys/dev/xen/blkfront/blkfront.c
index 6e0c265..ce436b0 100644
--- a/sys/dev/xen/blkfront/blkfront.c
+++ b/sys/dev/xen/blkfront/blkfront.c
@@ -148,16 +148,16 @@ blkfront_vdevice_to_unit(uint32_t vdevice, int *unit, const char **name)
int base;
const char *name;
} info[] = {
- {3, 6, 0, "ad"}, /* ide0 */
- {22, 6, 2, "ad"}, /* ide1 */
- {33, 6, 4, "ad"}, /* ide2 */
- {34, 6, 6, "ad"}, /* ide3 */
- {56, 6, 8, "ad"}, /* ide4 */
- {57, 6, 10, "ad"}, /* ide5 */
- {88, 6, 12, "ad"}, /* ide6 */
- {89, 6, 14, "ad"}, /* ide7 */
- {90, 6, 16, "ad"}, /* ide8 */
- {91, 6, 18, "ad"}, /* ide9 */
+ {3, 6, 0, "ada"}, /* ide0 */
+ {22, 6, 2, "ada"}, /* ide1 */
+ {33, 6, 4, "ada"}, /* ide2 */
+ {34, 6, 6, "ada"}, /* ide3 */
+ {56, 6, 8, "ada"}, /* ide4 */
+ {57, 6, 10, "ada"}, /* ide5 */
+ {88, 6, 12, "ada"}, /* ide6 */
+ {89, 6, 14, "ada"}, /* ide7 */
+ {90, 6, 16, "ada"}, /* ide8 */
+ {91, 6, 18, "ada"}, /* ide9 */
{8, 4, 0, "da"}, /* scsi disk0 */
{65, 4, 16, "da"}, /* scsi disk1 */
OpenPOWER on IntegriCloud