Searched refs:mac_dev (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/stand/lib/inet/
H A Dmac_impl.h43 int mac_dev; member in struct:mac_type
H A Dmac.c98 if ((mac_state.mac_dev = prom_open(bootdevicename)) == 0) {
173 if (prom_getmacaddr(mac_state.mac_dev,
198 if (prom_getmacaddr(mac_state.mac_dev,
222 if (prom_getmacaddr(mac_state.mac_dev,
250 if (prom_getmacaddr(mac_state.mac_dev,
280 (void) prom_close(mac_state.mac_dev);
356 return (mac_state.mac_dev);
H A Dibd.c169 (void) prom_write(mac_state.mac_dev, (caddr_t)out,
177 len = prom_read(mac_state.mac_dev, mac_state.mac_buf,
341 len = prom_read(mac_state.mac_dev, mac_state.mac_buf,
451 (void) prom_write(mac_state.mac_dev,
560 return (prom_write(mac_state.mac_dev, (char *)mp->b_rptr, size,
H A Dethernet.c133 (void) prom_write(mac_state.mac_dev, (caddr_t)out,
141 len = prom_read(mac_state.mac_dev, mac_state.mac_buf,
341 len = prom_read(mac_state.mac_dev, mac_state.mac_buf,
458 (void) prom_write(mac_state.mac_dev,
586 return (prom_write(mac_state.mac_dev, (char *)mp->b_rptr, size,

Completed in 62 milliseconds