Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue

From: Martin Mares
Date: Tue Dec 25 2007 - 04:22:55 EST


Hello!

> (and yes I realize this needs lspci to be expanded some to set the
> flag if the admin really asks for it, but such is life)

Reading past the first 256 bytes of the sysfs file should be enough
-- only root can do that (other users get only 64 bytes anyway) and
problems with reading random registers have hopefully taught programs
not to read blindly a long time ago.

Have a nice fortnight
--
Martin `MJ' Mares <mj@xxxxxx> http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
Never make any mistaeks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/