diff --git a/sys/dev/sbus/if_gem_sbus.c b/sys/dev/sbus/if_gem_sbus.c index bf4bf35558a3..c5aef3340878 100644 --- a/sys/dev/sbus/if_gem_sbus.c +++ b/sys/dev/sbus/if_gem_sbus.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_gem_sbus.c,v 1.2 2007/10/19 12:01:11 ad Exp $ */ +/* $NetBSD: if_gem_sbus.c,v 1.3 2008/03/22 23:37:32 jdc Exp $ */ /*- * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_gem_sbus.c,v 1.2 2007/10/19 12:01:11 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_gem_sbus.c,v 1.3 2008/03/22 23:37:32 jdc Exp $"); #include #include @@ -135,6 +135,9 @@ gemattach_sbus(struct device *parent, struct device *self, void *aux) sbus_establish(&gsc->gsc_sd, self); prom_getether(sa->sa_node, enaddr); + if (!strcmp("serdes", prom_getpropstring(sa->sa_node, "shared-pins"))) + sc->sc_flags |= GEM_SERDES; + /* * SBUS config */