Home
last modified time | relevance | path

Searched refs:ULTRA_NIC_OFFSET (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/8390/
H A Dsmc-ultra.c122 #define ULTRA_NIC_OFFSET 16 /* NIC register offset from the base_addr. */ macro
279 dev->base_addr = ioaddr+ULTRA_NIC_OFFSET; in ultra_probe1()
390 int ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* ASIC addr */ in ultra_open()
421 int cmd_port = dev->base_addr - ULTRA_NIC_OFFSET; /* ASIC base addr */ in ultra_reset_8390()
447 outb(ULTRA_MEMENB, dev->base_addr - ULTRA_NIC_OFFSET); /* shmem on */ in ultra_get_8390_hdr()
456 outb(0x00, dev->base_addr - ULTRA_NIC_OFFSET); /* shmem off */ in ultra_get_8390_hdr()
468 outb(ULTRA_MEMENB, dev->base_addr - ULTRA_NIC_OFFSET); in ultra_block_input()
480 outb(0x00, dev->base_addr - ULTRA_NIC_OFFSET); /* Disable memory. */ in ultra_block_input()
490 outb(ULTRA_MEMENB, dev->base_addr - ULTRA_NIC_OFFSET); in ultra_block_output()
494 outb(0x00, dev->base_addr - ULTRA_NIC_OFFSET); /* Disable memory. */ in ultra_block_output()
[all …]