]>
Commit | Line | Data |
---|---|---|
3e670223 | 1 | struct parport_config { |
2 | int num; | |
3 | unsigned long ppbase; | |
4 | unsigned char real; | |
5 | unsigned short usb_vid; | |
6 | unsigned short usb_pid; | |
66156306 | 7 | unsigned short usb_iface; |
25ba7a49 | 8 | int (*open) (int num); |
9 | void (*close) (int handle); | |
10 | int (*transfer) (WD_TRANSFER *tr, int fd, unsigned int request, int ppbase, int ecpbase, int num); | |
3e670223 | 11 | }; |
12 | ||
39664736 MG |
13 | struct parport_config __attribute__ ((visibility ("hidden"))) *config_get(int num); |
14 | unsigned char __attribute__ ((visibility ("hidden"))) config_is_real_pport(int num); | |
15 | unsigned short __attribute__ ((visibility ("hidden"))) config_usb_vid(int num); | |
16 | unsigned short __attribute__ ((visibility ("hidden"))) config_usb_pid(int num); | |
66156306 | 17 | unsigned short __attribute__ ((visibility ("hidden"))) config_usb_iface(int num); |