* Peter Stuge stuge-linuxbios@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 ;-)