~ubuntu-branches/ubuntu/jaunty/ndiswrapper/jaunty

« back to all changes in this revision

Viewing changes to driver/pe_linker.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2008-11-21 14:17:35 UTC
  • mfrom: (1.2.11 upstream) (2.1.3 lenny)
  • Revision ID: james.westby@ubuntu.com-20081121141735-hzymcfoy3up8hego
Tags: 1.53-2ubuntu1
* Merge with Debian; remaining changes:
  - Build for lpia.
  - debian/control:
    + Update description to point out that the kernel source package is
      not required with the standard Ubuntu kernel.
    + Change the Maintainer address.
  - debian/control:
    + Drop ndiswrapper-source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
#ifndef TEST_LOADER
70
70
extern struct wrap_export ntoskernel_exports[], ntoskernel_io_exports[],
71
71
        ndis_exports[], crt_exports[], hal_exports[], rtl_exports[];
72
 
#ifdef CONFIG_USB
 
72
#ifdef ENABLE_USB
73
73
extern struct wrap_export usb_exports[];
74
74
#endif
75
75
 
101
101
                if (strcmp(rtl_exports[i].name, name) == 0)
102
102
                        return (char *)rtl_exports[i].func;
103
103
 
104
 
#ifdef CONFIG_USB
 
104
#ifdef ENABLE_USB
105
105
        for (i = 0 ; usb_exports[i].name != NULL; i++)
106
106
                if (strcmp(usb_exports[i].name, name) == 0)
107
107
                        return (char *)usb_exports[i].func;
494
494
}
495
495
 
496
496
#if defined(CONFIG_X86_64)
497
 
extern struct kuser_shared_data kuser_shared_data;
498
 
void fix_user_shared_data_addr(char *driver, unsigned long length)
 
497
static void fix_user_shared_data_addr(char *driver, unsigned long length)
499
498
{
500
499
        unsigned long i, n, max_addr, *addr;
501
500