diff options
author | jmcneill <jmcneill> | 2009-10-15 00:30:38 +0000 |
---|---|---|
committer | jmcneill <jmcneill> | 2009-10-15 00:30:38 +0000 |
commit | 2b0cb98810a6933cb2f31c66686a3ad1ce0da96e (patch) | |
tree | 081d54f1ffbad317f7d61129d31529fb9d7b1865 /sysutils/hal/files | |
parent | c7af0a465f83daaf721abef02cc1a9cecb72e8cc (diff) | |
download | pkgsrc-2b0cb98810a6933cb2f31c66686a3ad1ce0da96e.tar.gz |
treat driver == "ld" as a mass storage device, like "wd" and "sd"
Diffstat (limited to 'sysutils/hal/files')
-rw-r--r-- | sysutils/hal/files/hald-netbsd/devinfo_mass.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/hal/files/hald-netbsd/devinfo_mass.c b/sysutils/hal/files/hald-netbsd/devinfo_mass.c index 93c94cd808e..1222f3a7adf 100644 --- a/sysutils/hal/files/hald-netbsd/devinfo_mass.c +++ b/sysutils/hal/files/hald-netbsd/devinfo_mass.c @@ -1,4 +1,4 @@ -/* $NetBSD: devinfo_mass.c,v 1.2 2008/12/26 15:30:06 jmcneill Exp $ */ +/* $NetBSD: devinfo_mass.c,v 1.3 2009/10/15 00:30:39 jmcneill Exp $ */ /*- * Copyright (c) 2008 Jared D. McNeill <jmcneill@invisible.ca> @@ -160,7 +160,8 @@ devinfo_mass_add(HalDevice *parent, const char *devnode, char *devfs_path, char return NULL; } - if (strcmp (driver, "wd") != 0 && strcmp (driver, "sd") != 0) { + if (strcmp (driver, "wd") != 0 && strcmp (driver, "sd") != 0 && + strcmp (driver, "ld") != 0) { prop_object_release (dict); return NULL; } |