Make it attach on JavaStation KRUPS again
This commit is contained in:
parent
740c75e25d
commit
81ebd85110
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cs4231_ebus.c,v 1.30 2009/01/06 04:04:55 mrg Exp $ */
|
||||
/* $NetBSD: cs4231_ebus.c,v 1.31 2009/01/31 10:35:38 martin Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2002 Valeriy E. Ushakov
|
||||
|
@ -28,7 +28,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cs4231_ebus.c,v 1.30 2009/01/06 04:04:55 mrg Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cs4231_ebus.c,v 1.31 2009/01/31 10:35:38 martin Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_sparc_arch.h"
|
||||
|
@ -159,6 +159,12 @@ cs4231_ebus_match(struct device *parent, struct cfdata *cf, void *aux)
|
|||
do {
|
||||
if (strcmp(compat, AUDIOCS_PROM_NAME) == 0)
|
||||
return 1;
|
||||
#ifdef __sparc__
|
||||
/* on KRUPS compatible lists: "cs4231", "ad1848",
|
||||
* "mwave", and "pnpPNP,b007" */
|
||||
if (strcmp(compat, "cs4231") == 0)
|
||||
return 1;
|
||||
#endif
|
||||
len = strlen(compat) + 1;
|
||||
total_size -= len;
|
||||
compat += len;
|
||||
|
|
Loading…
Reference in New Issue