Module driver:dnotify - Device notification driver
Device notification driver. This pseudo device arranges rendevous between other device drivers.
Requires:
Used: driver:usb driver:k8055 driver:usb-keyboard driver:usb-mouse
Index
-
Channel type
CT.DNOTIFY- dnotify driver channel-type-
Variable
in?- Requests to dnotify driver -
Variable
out!- Responses from dnotify driver
-
Variable
-
Channel type
CT.DNOTIFY.CALLBACK- Notification callback channel-type-
Variable
in?- Notification messages
-
Variable
-
Constant
DEFAULT.DEVICE.DESC- Default device descriptor -
Group
DEVICE- Device type bits-
Constant
DEVICE.TYPE.ANY- Any device type -
Constant
DEVICE.TYPE.AUDIO- Audio major device -
Constant
DEVICE.TYPE.AUDIO.AC97- AC'97 audio device -
Constant
DEVICE.TYPE.BLOCK- Block major device -
Constant
DEVICE.TYPE.MAJOR- Device major number mask -
Constant
DEVICE.TYPE.MINOR- Device minor number mask -
Constant
DEVICE.TYPE.PCI- PCI major device -
Constant
DEVICE.TYPE.SERIAL- Serial major device -
Constant
DEVICE.TYPE.USB- USB major device -
Constant
DEVICE.TYPE.USB.FUNCTION- USB function minor device -
Constant
DEVICE.TYPE.USB.INTERFACE- USB interface minor device
-
Constant
-
Record
DEVICE.DESC- Device descriptor structure-
Variable
address- Device address -
Variable
class- Device class -
Variable
flags- Flags (see ) -
Variable
product- Device product -
Variable
protocol- Device protocol -
Variable
type- Device type -
Variable
vendor- Device vendor
-
Variable
-
Group
DEVICE.MATCH- Device flag bits-
Constant
DEVICE.MATCH.ADDRESS- Match device address -
Constant
DEVICE.MATCH.CLASS- Match device class -
Constant
DEVICE.MATCH.PRODUCT- Match device product -
Constant
DEVICE.MATCH.PROTOCOL- Match device protocol -
Constant
DEVICE.MATCH.TYPE- Match device type -
Constant
DEVICE.MATCH.VENDOR- Match device vendor
-
Constant
-
Group
DNOTIFY- Notification types-
Constant
DNOTIFY.INSERTION- Inserting device notification -
Constant
DNOTIFY.REMOVAL- Removing device notification
-
Constant
-
Protocol
P.DNOTIFY.CALLBACK.IN- Notification callback input protocol -
Protocol
P.DNOTIFY.IN- dnotify driver input protocol-
Tag
add.notification- Request to be notified of device activity, responds with result tag -
Tag
device.inserted- Device insert -
Tag
device.removed- Device remove -
Tag
remove.notification- Remove notification (passes result received for add.notification )
-
Tag
-
Protocol
P.DNOTIFY.OUT- dnotify driver output protocol-
Tag
result- Result for add.notification
-
Tag
Declarations
dnotify.inc:22Group DNOTIFY
Notification types.
dnotify.inc:23Constant DNOTIFY.INSERTION
VAL INT DNOTIFY.INSERTION
Inserting device notification.
dnotify.inc:24Constant DNOTIFY.REMOVAL
VAL INT DNOTIFY.REMOVAL
Removing device notification.
dnotify.inc:26Group DEVICE
Device type bits.
dnotify.inc:27Constant DEVICE.TYPE.MAJOR
VAL INT DEVICE.TYPE.MAJOR
Device major number mask.
dnotify.inc:28Constant DEVICE.TYPE.MINOR
VAL INT DEVICE.TYPE.MINOR
Device minor number mask.
dnotify.inc:30Constant DEVICE.TYPE.PCI
VAL INT DEVICE.TYPE.PCI
PCI major device.
dnotify.inc:31Constant DEVICE.TYPE.USB
VAL INT DEVICE.TYPE.USB
USB major device.
dnotify.inc:32Constant DEVICE.TYPE.AUDIO
VAL INT DEVICE.TYPE.AUDIO
Audio major device.
dnotify.inc:33Constant DEVICE.TYPE.BLOCK
VAL INT DEVICE.TYPE.BLOCK
Block major device.
dnotify.inc:34Constant DEVICE.TYPE.SERIAL
VAL INT DEVICE.TYPE.SERIAL
Serial major device.
dnotify.inc:36Constant DEVICE.TYPE.USB.FUNCTION
VAL INT DEVICE.TYPE.USB.FUNCTION
USB function minor device.
dnotify.inc:37Constant DEVICE.TYPE.USB.INTERFACE
VAL INT DEVICE.TYPE.USB.INTERFACE
USB interface minor device.
dnotify.inc:38Constant DEVICE.TYPE.AUDIO.AC97
VAL INT DEVICE.TYPE.AUDIO.AC97
AC'97 audio device.
dnotify.inc:40Constant DEVICE.TYPE.ANY
VAL INT DEVICE.TYPE.ANY
Any device type.
dnotify.inc:43Group DEVICE.MATCH
Device flag bits.
dnotify.inc:44Constant DEVICE.MATCH.TYPE
VAL INT DEVICE.MATCH.TYPE
Match device type.
dnotify.inc:45Constant DEVICE.MATCH.VENDOR
VAL INT DEVICE.MATCH.VENDOR
Match device vendor.
dnotify.inc:46Constant DEVICE.MATCH.PRODUCT
VAL INT DEVICE.MATCH.PRODUCT
Match device product.
dnotify.inc:47Constant DEVICE.MATCH.CLASS
VAL INT DEVICE.MATCH.CLASS
Match device class.
dnotify.inc:48Constant DEVICE.MATCH.PROTOCOL
VAL INT DEVICE.MATCH.PROTOCOL
Match device protocol.
dnotify.inc:49Constant DEVICE.MATCH.ADDRESS
VAL INT DEVICE.MATCH.ADDRESS
Match device address.
dnotify.inc:53Record DEVICE.DESC
DATA TYPE DEVICE.DESC
Device descriptor structure.
dnotify.inc:56Variable type
INT
Device type.
dnotify.inc:57Variable vendor
INT
Device vendor.
dnotify.inc:58Variable product
INT
Device product.
dnotify.inc:59Variable class
INT
Device class.
dnotify.inc:60Variable protocol
INT
Device protocol.
dnotify.inc:61Variable address
INT
Device address.
dnotify.inc:63Constant DEFAULT.DEVICE.DESC
VAL DEVICE.DESC DEFAULT.DEVICE.DESC
Default device descriptor.
dnotify.inc:67Protocol P.DNOTIFY.CALLBACK.IN
PROTOCOL P.DNOTIFY.CALLBACK.IN
Notification callback input protocol.
dnotify.inc:74Channel type CT.DNOTIFY.CALLBACK
CHAN TYPE CT.DNOTIFY.CALLBACK
Notification callback channel-type.
dnotify.inc:76Variable in?
CHAN P.DNOTIFY.CALLBACK.IN
Notification messages.
dnotify.inc:81Protocol P.DNOTIFY.IN
PROTOCOL P.DNOTIFY.IN
dnotify driver input protocol.
dnotify.inc:83Tag device.inserted
device.inserted; DEVICE.DESC
Device insert.
dnotify.inc:84Tag device.removed
device.removed; DEVICE.DESC
Device remove.
dnotify.inc:89Tag add.notification
add.notification; INT; SHARED CT.DNOTIFY.CALLBACK!; MOBILE []DEVICE.DESC
Request to be notified of device activity, responds with result tag.
Parameters:
INT |
type |
Notification type (see DNOTIFY). |
SHARED CT.DNOTIFY.CALLBACK! |
cbchan |
Callback channel-end (used for notifications). |
MOBILE []DEVICE.DESC |
descs |
Device descriptors. |
dnotify.inc:90Tag remove.notification
remove.notification; INT
Remove notification (passes result received for add.notification).
dnotify.inc:93Protocol P.DNOTIFY.OUT
PROTOCOL P.DNOTIFY.OUT
dnotify driver output protocol.
dnotify.inc:95Tag result
result; INT
Result for add.notification.
dnotify.inc:98Channel type CT.DNOTIFY
CHAN TYPE CT.DNOTIFY
dnotify driver channel-type.
dnotify.inc:100Variable in?
CHAN P.DNOTIFY.IN
Requests to dnotify driver.
dnotify.inc:101Variable out!
CHAN P.DNOTIFY.OUT
Responses from dnotify driver.