Re: MSR support for x86

Stephan Meyer (sensei@wiesel.de)
Fri, 28 Feb 1997 13:15:40 +0100 (MET)


On 27 Feb 1997, H. Peter Anvin wrote:
> Followup to: <Pine.LNX.3.95.970227232700.247A-100000@localhost>
> By author: Stephan Meyer <sensei@wiesel.de>
> In newsgroup: linux.dev.kernel
> >
> > Access to the registers is made available through the character device
> > /dev/msr major 10 / minor 8. (Could the responsible person please make
> > this assignment official?).
> >
>
> No; minor 8 is already assigned, and besides, the range 0-127 are for
> mice. You have been assigned minor number 142 for this device.
>
> -hpa

I'm sorry about that. I do have a copy of the most recent 2.1.x kernel,
but I was just too lazy to go and look.

To assign the new minor number, just change the #define in msr.c.
I forgot: to create the device /dev/msr, type: "mknod /dev/msr c 10 142".

Cheers, Stephan

-----------------------------------------------
Stephan Meyer
+49-89-4301114
Stephan.Meyer@munich.netsurf.de
http://fatman.mathematik.tu-muenchen.de/~meyer/
-----------------------------------------------