[LinuxBIOS] question about pnp_dev_info structure in it8716f's superio.c

Stefan Reinauer stepan at coresystems.de
Fri Apr 27 23:36:00 CEST 2007


* Ward Vandewege <ward at gnu.org> [070427 23:06]:
> The last 2 parameters on the KBCK line are structs of the type 
> io_info:
> 
>   struct io_info {
>     unsigned mask, set;
>   };
 
> Also, the 'set' value seems to be unused in this context, which is confusing;
> I'm not sure why it is even there?

I dont think it was ever used. Or was it an obsolete import from v1?

I it's not used, it could be dropped and replaced by unsigned (int) mask
instead of this nasty struct. Also, is it a mask, or is it a base
address?


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/




More information about the coreboot mailing list