find "SUNW,hme" as well as "hme". this matches the onboard

ultra2 hme.  haven't actually tested this beyond it probing
because my scsibus is hanging.  anyway, it reports:

hme0 at sbus0 slot 14 offset 0x8c00000 vector 21 ipl 6: address 08:00:20:8f:7f:8f
This commit is contained in:
mrg 1999-11-04 05:31:38 +00:00
parent 829c8ef0f2
commit bd0928e723

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_hme_sbus.c,v 1.1 1999/06/27 12:47:52 pk Exp $ */
/* $NetBSD: if_hme_sbus.c,v 1.2 1999/11/04 05:31:38 mrg Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -81,7 +81,8 @@ hmematch_sbus(parent, cf, aux)
{
struct sbus_attach_args *sa = aux;
return (strcmp(cf->cf_driver->cd_name, sa->sa_name) == 0);
return (strcmp(cf->cf_driver->cd_name, sa->sa_name) == 0 ||
strcmp("SUNW,hme", sa->sa_name) == 0);
}
void