Searched refs:mac_dev (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/stand/lib/inet/ |
H A D | mac.c | 98 if ((mac_state.mac_dev = prom_open(bootdevicename)) == 0) { in mac_init() 173 if (prom_getmacaddr(mac_state.mac_dev, in mac_init() 198 if (prom_getmacaddr(mac_state.mac_dev, in mac_init() 222 if (prom_getmacaddr(mac_state.mac_dev, in mac_init() 250 if (prom_getmacaddr(mac_state.mac_dev, in mac_init() 280 (void) prom_close(mac_state.mac_dev); in mac_fini() 356 return (mac_state.mac_dev); in mac_get_dev()
|
H A D | ibd.c | 169 (void) prom_write(mac_state.mac_dev, (caddr_t)out, in ibd_comarp() 177 len = prom_read(mac_state.mac_dev, mac_state.mac_buf, in ibd_comarp() 341 len = prom_read(mac_state.mac_dev, mac_state.mac_buf, in ibd_input() 451 (void) prom_write(mac_state.mac_dev, in ibd_input() 560 return (prom_write(mac_state.mac_dev, (char *)mp->b_rptr, size, in ibd_output()
|
H A D | ethernet.c | 133 (void) prom_write(mac_state.mac_dev, (caddr_t)out, in ether_comarp() 141 len = prom_read(mac_state.mac_dev, mac_state.mac_buf, in ether_comarp() 341 len = prom_read(mac_state.mac_dev, mac_state.mac_buf, in ether_input() 458 (void) prom_write(mac_state.mac_dev, in ether_input() 586 return (prom_write(mac_state.mac_dev, (char *)mp->b_rptr, size, in ether_output()
|
H A D | mac_impl.h | 43 int mac_dev; member
|