Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ed/if_ed_3c503.c
Context not available. | |||||
int i; | int i; | ||||
u_int memsize; | u_int memsize; | ||||
u_char isa16bit; | u_char isa16bit; | ||||
u_long conf_maddr, conf_msize, irq, junk, pmem; | rman_res_t conf_maddr, conf_msize, irq, junk, pmem; | ||||
error = ed_alloc_port(dev, 0, ED_3COM_IO_PORTS); | error = ed_alloc_port(dev, 0, ED_3COM_IO_PORTS); | ||||
if (error) | if (error) | ||||
Context not available. | |||||
ed_asic_outb(sc, ED_3COM_IDCFR, ED_3COM_IDCFR_IRQ5); | ed_asic_outb(sc, ED_3COM_IDCFR, ED_3COM_IDCFR_IRQ5); | ||||
break; | break; | ||||
default: | default: | ||||
device_printf(dev, "Invalid irq configuration (%ld) must be 3-5,9 for 3c503\n", | device_printf(dev, "Invalid irq configuration (%jd) must be 3-5,9 for 3c503\n", | ||||
irq); | irq); | ||||
return (ENXIO); | return (ENXIO); | ||||
} | } | ||||
Context not available. |