I don't think your patch is better because it means we expect different
driver behaviour when passing the "xd=" parameter to the kernel and to the
module.
It is safer to force user to pass all parameters to the kernel/driver
manually (then the "address" is set to zero) than rely on this
pseudo-autodetection of the base I/O address.
> - case 0xCA000: if (xd[3]<=0) xd_iobase = 0x324;
> + case 0xCA000:
> +#ifdef MODULE
> + if (xd[3]<=0)
> +#endif
> + xd_iobase = 0x324;
The patches for 2.1.84 and Alan's 2.0.34pre7 I send in the next letter
with regards
-- ======================================================================= Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl tel. (0-58) 347 14 61 Wydz.Fizyki Technicznej i Matematyki Stosowanej Politechniki Gdanskiej- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu