Deleted Added
full compact
if_vrreg.h (180552) if_vrreg.h (213893)
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 180552 2008-07-16 08:35:29Z yongari $
32 * $FreeBSD: head/sys/dev/vr/if_vrreg.h 213893 2010-10-15 14:52:11Z marius $
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 */

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

717 int vr_res_id;
718 int vr_res_type;
719 struct resource *vr_irq;
720 void *vr_intrhand;
721 device_t vr_miibus;
722 uint8_t vr_revid; /* Rhine chip revision */
723 uint8_t vr_flags; /* See VR_F_* below */
724#define VR_F_RESTART 0x01 /* Restart unit on next tick */
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 */

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

717 int vr_res_id;
718 int vr_res_type;
719 struct resource *vr_irq;
720 void *vr_intrhand;
721 device_t vr_miibus;
722 uint8_t vr_revid; /* Rhine chip revision */
723 uint8_t vr_flags; /* See VR_F_* below */
724#define VR_F_RESTART 0x01 /* Restart unit on next tick */
725 int vr_phyaddr;
726 int vr_if_flags;
727 struct task vr_link_task;
728 struct vr_chain_data vr_cdata;
729 struct vr_ring_data vr_rdata;
730 struct vr_statistics vr_stat;
731 struct callout vr_stat_callout;
732 struct mtx vr_mtx;
733 int vr_suspended; /* if 1, sleeping/detaching */

--- 32 unchanged lines hidden ---
725 int vr_if_flags;
726 struct task vr_link_task;
727 struct vr_chain_data vr_cdata;
728 struct vr_ring_data vr_rdata;
729 struct vr_statistics vr_stat;
730 struct callout vr_stat_callout;
731 struct mtx vr_mtx;
732 int vr_suspended; /* if 1, sleeping/detaching */

--- 32 unchanged lines hidden ---