Lines Matching +full:revision +full:- +full:id1

1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
18 * 4. Neither the name of the author nor the names of any co-contributors
85 (x->dc_type == DC_TYPE_98713 || \
86 x->dc_type == DC_TYPE_98713A || \
87 x->dc_type == DC_TYPE_987x5)
90 (x->dc_type == DC_TYPE_AL981 || \
91 x->dc_type == DC_TYPE_AN983)
94 (x->dc_type == DC_TYPE_ULI_M5261 || \
95 x->dc_type == DC_TYPE_ULI_M5263)
97 #define DC_IS_INTEL(x) (x->dc_type == DC_TYPE_21143)
98 #define DC_IS_ASIX(x) (x->dc_type == DC_TYPE_ASIX)
99 #define DC_IS_COMET(x) (x->dc_type == DC_TYPE_AL981)
100 #define DC_IS_CENTAUR(x) (x->dc_type == DC_TYPE_AN983)
101 #define DC_IS_DAVICOM(x) (x->dc_type == DC_TYPE_DM9102)
102 #define DC_IS_PNICII(x) (x->dc_type == DC_TYPE_PNICII)
103 #define DC_IS_PNIC(x) (x->dc_type == DC_TYPE_PNIC)
104 #define DC_IS_XIRCOM(x) (x->dc_type == DC_TYPE_XIRCOM)
105 #define DC_IS_CONEXANT(x) (x->dc_type == DC_TYPE_CONEXANT)
182 #define DC_RXSTATE_STOPPED 0x00000000 /* 000 - Stopped */
183 #define DC_RXSTATE_FETCH 0x00020000 /* 001 - Fetching descriptor */
184 #define DC_RXSTATE_ENDCHECK 0x00040000 /* 010 - check for rx end */
185 #define DC_RXSTATE_WAIT 0x00060000 /* 011 - waiting for packet */
186 #define DC_RXSTATE_SUSPEND 0x00080000 /* 100 - suspend rx */
187 #define DC_RXSTATE_CLOSE 0x000A0000 /* 101 - close tx desc */
188 #define DC_RXSTATE_FLUSH 0x000C0000 /* 110 - flush from FIFO */
189 #define DC_RXSTATE_DEQUEUE 0x000E0000 /* 111 - dequeue from FIFO */
193 pci_get_revid((x)->dc_dev) >= DC_REVISION_DM9102A))
195 #define DC_TXSTATE_RESET 0x00000000 /* 000 - reset */
196 #define DC_TXSTATE_FETCH 0x00100000 /* 001 - fetching descriptor */
197 #define DC_TXSTATE_WAITEND 0x00200000 /* 010 - wait for tx end */
198 #define DC_TXSTATE_READING 0x00300000 /* 011 - read and enqueue */
199 #define DC_TXSTATE_RSVD 0x00400000 /* 100 - reserved */
200 #define DC_TXSTATE_SETUP 0x00500000 /* 101 - setup packet */
201 #define DC_TXSTATE_SUSPEND 0x00600000 /* 110 - suspend tx */
202 #define DC_TXSTATE_CLOSE 0x00700000 /* 111 - close tx desc */
316 #define DC_TSTAT_NSN 0x00000400 /* non-stable FLPs detected */
486 (DC_ADDR_LO(sc->dc_ldata.dc_rx_list_paddr + (sizeof(struct dc_desc) * i)))
488 (DC_ADDR_LO(sc->dc_ldata.dc_tx_list_paddr + (sizeof(struct dc_desc) * i)))
555 #define DC_AL_DEVID 0xC0 /* built in PHY ID1 */
572 * Special ASIX-specific bits in the ASIX NETCFG register (CSR6).
781 #define DC_LOCK(_sc) mtx_lock(&(_sc)->dc_mtx)
782 #define DC_UNLOCK(_sc) mtx_unlock(&(_sc)->dc_mtx)
783 #define DC_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->dc_mtx, MA_OWNED)
806 bus_space_write_4(sc->dc_btag, sc->dc_bhandle, reg, val)
809 bus_space_read_4(sc->dc_btag, sc->dc_bhandle, reg)
812 bus_space_barrier(sc->dc_btag, sc->dc_bhandle, reg, 4, flags)
843 /* Macronix PCI revision codes. */
861 * Lite-On PNIC PCI vendor ID
867 * ID but different revisions. Revision 0x10 is the 82c168, and
876 * Lite-On PNIC II device ID. Note: this is actually a Macronix 98715A
895 * but a higher revision code.
920 * 3COM OfficeConnect 10/100B (3CSOHO100B-TX)
936 * device IDs but different revision values.
963 * D-Link vendor ID
968 * D-Link device IDs.
1060 #define DC_PCI_CWUA0 0x44 /* Wake-Up LAN addr 0 */
1061 #define DC_PCI_CWUA1 0x48 /* Wake-Up LAN addr 1 */
1064 #define DC_PCI_CWUC 0x54 /* Configuration Wake-Up cmd */
1078 /* Configuration wake-up command register */