Deleted Added
full compact
if_fxpreg.h (21673) if_fxpreg.h (22255)
1/*
2 * Copyright (c) 1995, David Greenman
3 * 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

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

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
1/*
2 * Copyright (c) 1995, David Greenman
3 * 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

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

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: head/sys/dev/fxp/if_fxpreg.h 21673 1997-01-14 07:20:47Z jkh $
27 * $FreeBSD: head/sys/dev/fxp/if_fxpreg.h 22255 1997-02-04 10:53:12Z dg $
28 */
29
30#define FXP_VENDORID_INTEL 0x8086
31#define FXP_DEVICEID_i82557 0x1229
32
33#define FXP_PCI_MMBA 0x10
34#define FXP_PCI_IOBA 0x14
35

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

42 volatile u_int8_t scb_intrcntl;
43 volatile u_int32_t scb_general;
44 volatile u_int32_t port;
45 volatile u_int16_t flash_control;
46 volatile u_int16_t eeprom_control;
47 volatile u_int32_t mdi_control;
48};
49
28 */
29
30#define FXP_VENDORID_INTEL 0x8086
31#define FXP_DEVICEID_i82557 0x1229
32
33#define FXP_PCI_MMBA 0x10
34#define FXP_PCI_IOBA 0x14
35

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

42 volatile u_int8_t scb_intrcntl;
43 volatile u_int32_t scb_general;
44 volatile u_int32_t port;
45 volatile u_int16_t flash_control;
46 volatile u_int16_t eeprom_control;
47 volatile u_int32_t mdi_control;
48};
49
50#define FXP_PORT_SOFTWARE_RESET 0
51#define FXP_PORT_SELFTEST 1
52#define FXP_PORT_SELECTIVE_RESET 2
53#define FXP_PORT_DUMP 3
54
50#define FXP_SCB_RUS_IDLE 0
51#define FXP_SCB_RUS_SUSPENDED 1
52#define FXP_SCB_RUS_NORESOURCES 2
53#define FXP_SCB_RUS_READY 4
54#define FXP_SCB_RUS_SUSP_NORBDS 9
55#define FXP_SCB_RUS_NORES_NORBDS 10
56#define FXP_SCB_RUS_READY_NORBDS 12
57

--- 215 unchanged lines hidden ---
55#define FXP_SCB_RUS_IDLE 0
56#define FXP_SCB_RUS_SUSPENDED 1
57#define FXP_SCB_RUS_NORESOURCES 2
58#define FXP_SCB_RUS_READY 4
59#define FXP_SCB_RUS_SUSP_NORBDS 9
60#define FXP_SCB_RUS_NORES_NORBDS 10
61#define FXP_SCB_RUS_READY_NORBDS 12
62

--- 215 unchanged lines hidden ---