Messages in this thread | | | From | (Alan Cox) | Subject | Re: your mail | Date | Fri, 26 Mar 1999 20:57:19 +0000 (GMT) |
| |
> I was taking the advice of Alessandro Rubini in his book Linux Device Drivers. He > > suggested using dynamic allocation of major numbers by setting the major to zero > in > the request_chrdev. Is this *not* the preferred method?
Not generally - also major 0 doesnt use the next number- it starts from the highest and works backwards - so it fills in the 'reserved' spaces, while picking the next one will tend to fill in slots belonging to drivers
- 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/
| |