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 side
> effects?

The main side effect is that probes that require IRQs in order
to determine if the device is there (e.g. AMD Lance, etc.)
will never be able to probe true, unless the interrupt is routed
to an IRQ handler.

On the other hand, it should probably not be the standard IRQ
handler that gets invoked, as a result of the probe, but one that
is specific to probing.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to