1. Manuals
  2. Brands
  3. Computer Equipment
  4. Server
  5. IBM
  6. Computer Equipment
  7. Server

IBM 10 SP1 EAL4 - page 242

1 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246
Download on canonical page 246 pages, 2.94 Mb
driver methods for character device drivers and block device drivers, see [RUBN]. Chapter 3 describes the
methods for character devices and chapter 6 describes the methods for block devices.
6.8.1.7.2.1 Character Devices
Possible Character Device methods are:
llseek flush
read release
write fsync
readdir fasync
poll lock
ioctl readv
mmap writev
open owner
Other functions:
register_chrdev Linux Device Drivers, O’Reilly, Chapter 3, 2nd Edition June 2001,
Alessandro Rubini
unregister_chrdev Linux Device Drivers, O’Reilly, Chapter 3, 2nd Edition June 2001,
Alessandro Rubini
6.8.1.7.2.2 Block Devices
Possible Block Device Methods are:
open
release
ioctl
check_media_change
revalidate
In addition to this, the programmer needs to define the device-specific function request().
Other functions include the following:
register_blkdev Linux Device Drivers, O’Reilly, Chapter 12, 2nd Edition June
2001, Alessandro Rubini
unregister_blkdev Linux Device Drivers, O’Reilly, Chapter 12, 2nd Edition June
2001, Alessandro Rubini
230
MENU

Models

Contents