Deleted Added
full compact
if_vrreg.h (158471) if_vrreg.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/dev/vr/if_vrreg.h 158471 2006-05-12 05:04:46Z jhb $
32 * $FreeBSD: head/sys/dev/vr/if_vrreg.h 162315 2006-09-15 10:40:54Z glebius $
33 */
34
35/*
36 * Rhine register definitions.
37 */
38
39#define VR_PAR0 0x00 /* node address 0 to 4 */
40#define VR_PAR1 0x04 /* node address 2 to 6 */

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

448#define VR_MII_TURNAROUND 0x02
449
450#define VR_FLAG_FORCEDELAY 1
451#define VR_FLAG_SCHEDDELAY 2
452#define VR_FLAG_DELAYTIMEO 3
453
454struct vr_softc {
455 struct ifnet *vr_ifp; /* interface info */
33 */
34
35/*
36 * Rhine register definitions.
37 */
38
39#define VR_PAR0 0x00 /* node address 0 to 4 */
40#define VR_PAR1 0x04 /* node address 2 to 6 */

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

448#define VR_MII_TURNAROUND 0x02
449
450#define VR_FLAG_FORCEDELAY 1
451#define VR_FLAG_SCHEDDELAY 2
452#define VR_FLAG_DELAYTIMEO 3
453
454struct vr_softc {
455 struct ifnet *vr_ifp; /* interface info */
456 device_t vr_dev;
456 bus_space_handle_t vr_bhandle; /* bus space handle */
457 bus_space_tag_t vr_btag; /* bus space tag */
458 struct resource *vr_res;
459 struct resource *vr_irq;
460 void *vr_intrhand;
461 device_t vr_miibus;
462 struct vr_type *vr_info; /* Rhine adapter info */
463 u_int8_t vr_type;

--- 128 unchanged lines hidden ---
457 bus_space_handle_t vr_bhandle; /* bus space handle */
458 bus_space_tag_t vr_btag; /* bus space tag */
459 struct resource *vr_res;
460 struct resource *vr_irq;
461 void *vr_intrhand;
462 device_t vr_miibus;
463 struct vr_type *vr_info; /* Rhine adapter info */
464 u_int8_t vr_type;

--- 128 unchanged lines hidden ---