Re: bus_setup_intr() vs. ether_ifattach() race

2003-02-10 Thread Matthew N. Dodd
On Sun, 9 Feb 2003, Nate Lawson wrote: Which is the correct order to do these two functions? If the irq is enabled before the device is attached, it seems a response cannot be sent if a packet arrives before the attach. The right way seems to be to attach the device before setting up an irq

bus_setup_intr() vs. ether_ifattach() race

2003-02-09 Thread Nate Lawson
Which is the correct order to do these two functions? If the irq is enabled before the device is attached, it seems a response cannot be sent if a packet arrives before the attach. The right way seems to be to attach the device before setting up an irq but does this have side effects? -Nate

Re: bus_setup_intr() vs. ether_ifattach() race

2003-02-09 Thread Terry Lambert
Nate Lawson wrote: Which is the correct order to do these two functions? If the irq is enabled before the device is attached, it seems a response cannot be sent if a packet arrives before the attach. The right way seems to be to attach the device before setting up an irq but does this have