| plan 9 kernel history: overview | file list | diff list |
2002/0216/pc/usb.h (diff list | history)
| 2002/0215/sys/src/9/pc/usb.h:116,122 – 2002/0216/sys/src/9/pc/usb.h:116,121 (short | long | prev) | ||
|
Rename addusbtype to addusbhost. Remove Udev.root. Remove Usbhost.ctlrno. Formatting edits.
rsc Fri Mar 4 12:44:25 2005 | ||
| 2002/0215 | int state; int id; uchar port; /* port number on connecting hub */ | |
| 2002/0215/sys/src/9/pc/usb.h:125,138 – 2002/0216/sys/src/9/pc/usb.h:124,142 | ||
| 2002/0215 | Udev* next; /* next device on this hub */ }; | |
| 2002/0216 | /* * One of these per active Host Controller Interface (HCI) */ | |
| 2002/0215 | struct Usbhost { | |
| 2002/0216 | ISAConf; /* hardware info */ int tbdf; /* type+busno+devno+funcno */ | |
| 2002/0215 |
| |
| 2002/0216 | QLock; /* protects namespace state */ int idgen; /* version number to distinguish new connections */ Udev* dev[MaxUsbDev]; /* device endpoints managed by this HCI */ | |
| 2002/0215 |
| |
| 2002/0216 | void (*init)(Usbhost*); | |
| 2002/0215 | void (*interrupt)(Ureg*, void*); void (*portinfo)(Usbhost*, char*, char*); | |
| 2002/0215/sys/src/9/pc/usb.h:151,154 – 2002/0216/sys/src/9/pc/usb.h:155,158 | ||
| 2002/0215 | void *ctlr; }; | |
| 2002/0216 | extern void addusbtype(char*, int(*)(Usbhost*)); | |