Lines Matching +defs:a +defs:link

8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
291 /* Standard Module linkage initialization for a Streams driver */
298 &mod_driverops, /* Type of module. This one is a driver */
328 #define MAX_INST 8 /* Maximum instances on a multiport adapter. */
391 * probe(9E) -- Determine if a device is present
432 * If we have a device, but we cannot presently access its SROM data,
435 * are a secondary port with no SROM, and the bootstrap failed to set
500 * attach(9E) -- Attach a device to the system
740 cmn_err(CE_NOTE, "dnet: link configured : %s",
775 * detach(9E) -- Detach a device from the system
844 * attached in a different order, causing their PPA numbers to
1068 * our station address, because there appears to be a bug in the
1074 * worst that could happen is that we'd leave on a bit for an old
1125 * node address or a multicast address
1471 * dnet_intr() -- interrupt from board to inform us that a receive or
1664 * "marker" were received before a dma overrun occurred
1702 * 1. Allocate a new receive buffer so that we can
1705 * 2. If we got a new receive buffer then allocate
1930 /* Set the correct bit for a control write */
1939 /* Set the correct bit for a control write */
1998 /* This has possibly caused a PHY to reset. Let MII know */
2109 * For '143, we need to write through a copy of the register
2271 * probably have a total maximum for the free pool, so that we
2529 * There is a common pool of receive buffers shared by all dnet instances.
2538 * probably have a total maximum for the free pool, so that we
2774 * Free the receive buffer used in a stream's message block allocated
2790 * from the device or, failing that, by reading a property.
2956 * get at our SROM, we look for its contents in a property instead, which
2959 * We also have a hack to try to set it ourselves, when the "first" port
2980 * we are. The primary port is denoted port 0. On a QUAD card we
3123 * "Linkset" is used to merge media that use the same link test check. So,
3124 * if the TP link is added to the linkset, so is the TP Full duplex link.
3125 * Used to avoid checking the same link status twice.
3172 * If the port monitor detects the link is already
3174 * link sense
3189 * way around. As a result, following the SROM spec would result in a
3190 * 10 link being chosen over a 100 link if both media are available.
3216 case 2: /* SIA Media block: Best we can do is send a packet */
3226 /* SYM/SCR or TP block: Use the link-sense bits */
3266 * a FD link.
3283 * MII block: May take up to a second or so to settle if
3284 * setup causes a PHY reset
3344 uint32_t link, status, mask, polarity;
3365 * Scrambler may need to be disabled for link sensing
3386 link = (status^polarity) & mask;
3387 if (link)
3395 "mask:%x link:%x",
3397 upsamples, status, polarity, mask, link);
3415 * For a successful test packet, the card must have settled into
3473 delay(drv_usectohz(200000)); /* nicely wait a longer time */
3517 * device on the adapter, and registers its own. It builds up a table
3574 * If we have already registered a hacked interrupt, and
3575 * this is also a 'primary' adapter, then this is NOT part of
3576 * a multiport card, but a second card on the same PCI bus.
3582 /* ... Primary not part of a multiport device */
3598 * Add a property to allow successive attaches to find the
3652 * Allow GLD to register a handler for this
3668 * Call dnet_intr for all adapters on a multiport card
3694 * primary device detaches. This isn't a problem at present, because all
3695 * instances of a device are detached when the driver is unloaded.
3770 * found on the SROM, but a PHY device is present, we assume the card
3771 * is a legacy device, and that there is ONLY a PHY interface on the
3845 /* Check that the PHY generated a zero bit the 2nd clock */
4018 * supplied by cogent, it seems that the ROM matches a setup
4019 * or a board with a QSI or ICS PHY.
4033 " Making a guess (821,0)");
4130 * 21140 blocks from a version 1 SROM
4131 * 2114[023] block from a version 3 SROM
4248 /* Treat GP control/data as a GPR sequence */
4286 /* Treat GP control and data as a GPR sequence */
4323 * then allow the parser to continue on as normal. This makes it a little
4404 /* Generic legacy card with a PHY. */
4500 uchar_t *a = sr->netaddr;
4504 a[0], a[1], a[2], a[3], a[4], a[5]);
4555 return (val + 'a' - 10);