~ubuntu-branches/ubuntu/lucid/ndiswrapper/lucid

« back to all changes in this revision

Viewing changes to driver/wrapper.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2005-11-16 23:39:48 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051116233948-00yddqygl6w65vzg
Tags: 1.5-1ubuntu1
Resynchronise with Debian.  (Totally me!)

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
#include "ndis.h"
20
20
 
21
 
NDIS_STATUS miniport_reset(struct ndis_handle *handle);
22
 
NDIS_STATUS miniport_query_info_needed(struct ndis_handle *handle,
 
21
NDIS_STATUS miniport_reset(struct wrapper_dev *wd);
 
22
NDIS_STATUS miniport_query_info_needed(struct wrapper_dev *wd,
23
23
                                       ndis_oid oid, void *buf,
24
24
                                       ULONG bufsize, ULONG *needed);
25
 
NDIS_STATUS miniport_query_info(struct ndis_handle *handle, ndis_oid oid,
 
25
NDIS_STATUS miniport_query_info(struct wrapper_dev *wd, ndis_oid oid,
26
26
                                void *buf, ULONG bufsize);
27
 
NDIS_STATUS miniport_set_info(struct ndis_handle *handle, ndis_oid oid,
 
27
NDIS_STATUS miniport_set_info(struct wrapper_dev *wd, ndis_oid oid,
28
28
                              void *buf, ULONG bufsize);
29
 
NDIS_STATUS miniport_query_int(struct ndis_handle *handle, ndis_oid oid,
30
 
                               void *data);
31
 
NDIS_STATUS miniport_set_int(struct ndis_handle *handle, ndis_oid oid,
 
29
NDIS_STATUS miniport_query_int(struct wrapper_dev *wd, ndis_oid oid,
 
30
                               ULONG *data);
 
31
NDIS_STATUS miniport_set_int(struct wrapper_dev *wd, ndis_oid oid,
32
32
                             ULONG data);
33
 
NDIS_STATUS miniport_init(struct ndis_handle *handle);
34
 
void miniport_halt(struct ndis_handle *handle);
35
 
void hangcheck_add(struct ndis_handle *handle);
36
 
void hangcheck_del(struct ndis_handle *handle);
37
 
void sendpacket_done(struct ndis_handle *handle, struct ndis_packet *packet);
38
 
int ndiswrapper_suspend_pci(struct pci_dev *pdev, u32 state);
 
33
NDIS_STATUS miniport_surprise_remove(struct wrapper_dev *wd);
 
34
NDIS_STATUS miniport_set_pm_state(struct wrapper_dev *wd,
 
35
                                     enum ndis_pm_state);
 
36
void hangcheck_add(struct wrapper_dev *wd);
 
37
void hangcheck_del(struct wrapper_dev *wd);
 
38
void sendpacket_done(struct wrapper_dev *wd, struct ndis_packet *packet);
 
39
int ndiswrapper_suspend_pci(struct pci_dev *pdev, pm_message_t state);
39
40
int ndiswrapper_resume_pci(struct pci_dev *pdev);
40
41
 
41
 
void ndiswrapper_remove_one_dev(struct ndis_handle *handle);
42
 
int ndis_reinit(struct ndis_handle *handle);
43
 
int setup_dev(struct net_device *dev);
44
 
 
45
 
struct net_device *ndis_init_netdev(struct ndis_handle **phandle,
46
 
                                    struct ndis_device *device,
47
 
                                    struct ndis_driver *driver);
48
 
 
 
42
int ndiswrapper_suspend_usb(struct usb_interface *intf, pm_message_t state);
 
43
int ndiswrapper_resume_usb(struct usb_interface *intf);
 
44
 
 
45
NDIS_STATUS ndis_reinit(struct wrapper_dev *wd);
 
46
int ndiswrapper_start_device(struct wrapper_dev *wd);
 
47
void ndiswrapper_stop_device(struct wrapper_dev *wd);
 
48
 
 
49
void check_capa(struct wrapper_dev *wd);
 
50
 
 
51
struct net_device *init_netdev(struct wrapper_dev **pwd,
 
52
                               struct ndis_device *device,
 
53
                               struct ndis_driver *driver);
 
54
 
 
55
struct iw_statistics *get_wireless_stats(struct net_device *dev);
49
56
#endif /* WRAPPER_H */