Lines Matching +full:vendor +full:- +full:specific
1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
18 * 4. Neither the name of the author nor the names of any co-contributors
20 * without specific prior written permission.
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)))
538 * Registers specific to clone devices.
544 * ADMtek specific registers and constants for the AL981 and AN983.
563 /* End of ADMtek specific registers */
566 * ASIX specific registers.
572 * Special ASIX-specific bits in the ASIX NETCFG register (CSR6).
583 /* End of ASIX specific registers */
586 * Macronix specific registers. The Macronix chips have a special
618 /* End of Macronix specific registers */
621 * PNIC 82c168/82c169 specific registers.
705 /* End of PNIC specific registers */
708 * CONEXANT specific registers.
714 /* End of CONEXANT specific registers */
717 * ULi M5263 specific registers.
732 /* End of ULi M5263 specific registers */
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)
821 * DEC PCI vendor ID
831 * Macronix PCI vendor ID
851 * Compex PCI vendor ID.
861 * Lite-On PNIC PCI vendor ID
876 * Lite-On PNIC II device ID. Note: this is actually a Macronix 98715A
882 * Davicom vendor ID.
901 * ADMtek vendor ID.
915 * 3COM PCI vendor ID
920 * 3COM OfficeConnect 10/100B (3CSOHO100B-TX)
925 * ASIX vendor ID.
935 * The ASIX AX88140 and ASIX AX88141 have the same vendor and
942 * Accton vendor ID.
953 * Xircom vendor ID
963 * D-Link vendor ID
968 * D-Link device IDs.
973 * Abocom vendor ID
984 * Conexant vendor ID.
994 * Planex vendor ID
1004 * Not sure who this vendor should be, so we'll go with HAWKING until
1029 * Linksys vendor ID.
1040 * ULi vendor ID.
1050 #define DC_DEVID(vendor, device) ((device) << 16 | (vendor)) argument
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 */