Re: More on bigger kdev_t

H. Peter Anvin (hpa@transmeta.com)
9 Oct 1999 04:04:13 GMT


Followup to: <UTC199910082128.XAA09266.aeb@papegaai.cwi.nl>
By author: Andries.Brouwer@cwi.nl
In newsgroup: linux.dev.kernel
>
> Yes, but we also want to get rid of these arrays.
> See, right now we have fixed arrays of length MAX_BLKDEV.
> You do not want to throw away lots of memory and give these
> length 65536 or so. You just want a driver_struct, and in this
> structure one finds interesting things about the device, like
> the blocksize and the readahead etc. And, by the way, also
> the major and minor number.
>

Major number, definitely; I'm not sure about the minor number: for a
lot of devices, the minor number is really a driver parameter.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/