[ipxe-devel] undi_get_information->IntNumber : returned values

Yossef Efraim yossefe at mellanox.com
Fri Sep 5 14:38:04 UTC 2014


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:mbrown at fensystems.co.uk] 
Sent: Friday, September 05, 2014 2:21 AM
To: Yossef Efraim; ipxe-devel at lists.ipxe.org
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


More information about the ipxe-devel mailing list