|
Lines 5-15
Link Here
|
| 5 |
They will, when run, create an example skeleton driver |
5 |
They will, when run, create an example skeleton driver |
| 6 |
for you. You can use this driver as a starting point for |
6 |
for you. You can use this driver as a starting point for |
| 7 |
writing drivers for your own devices. They have all the hooks needed |
7 |
writing drivers for your own devices. They have all the hooks needed |
| 8 |
for intiialisation, probing, attaching, as well as DEVFS |
8 |
for initialisation, probing, attaching, as well as DEVFS |
| 9 |
node creation. They also create sample ioctl commands and a sample |
9 |
node creation. They also create sample ioctl commands and a sample |
| 10 |
ioctl definition .h file in /sys/sys. In other words they are fully |
10 |
ioctl definition .h file in /sys/sys. In other words they are fully |
| 11 |
functional in a 'skeleton' sort of a way. They support multiple devices |
11 |
functional in a 'skeleton' sort of a way. They support multiple devices |
| 12 |
so that you may have several of your 'foobar' devices probed and atached |
12 |
so that you may have several of your 'foobar' devices probed and attached |
| 13 |
at once. |
13 |
at once. |
| 14 |
|
14 |
|
| 15 |
I expect that these scripts will improve with time. |
15 |
I expect that these scripts will improve with time. |