From 946484be0300a09896e8b82f9b07b23504bf24e6 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Tue, 1 Dec 2009 08:54:11 -0200 Subject: [PATCH] Put character devices allocation in its own foil. --- _ldd.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.20.1