X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fkernel%2Fold_slides%2F.git;a=blobdiff_plain;f=_ldd.xml;h=8056a1f06d506b2277c679125d037632fc6ee6a7;hp=4930ffc2bd075b56fd1180a5ef3180847cbae45a;hb=946484be0300a09896e8b82f9b07b23504bf24e6;hpb=464a89f04248ac8385e14c2d581008a125c0a2a2 diff --git a/_ldd.xml b/_ldd.xml index 4930ffc..8056a1f 100644 --- a/_ldd.xml +++ b/_ldd.xml @@ -210,9 +210,13 @@ Linux devices may be of different types, including character devices, block devices or network devices. Both character and block devices have identifying numbers, a major and a minor number. + + + +Character devices allocation In Linux, major and minor numbers have to be requested or allocated. The -calls to do that are: +calls to do that for character devices are: int register\_chrdev\_region (dev\_t first, unsigned int count, char