[LinuxBIOS] [PATCH] Improve ITE IT8716F support.
Stefan Reinauer
stepan at coresystems.de
Sat Feb 24 17:40:42 CET 2007
* Peter Stuge <stuge-linuxbios at cdy.org> [070224 17:32]:
> + unsigned port = dev >> 8;
>
> How does this work? device_t is a pointer to a struct elsewhere:
>
> + outb(0x55, dev->path.u.pnp.port);
In v2 we have this little magic trick that allows you to use device_t
both in romcc and gcc code. For romcc, it is an int, for gcc it is a
struct.
In v3 we don't have this problem anymore ;-)
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
More information about the coreboot
mailing list