NE2000_NPORTS
if (bus_space_map(xsht, NE2000_NIC_OFFSET, NE2000_NPORTS, 0, &nich)) {
NE2000_NPORTS << ETHERNEC_PORT_STRIDE, 0, &ioh) != 0)
NE2000_NPORTS << ETHERNEC_PORT_STRIDE, 0, &iowh) != 0)
bus_space_unmap(iot, iowh, NE2000_NPORTS << ETHERNEC_PORT_STRIDE);
bus_space_unmap(iot, ioh, NE2000_NPORTS << ETHERNEC_PORT_STRIDE);
NE2000_NPORTS << ETHERNEC_PORT_STRIDE, 0, &ioh) != 0)
NE2000_NPORTS << ETHERNEC_PORT_STRIDE, 0, &iowh) != 0)
bus_space_unmap(iot, iowh, NE2000_NPORTS << ETHERNEC_PORT_STRIDE);
bus_space_unmap(iot, ioh, NE2000_NPORTS << ETHERNEC_PORT_STRIDE);
if (bus_space_map(iot, oba->oba_addr, NE2000_NPORTS, 0, &nioh))
bus_space_unmap( iot, nioh, NE2000_NPORTS );
bus_space_unmap(nict, nich, NE2000_NPORTS);
if (bus_space_map(nict, 0x10000300, NE2000_NPORTS, 0, &nich)){
bus_space_unmap(nict, nich, NE2000_NPORTS);
bus_space_unmap(nict, nich, NE2000_NPORTS);
if (bus_space_map(nict, 0x10000300, NE2000_NPORTS, 0, &nich))
if (bus_space_map(nict, ma->ma_addr1, NE2000_NPORTS, 0, &nich)) {
if (bus_space_map(nict, ma->ma_addr1, NE2000_NPORTS, 0, &nich))
bus_space_unmap(nict, nich, NE2000_NPORTS);
if (bus_space_map(iot, ia->ia_addr, NE2000_NPORTS * 2,
bus_space_unmap(iot, ioh, NE2000_NPORTS);
if (bus_space_map(iot, ia->ia_addr, NE2000_NPORTS * 2,
bus_space_unmap(nict, nich, NE2000_NPORTS);
if (bus_space_map(nict, na->na_addr, NE2000_NPORTS*2, 0, &nich)) {
if (bus_space_map(nict, na->na_addr, NE2000_NPORTS*2, 0, &nich))
bus_space_barrier(nict, nich, 0, NE2000_NPORTS,
if (bus_space_map(nict, ia->ia_io[0].ir_addr, NE2000_NPORTS, 0, &nich))
ia->ia_io[0].ir_size = NE2000_NPORTS;
bus_space_unmap(nict, nich, NE2000_NPORTS);
if (bus_space_map(nict, ia->ia_io[0].ir_addr, NE2000_NPORTS,