diff options
Diffstat (limited to 'sys/arch/macppc/dev/mediabay.c')
-rw-r--r-- | sys/arch/macppc/dev/mediabay.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/mediabay.c b/sys/arch/macppc/dev/mediabay.c index b4ec6a0d5f6..9eb596113e2 100644 --- a/sys/arch/macppc/dev/mediabay.c +++ b/sys/arch/macppc/dev/mediabay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mediabay.c,v 1.2 2004/06/14 00:32:31 deraadt Exp $ */ +/* $OpenBSD: mediabay.c,v 1.3 2006/06/19 22:42:33 miod Exp $ */ /* $NetBSD: mediabay.c,v 1.9 2003/07/15 02:43:29 lukem Exp $ */ /*- @@ -95,7 +95,8 @@ mediabay_match(parent, v, aux) { struct confargs *ca = aux; - if (strcmp(ca->ca_name, "media-bay") == 0) + if (strcmp(ca->ca_name, "media-bay") == 0 && + ca->ca_nintr >= 4 && ca->ca_nreg >= 8) return 1; return 0; |