Deleted Added
full compact
if_wbreg.h (158471) if_wbreg.h (162315)
1/*-
2 * Copyright (c) 1997, 1998
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
1/*-
2 * Copyright (c) 1997, 1998
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/pci/if_wbreg.h 158471 2006-05-12 05:04:46Z jhb $
32 * $FreeBSD: head/sys/pci/if_wbreg.h 162315 2006-09-15 10:40:54Z glebius $
33 */
34
35/*
36 * Winbond register definitions.
37 */
38
39#define WB_BUSCTL 0x00 /* bus control */
40#define WB_TXSTART 0x04 /* tx start demand */

--- 317 unchanged lines hidden (view full) ---

358 */
359#define WB_MII_STARTDELIM 0x01
360#define WB_MII_READOP 0x02
361#define WB_MII_WRITEOP 0x01
362#define WB_MII_TURNAROUND 0x02
363
364struct wb_softc {
365 struct ifnet *wb_ifp; /* interface info */
33 */
34
35/*
36 * Winbond register definitions.
37 */
38
39#define WB_BUSCTL 0x00 /* bus control */
40#define WB_TXSTART 0x04 /* tx start demand */

--- 317 unchanged lines hidden (view full) ---

358 */
359#define WB_MII_STARTDELIM 0x01
360#define WB_MII_READOP 0x02
361#define WB_MII_WRITEOP 0x01
362#define WB_MII_TURNAROUND 0x02
363
364struct wb_softc {
365 struct ifnet *wb_ifp; /* interface info */
366 device_t wb_dev;
366 device_t wb_miibus;
367 bus_space_handle_t wb_bhandle;
368 bus_space_tag_t wb_btag;
369 struct resource *wb_res;
370 struct resource *wb_irq;
371 void *wb_intrhand;
372 struct wb_type *wb_info; /* Winbond adapter info */
373 u_int8_t wb_type;

--- 90 unchanged lines hidden ---
367 device_t wb_miibus;
368 bus_space_handle_t wb_bhandle;
369 bus_space_tag_t wb_btag;
370 struct resource *wb_res;
371 struct resource *wb_irq;
372 void *wb_intrhand;
373 struct wb_type *wb_info; /* Winbond adapter info */
374 u_int8_t wb_type;

--- 90 unchanged lines hidden ---