/* Cable type is set via control register 7. Bit zero high for UTP, low for STP.  */
static void madgemc_setcabletype(struct net_device *dev, int type)
/* Cable type is set via control register 7. Bit zero high for UTP, low for STP.  */
static void madgemc_setcabletype(struct net_device *dev, int type)
{
	outb((type==0)?MC_CONTROL_REG7_CABLEUTP:MC_CONTROL_REG7_CABLESTP,
	     dev->base_addr + MC_CONTROL_REG7);
}