| .. | .. |
|---|
| 325 | 325 | unsigned int flags; |
|---|
| 326 | 326 | }; |
|---|
| 327 | 327 | |
|---|
| 328 | | -/* parport_register_device declares that a device is connected to a |
|---|
| 329 | | - port, and tells the kernel all it needs to know. |
|---|
| 330 | | - - pf is the preemption function (may be NULL for no callback) |
|---|
| 331 | | - - kf is the wake-up function (may be NULL for no callback) |
|---|
| 332 | | - - irq_func is the interrupt handler (may be NULL for no interrupts) |
|---|
| 333 | | - - handle is a user pointer that gets handed to callback functions. */ |
|---|
| 334 | | -struct pardevice *parport_register_device(struct parport *port, |
|---|
| 335 | | - const char *name, |
|---|
| 336 | | - int (*pf)(void *), void (*kf)(void *), |
|---|
| 337 | | - void (*irq_func)(void *), |
|---|
| 338 | | - int flags, void *handle); |
|---|
| 339 | | - |
|---|
| 328 | +/* |
|---|
| 329 | + * parport_register_dev_model declares that a device is connected to a |
|---|
| 330 | + * port, and tells the kernel all it needs to know. |
|---|
| 331 | + */ |
|---|
| 340 | 332 | struct pardevice * |
|---|
| 341 | 333 | parport_register_dev_model(struct parport *port, const char *name, |
|---|
| 342 | 334 | const struct pardev_cb *par_dev_cb, int cnt); |
|---|
| .. | .. |
|---|
| 460 | 452 | void *, size_t, int); |
|---|
| 461 | 453 | |
|---|
| 462 | 454 | /* IEEE1284.3 functions */ |
|---|
| 455 | +#define daisy_dev_name "Device ID probe" |
|---|
| 463 | 456 | extern int parport_daisy_init (struct parport *port); |
|---|
| 464 | 457 | extern void parport_daisy_fini (struct parport *port); |
|---|
| 465 | 458 | extern struct pardevice *parport_open (int devnum, const char *name); |
|---|