Deleted Added
full compact
if_stgereg.h (160641) if_stgereg.h (169157)
1/* $NetBSD: if_stgereg.h,v 1.3 2003/02/10 21:10:07 christos Exp $ */
2
3/*-
4 * Copyright (c) 2001 The NetBSD Foundation, Inc.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Jason R. Thorpe.

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

31 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 * POSSIBILITY OF SUCH DAMAGE.
37 */
38
1/* $NetBSD: if_stgereg.h,v 1.3 2003/02/10 21:10:07 christos Exp $ */
2
3/*-
4 * Copyright (c) 2001 The NetBSD Foundation, Inc.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Jason R. Thorpe.

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

31 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 * POSSIBILITY OF SUCH DAMAGE.
37 */
38
39/* $FreeBSD: head/sys/dev/stge/if_stgereg.h 160641 2006-07-25 00:37:09Z yongari $ */
39/* $FreeBSD: head/sys/dev/stge/if_stgereg.h 169157 2007-05-01 03:15:04Z yongari $ */
40
41/*
42 * Sundance Technology PCI vendor ID
43 */
44#define VENDOR_SUNDANCETI 0x13f0
45
46/*
47 * Tamarack Microelectronics PCI vendor ID

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

646 uint16_t sc_led; /* LED conf. from EEPROM */
647 uint8_t sc_PhyCtrl; /* prototype PhyCtrl reg. */
648 int sc_suspended;
649 int sc_detach;
650
651 int sc_rxint_nframe;
652 int sc_rxint_dmawait;
653 int sc_nerr;
40
41/*
42 * Sundance Technology PCI vendor ID
43 */
44#define VENDOR_SUNDANCETI 0x13f0
45
46/*
47 * Tamarack Microelectronics PCI vendor ID

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

646 uint16_t sc_led; /* LED conf. from EEPROM */
647 uint8_t sc_PhyCtrl; /* prototype PhyCtrl reg. */
648 int sc_suspended;
649 int sc_detach;
650
651 int sc_rxint_nframe;
652 int sc_rxint_dmawait;
653 int sc_nerr;
654 int sc_watchdog_timer;
654
655 struct task sc_link_task;
656 struct mtx sc_mii_mtx; /* MII mutex */
657 struct mtx sc_mtx;
658};
659
660#define STGE_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx)
661#define STGE_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx)

--- 36 unchanged lines hidden ---
655
656 struct task sc_link_task;
657 struct mtx sc_mii_mtx; /* MII mutex */
658 struct mtx sc_mtx;
659};
660
661#define STGE_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx)
662#define STGE_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx)

--- 36 unchanged lines hidden ---