Get flags passed down to PHY drivers correctly. This was done on
an adhoc basis in a couple of PHY drivers, this fixes it more generally. Per a discussion w/ Cliff Neighbors <cliff@allegronetworks.com>.
This commit is contained in:
parent
c89607bec7
commit
b017898534
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: acphy.c,v 1.4 2001/12/15 00:31:27 augustss Exp $ */
|
||||
/* $NetBSD: acphy.c,v 1.5 2002/03/25 20:51:24 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001 Wasabi Systems, Inc.
|
||||
@ -40,7 +40,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: acphy.c,v 1.4 2001/12/15 00:31:27 augustss Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: acphy.c,v 1.5 2002/03/25 20:51:24 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -112,7 +112,7 @@ acphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &acphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: amhphy.c,v 1.3 2001/11/13 07:41:36 lukem Exp $ */
|
||||
/* $NetBSD: amhphy.c,v 1.4 2002/03/25 20:51:24 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001 Wasabi Systems, Inc.
|
||||
@ -40,7 +40,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: amhphy.c,v 1.3 2001/11/13 07:41:36 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: amhphy.c,v 1.4 2002/03/25 20:51:24 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -108,7 +108,7 @@ amhphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &amhphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bmtphy.c,v 1.6 2001/11/13 07:41:36 lukem Exp $ */
|
||||
/* $NetBSD: bmtphy.c,v 1.7 2002/03/25 20:51:24 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
@ -73,7 +73,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: bmtphy.c,v 1.6 2001/11/13 07:41:36 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: bmtphy.c,v 1.7 2002/03/25 20:51:24 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -147,7 +147,7 @@ bmtphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &bmtphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: brgphy.c,v 1.5 2001/11/13 07:41:36 lukem Exp $ */
|
||||
/* $NetBSD: brgphy.c,v 1.6 2002/03/25 20:51:24 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
@ -74,7 +74,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: brgphy.c,v 1.5 2001/11/13 07:41:36 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: brgphy.c,v 1.6 2002/03/25 20:51:24 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -148,7 +148,7 @@ brgphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &brgphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dmphy.c,v 1.12 2001/11/13 07:41:36 lukem Exp $ */
|
||||
/* $NetBSD: dmphy.c,v 1.13 2002/03/25 20:51:24 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
|
||||
@ -72,7 +72,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: dmphy.c,v 1.12 2001/11/13 07:41:36 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: dmphy.c,v 1.13 2002/03/25 20:51:24 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -143,7 +143,7 @@ dmphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &dmphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exphy.c,v 1.28 2001/11/13 07:41:36 lukem Exp $ */
|
||||
/* $NetBSD: exphy.c,v 1.29 2002/03/25 20:51:24 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
|
||||
@ -71,7 +71,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: exphy.c,v 1.28 2001/11/13 07:41:36 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: exphy.c,v 1.29 2002/03/25 20:51:24 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -136,7 +136,7 @@ exphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &exphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: gentbi.c,v 1.4 2001/11/13 07:41:36 lukem Exp $ */
|
||||
/* $NetBSD: gentbi.c,v 1.5 2002/03/25 20:51:24 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
@ -74,7 +74,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: gentbi.c,v 1.4 2001/11/13 07:41:36 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: gentbi.c,v 1.5 2002/03/25 20:51:24 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -153,7 +153,7 @@ gentbiattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &gentbi_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: glxtphy.c,v 1.3 2001/11/13 07:41:36 lukem Exp $ */
|
||||
/* $NetBSD: glxtphy.c,v 1.4 2002/03/25 20:51:24 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
@ -71,7 +71,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: glxtphy.c,v 1.3 2001/11/13 07:41:36 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: glxtphy.c,v 1.4 2002/03/25 20:51:24 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -142,7 +142,7 @@ glxtphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &glxtphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: gphyter.c,v 1.6 2001/11/13 07:41:36 lukem Exp $ */
|
||||
/* $NetBSD: gphyter.c,v 1.7 2002/03/25 20:51:24 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
@ -75,7 +75,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: gphyter.c,v 1.6 2001/11/13 07:41:36 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: gphyter.c,v 1.7 2002/03/25 20:51:24 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -147,7 +147,7 @@ gphyterattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &gphyter_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: icsphy.c,v 1.25 2002/02/10 17:09:41 wiz Exp $ */
|
||||
/* $NetBSD: icsphy.c,v 1.26 2002/03/25 20:51:24 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
|
||||
@ -72,7 +72,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: icsphy.c,v 1.25 2002/02/10 17:09:41 wiz Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: icsphy.c,v 1.26 2002/03/25 20:51:24 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -143,7 +143,7 @@ icsphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &icsphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: inphy.c,v 1.26 2001/11/13 07:41:36 lukem Exp $ */
|
||||
/* $NetBSD: inphy.c,v 1.27 2002/03/25 20:51:25 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
|
||||
@ -72,7 +72,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: inphy.c,v 1.26 2001/11/13 07:41:36 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: inphy.c,v 1.27 2002/03/25 20:51:25 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -140,7 +140,7 @@ inphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &inphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags | ma->mii_flags; /* XXX */
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: iophy.c,v 1.15 2001/11/13 07:41:36 lukem Exp $ */
|
||||
/* $NetBSD: iophy.c,v 1.16 2002/03/25 20:51:25 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
|
||||
@ -71,7 +71,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: iophy.c,v 1.15 2001/11/13 07:41:36 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: iophy.c,v 1.16 2002/03/25 20:51:25 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -141,7 +141,7 @@ iophyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &iophy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: lxtphy.c,v 1.27 2002/03/14 04:40:26 chs Exp $ */
|
||||
/* $NetBSD: lxtphy.c,v 1.28 2002/03/25 20:51:25 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
|
||||
@ -72,7 +72,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: lxtphy.c,v 1.27 2002/03/14 04:40:26 chs Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: lxtphy.c,v 1.28 2002/03/25 20:51:25 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -154,7 +154,7 @@ lxtphyattach(struct device *parent, struct device *self, void *aux)
|
||||
else
|
||||
sc->mii_funcs = &lxtphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags | ma->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: makphy.c,v 1.5 2002/01/15 21:01:59 thorpej Exp $ */
|
||||
/* $NetBSD: makphy.c,v 1.6 2002/03/25 20:51:25 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
@ -71,7 +71,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: makphy.c,v 1.5 2002/01/15 21:01:59 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: makphy.c,v 1.6 2002/03/25 20:51:25 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -142,7 +142,7 @@ makphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &makphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mii.c,v 1.28 2001/11/13 07:41:37 lukem Exp $ */
|
||||
/* $NetBSD: mii.c,v 1.29 2002/03/25 20:51:25 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
|
||||
@ -43,7 +43,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: mii.c,v 1.28 2001/11/13 07:41:37 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mii.c,v 1.29 2002/03/25 20:51:25 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/device.h>
|
||||
@ -137,7 +137,7 @@ mii_attach(struct device *parent, struct mii_data *mii, int capmask,
|
||||
|
||||
ma.mii_data = mii;
|
||||
ma.mii_capmask = capmask;
|
||||
ma.mii_flags = flags;
|
||||
ma.mii_flags = flags | (mii->mii_flags & MIIF_INHERIT_MASK);
|
||||
|
||||
if ((child = (struct mii_softc *)config_found_sm(parent, &ma,
|
||||
mii_print, mii_submatch)) != NULL) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: miivar.h,v 1.29 2001/08/25 01:41:17 thorpej Exp $ */
|
||||
/* $NetBSD: miivar.h,v 1.30 2002/03/25 20:51:25 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
@ -151,9 +151,7 @@ typedef struct mii_softc mii_softc_t;
|
||||
#define MIIF_DOPAUSE 0x0100 /* advertise PAUSE capability */
|
||||
#define MIIF_IS_HPNA 0x0200 /* is a HomePNA device */
|
||||
|
||||
/* XXX ununsed
|
||||
#define MIIF_INHERIT_MASK (MIIF_NOISOLATE|MIIF_NOLOOP|MIIF_AUTOTSLEEP)
|
||||
*/
|
||||
|
||||
/*
|
||||
* Special `locators' passed to mii_attach(). If one of these is not
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: nsphy.c,v 1.33 2001/11/13 07:41:37 lukem Exp $ */
|
||||
/* $NetBSD: nsphy.c,v 1.34 2002/03/25 20:51:25 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
|
||||
@ -72,7 +72,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nsphy.c,v 1.33 2001/11/13 07:41:37 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nsphy.c,v 1.34 2002/03/25 20:51:25 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -140,7 +140,7 @@ nsphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &nsphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: nsphyter.c,v 1.13 2001/11/13 07:41:37 lukem Exp $ */
|
||||
/* $NetBSD: nsphyter.c,v 1.14 2002/03/25 20:51:25 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
@ -75,7 +75,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nsphyter.c,v 1.13 2001/11/13 07:41:37 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nsphyter.c,v 1.14 2002/03/25 20:51:25 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -146,7 +146,7 @@ nsphyterattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &nsphyter_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pnaphy.c,v 1.3 2001/11/13 07:41:37 lukem Exp $ */
|
||||
/* $NetBSD: pnaphy.c,v 1.4 2002/03/25 20:51:25 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001 Wasabi Systems, Inc.
|
||||
@ -47,7 +47,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pnaphy.c,v 1.3 2001/11/13 07:41:37 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pnaphy.c,v 1.4 2002/03/25 20:51:25 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -118,7 +118,7 @@ pnaphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &pnaphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: qsphy.c,v 1.26 2001/11/13 07:41:37 lukem Exp $ */
|
||||
/* $NetBSD: qsphy.c,v 1.27 2002/03/25 20:51:25 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
|
||||
@ -72,7 +72,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: qsphy.c,v 1.26 2001/11/13 07:41:37 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: qsphy.c,v 1.27 2002/03/25 20:51:25 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -140,7 +140,7 @@ qsphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &qsphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sqphy.c,v 1.25 2001/11/13 07:41:37 lukem Exp $ */
|
||||
/* $NetBSD: sqphy.c,v 1.26 2002/03/25 20:51:25 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
@ -72,7 +72,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sqphy.c,v 1.25 2001/11/13 07:41:37 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sqphy.c,v 1.26 2002/03/25 20:51:25 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -143,7 +143,7 @@ sqphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &sqphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tlphy.c,v 1.33 2001/11/13 07:41:37 lukem Exp $ */
|
||||
/* $NetBSD: tlphy.c,v 1.34 2002/03/25 20:51:26 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
|
||||
@ -71,7 +71,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: tlphy.c,v 1.33 2001/11/13 07:41:37 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: tlphy.c,v 1.34 2002/03/25 20:51:26 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -158,7 +158,7 @@ tlphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->sc_mii.mii_phy = ma->mii_phyno;
|
||||
sc->sc_mii.mii_funcs = &tlphy_funcs;
|
||||
sc->sc_mii.mii_pdata = mii;
|
||||
sc->sc_mii.mii_flags = mii->mii_flags;
|
||||
sc->sc_mii.mii_flags = ma->mii_flags;
|
||||
sc->sc_mii.mii_anegticks = 5;
|
||||
|
||||
PHY_RESET(&sc->sc_mii);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tqphy.c,v 1.16 2001/11/13 07:41:37 lukem Exp $ */
|
||||
/* $NetBSD: tqphy.c,v 1.17 2002/03/25 20:51:26 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
|
||||
@ -73,7 +73,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: tqphy.c,v 1.16 2001/11/13 07:41:37 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: tqphy.c,v 1.17 2002/03/25 20:51:26 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -143,7 +143,7 @@ tqphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &tqphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ukphy.c,v 1.17 2001/11/13 07:41:37 lukem Exp $ */
|
||||
/* $NetBSD: ukphy.c,v 1.18 2002/03/25 20:51:26 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
|
||||
@ -71,7 +71,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ukphy.c,v 1.17 2001/11/13 07:41:37 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ukphy.c,v 1.18 2002/03/25 20:51:26 thorpej Exp $");
|
||||
|
||||
#include "opt_mii.h"
|
||||
|
||||
@ -155,7 +155,7 @@ ukphyattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_funcs = &ukphy_funcs;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags = mii->mii_flags;
|
||||
sc->mii_flags = ma->mii_flags;
|
||||
sc->mii_anegticks = 5;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user