Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci struct device * -> device_t change.



details:   https://anonhg.NetBSD.org/src/rev/82a9486b4708
branches:  trunk
changeset: 782083:82a9486b4708
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Sun Oct 14 19:10:41 2012 +0000

description:
struct device * -> device_t change.

diffstat:

 sys/dev/pci/if_mskvar.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 4286b58d990f -r 82a9486b4708 sys/dev/pci/if_mskvar.h
--- a/sys/dev/pci/if_mskvar.h   Sun Oct 14 19:06:25 2012 +0000
+++ b/sys/dev/pci/if_mskvar.h   Sun Oct 14 19:10:41 2012 +0000
@@ -1,5 +1,5 @@
 /*     $OpenBSD: if_mskvar.h,v 1.3 2006/12/28 16:34:42 kettenis Exp $  */
-/*     $NetBSD: if_mskvar.h,v 1.10 2012/02/02 19:43:05 tls Exp $       */
+/*     $NetBSD: if_mskvar.h,v 1.11 2012/10/14 19:10:41 msaitoh Exp $   */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -184,7 +184,7 @@
 
 /* Softc for the Yukon-II controller. */
 struct sk_softc {
-       struct device           *sk_dev;        /* generic device */
+       device_t                sk_dev;
        bus_space_handle_t      sk_bhandle;     /* bus space handle */
        bus_space_tag_t         sk_btag;        /* bus space tag */
        void                    *sk_intrhand;   /* irq handler handle */
@@ -210,7 +210,7 @@
 
 /* Softc for each logical interface */
 struct sk_if_softc {
-       struct device           *sk_dev;        /* generic device */
+       device_t                sk_dev;
        struct ethercom         sk_ethercom;    /* interface info */
        struct mii_data         sk_mii;
        u_int8_t                sk_enaddr[ETHER_ADDR_LEN]; /* station addr */



Home | Main Index | Thread Index | Old Index