Thanks

I know PXE spec is sometimes ambiguous, but does 2.1 spec forces you to work 
with Interrupt ? - will a device claiming to be comply to 2.1 spec (for example 
by posting the !PXE struct) must supply with non NULL 'irq' (netdev ops) 
function and pass the IRQ num... 

Yossi  



-----Original Message-----
From: Michael Brown [mailto:[email protected]] 
Sent: Friday, September 05, 2014 2:21 AM
To: Yossef Efraim; [email protected]
Cc: Yaron Gepstein; Tal Epshtein Elbrus
Subject: Re: [ipxe-devel] undi_get_information->IntNumber : returned values

On 05/09/14 00:09, Yossef Efraim wrote:
> 1.Is it allowed (pxespec) to borrow this system timer as an interrupt ?
>
> a.If not - what’s the alternative (for non IRQ supporting device) - 
> what should be returned in ‘IntNumber’ ?

This code ensures that the UNDI device does not claim to support IRQs unless 
the underlying network device supports them:

        if ( netdev_irq_supported ( pxe_netdev ) )
                 undi_get_iface_info->ServiceFlags |= SUPPORTED_IRQ;

Michael
_______________________________________________
ipxe-devel mailing list
[email protected]
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to