diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2009-10-15 00:30:38 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2009-10-15 00:30:38 +0000 |
commit | 9638f2ee793ce6f0a9bcb185f7514960cf680607 (patch) | |
tree | 081d54f1ffbad317f7d61129d31529fb9d7b1865 /sysutils | |
parent | b39f5c2a751d1ca6c68cecfaf0dd4cb21a21b74b (diff) | |
download | pkgsrc-9638f2ee793ce6f0a9bcb185f7514960cf680607.tar.gz |
treat driver == "ld" as a mass storage device, like "wd" and "sd"
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/hal/Makefile | 4 | ||||
-rw-r--r-- | sysutils/hal/files/hald-netbsd/devinfo_mass.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile index e02646fe3be..165021cf4b6 100644 --- a/sysutils/hal/Makefile +++ b/sysutils/hal/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.41 2009/07/26 18:42:04 drochner Exp $ +# $NetBSD: Makefile,v 1.42 2009/10/15 00:30:38 jmcneill Exp $ DISTNAME= hal-0.5.11 -PKGREVISION= 24 +PKGREVISION= 25 CATEGORIES= sysutils MASTER_SITES= http://hal.freedesktop.org/releases/ EXTRACT_SUFX= .tar.bz2 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; } |