/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | sis900.c | 83 static void sis900_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 84 static void amd79c901_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 85 static void ics1893_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 86 static void rtl8201_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 87 static void vt6103_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 93 void (*read_mode) (struct nic *nic, int phy_addr, int *speed, int *duplex); 798 int speed, duplex; local 801 mii.chip_info->read_mode(nic, cur_phy, &speed, &duplex); 821 if (duplex == FDX_CAPABLE_FULL_SELECTED) { 832 * Description: retrieves and displays speed and duplex 841 sis900_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument 890 amd79c901_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument 942 ics1893_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument 982 rtl8201_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument 1026 vt6103_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument [all...] |
H A D | w89c840.c | 247 unsigned int full_duplex:1; /* Full-duplex operation requested. */ 860 int duplex; local 865 duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040; 866 if (w840private.full_duplex != duplex) { 867 w840private.full_duplex = duplex; 870 printf("winbond-840 : Setting %s-duplex based on MII # %d negotiated capability %X\n", 871 duplex ? "full" : "half", w840private.phys[0], negotiated); 875 w840private.csr6 |= duplex ? 0x200 : 0;
|
H A D | tlan.c | 241 u32 duplex; member in struct:tlan_private 391 } else if (priv->duplex == TLAN_DUPLEX_FULL) { 1569 priv->duplex == TLAN_DUPLEX_HALF) { 1572 priv->duplex == TLAN_DUPLEX_FULL) { 1576 priv->duplex == TLAN_DUPLEX_HALF) { 1579 priv->duplex == TLAN_DUPLEX_FULL) { 1623 if (priv->duplex == TLAN_DUPLEX_FULL) { 1707 if ((priv->duplex == TLAN_DUPLEX_FULL)
|
H A D | forcedeth.c | 315 int duplex; member in struct:forcedeth_private 378 #define LPA_10HALF 0x0020 /* Can do 10mbps half-duplex */ 379 #define LPA_10FULL 0x0040 /* Can do 10mbps full-duplex */ 380 #define LPA_100HALF 0x0080 /* Can do 100mbps half-duplex */ 381 #define LPA_100FULL 0x0100 /* Can do 100mbps full-duplex */ 573 if (np->duplex != newdup || np->linkspeed != newls) { 574 np->duplex = newdup; 676 np->duplex = 0; 715 np->duplex ? "Full" : "Half"); 717 writel(NVREG_MISC1_FORCE | (np->duplex [all...] |
H A D | sundance.c | 72 unsigned int full_duplex:1; /* is full duplex? */ 105 10mbps_hd 10Mbps half duplex. 106 10mbps_fd 10Mbps full duplex. 107 100mbps_hd 100Mbps half duplex. 108 100mbps_fd 100Mbps full duplex. 319 int duplex; local 330 duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040; 331 if (sdc->mii_if.full_duplex != duplex) { 332 sdc->mii_if.full_duplex = duplex; 333 dprintf(("%s: Setting %s-duplex base [all...] |
H A D | natsemi.c | 297 "10%s %s duplex.\n", 427 if (inl(ioaddr + ChipConfig) & 0x20000000) { /* Full duplex */ 573 int duplex = inl(ioaddr + ChipConfig) & 0x20000000 ? 1 : 0; local 576 printf("%s: Setting %s-duplex based on negotiated link" 578 duplex ? "full" : "half"); 579 if (duplex) {
|
H A D | e1000.c | 109 static void e1000_get_speed_and_duplex(struct e1000_hw *hw, uint16_t *speed, uint16_t *duplex); 1536 * Detects which PHY is present and the speed and duplex 1551 /* With 82543, we need to force speed and duplex on the MAC equal to what 1552 * the PHY speed and duplex configuration is. In addition, we need to 1697 /* Enable CRS on TX. This must be set for half-duplex operation. */ 1788 * the user should have provided a speed/duplex override. If so, then 1851 * 1) Set up the MAC to the current PHY speed/duplex 1929 DEBUGOUT("Advertise 10mb Half duplex\n"); 1935 DEBUGOUT("Advertise 10mb Full duplex\n"); 1941 DEBUGOUT("Advertise 100mb Half duplex\ 2205 uint16_t duplex; local 2598 e1000_get_speed_and_duplex(struct e1000_hw *hw, uint16_t *speed, uint16_t *duplex) argument [all...] |
H A D | tg3.c | 423 /* Set full-duplex, 1000 mbps. */ 524 printf("Link is up at %d Mbps, %s duplex. %s %s %s\n", 581 struct tg3 *tp __unused, uint32_t val, uint8_t *speed, uint8_t *duplex) 596 *duplex = result & 3; 2068 * run at gigabit with half duplex. 580 tg3_aux_stat_to_speed_duplex( struct tg3 *tp __unused, uint32_t val, uint8_t *speed, uint8_t *duplex) argument
|
H A D | tg3.h | 102 #define BMCR_FULLDPLX 0x0100 /* Full duplex */ 119 #define BMSR_10HALF 0x0800 /* Can do 10mbps, half-duplex */ 120 #define BMSR_10FULL 0x1000 /* Can do 10mbps, full-duplex */ 121 #define BMSR_100HALF 0x2000 /* Can do 100mbps, half-duplex */ 122 #define BMSR_100FULL 0x4000 /* Can do 100mbps, full-duplex */ 128 #define ADVERTISE_10HALF 0x0020 /* Try for 10mbps half-duplex */ 129 #define ADVERTISE_10FULL 0x0040 /* Try for 10mbps full-duplex */ 130 #define ADVERTISE_100HALF 0x0080 /* Try for 100mbps half-duplex */ 131 #define ADVERTISE_100FULL 0x0100 /* Try for 100mbps full-duplex */ 145 #define LPA_10HALF 0x0020 /* Can do 10mbps half-duplex */ [all...] |
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdllink.c | 540 dladm_linkduplex2str(link_duplex_t duplex, char *buf) argument 544 switch (duplex) {
|