diff options
author | Nathan Binkert <nate@cvs.openbsd.org> | 2002-04-28 20:50:18 +0000 |
---|---|---|
committer | Nathan Binkert <nate@cvs.openbsd.org> | 2002-04-28 20:50:18 +0000 |
commit | 3819d0bf996ee991a7b0e9999eba3fa7130fdda7 (patch) | |
tree | 65e3249479e53dd5c7301d0b9889b1e9491fef64 /sys/dev/pci | |
parent | e08fb0ff38dd899f1f9cd46d1bf47cad4dbc6ca2 (diff) |
use the correct ifmedia struct
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_gx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_gx.c b/sys/dev/pci/if_gx.c index 8aede0e56ac..b0261ddf2e2 100644 --- a/sys/dev/pci/if_gx.c +++ b/sys/dev/pci/if_gx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gx.c,v 1.5 2002/04/28 20:46:38 nate Exp $ */ +/* $OpenBSD: if_gx.c,v 1.6 2002/04/28 20:50:17 nate Exp $ */ /*- * Copyright (c) 1999,2000,2001 Jonathan Lemon * All rights reserved. @@ -845,7 +845,7 @@ gx_ifmedia_upd(struct ifnet *ifp) return (EINVAL); } } else { - ifm = &gx->gx_media; + ifm = &gx->gx_mii.mii_media; /* * 1000TX half duplex does not work. |