Lines Matching defs:error
88 int error = 0;
90 error = ISA_PNP_PROBE(device_get_parent(dev), dev, an_ids);
91 if (error == ENXIO)
92 return(error);
94 error = an_probe(dev);
96 if (error == 0)
99 error = an_alloc_irq(dev, 0, 0);
101 if (!error)
103 return (error);
111 int error;
118 error = an_attach(sc, flags);
119 if (error) {
121 return (error);
124 error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET,
126 if (error) {
128 return (error);