/* General outline: remap really low stuff  to SuperIO, stuff in PCI IO space (at or above window at pci.h:PCIBIOS_MIN_IO) is mapped through the PCI IO window. Stuff with high bits (PXSEG) should be way beyond the window, and is used w/o translation for compatibility.  */
unsigned char sh7751systemh_inb(unsigned long port)
/* General outline: remap really low stuff  to SuperIO, stuff in PCI IO space (at or above window at pci.h:PCIBIOS_MIN_IO) is mapped through the PCI IO window. Stuff with high bits (PXSEG) should be way beyond the window, and is used w/o translation for compatibility.  */
unsigned char sh7751systemh_inb(unsigned long port)
{
	if (PXSEG(port))
		return *(volatile unsigned char *)port;
	else if (port <= 0x3F1)
		return *(volatile unsigned char *)ETHER_IOMAP(port);
	else
		return (*port2adr(port))&0xff;
}