Merge /spare/repo/netdev-2.6/ branch 'ieee80211'
authorJeff Garzik <jgarzik@pretzel.yyz.us>
Mon, 27 Jun 2005 03:42:30 +0000 (23:42 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 27 Jun 2005 03:42:30 +0000 (23:42 -0400)
1  2 
MAINTAINERS
drivers/net/wireless/airo.c
drivers/net/wireless/strip.c

diff --combined MAINTAINERS
@@@ -73,7 -73,7 +73,7 @@@ S: Status, one of the following
  3C359 NETWORK DRIVER
  P:    Mike Phillips
  M:    mikep@linuxtr.net
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  L:    linux-tr@linuxtr.net
  W:    http://www.linuxtr.net
  S:    Maintained
  3C505 NETWORK DRIVER
  P:    Philip Blundell
  M:    philb@gnu.org
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Maintained
  
  3CR990 NETWORK DRIVER
  P:    David Dillow
  M:    dave@thedillows.org
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Maintained
  
  3W-XXXX ATA-RAID CONTROLLER DRIVER
@@@ -130,7 -130,7 +130,7 @@@ S: Maintaine
  8169 10/100/1000 GIGABIT ETHERNET DRIVER
  P:    Francois Romieu
  M:    romieu@fr.zoreil.com
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Maintained
  
  8250/16?50 (AND CLONE UARTS) SERIAL DRIVER
@@@ -143,7 -143,7 +143,7 @@@ S: Maintaine
  8390 NETWORK DRIVERS [WD80x3/SMC-ELITE, SMC-ULTRA, NE2000, 3C503, etc.]
  P:    Paul Gortmaker
  M:    p_gortmaker@yahoo.com
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Maintained
  
  A2232 SERIAL BOARD DRIVER
@@@ -194,7 -194,7 +194,7 @@@ S: Maintaine
  ADM1025 HARDWARE MONITOR DRIVER
  P:    Jean Delvare
  M:    khali@linux-fr.org
- L:    sensors@stimpy.netroedge.com
+ L:    lm-sensors@lm-sensors.org
  S:    Maintained
  
  ADT746X FAN DRIVER
@@@ -239,6 -239,12 +239,12 @@@ L:       linux-usb-devel@lists.sourceforge.ne
  W:    http://www.linux-usb.org/SpeedTouch/
  S:    Maintained
  
+ ALI1563 I2C DRIVER
+ P:    Rudolf Marek
+ M:    r.marek@sh.cvut.cz
+ L:    lm-sensors@lm-sensors.org
+ S:    Maintained
  ALPHA PORT
  P:    Richard Henderson
  M:    rth@twiddle.net
@@@ -259,6 -265,11 +265,11 @@@ P:       Arnaldo Carvalho de Mel
  M:    acme@conectiva.com.br
  S:    Maintained
  
+ ARC FRAMEBUFFER DRIVER
+ P:    Jaya Kumar
+ M:    jayalk@intworks.biz
+ S:    Maintained
  ARM26 ARCHITECTURE
  P:    Ian Molton
  M:    spyro@f2s.com
@@@ -293,7 -304,7 +304,7 @@@ S: Maintaine
  ARM/PT DIGITAL BOARD PORT
  P:    Stefan Eletzhofer
  M:    stefan.eletzhofer@eletztrick.de
- L:    linux-arm-kernel@lists.arm.linux.org.uk
+ L:    linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only)
  W:    http://www.arm.linux.org.uk/
  S:    Maintained
  
@@@ -306,27 -317,27 +317,27 @@@ S:      Maintaine
  ARM/STRONGARM110 PORT
  P:    Russell King
  M:    rmk@arm.linux.org.uk
- L:    linux-arm-kernel@lists.arm.linux.org.uk
+ L:    linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only)
  W:    http://www.arm.linux.org.uk/
  S:    Maintained
  
  ARM/S3C2410 ARM ARCHITECTURE
  P:    Ben Dooks
  M:    ben-s3c2410@fluff.org
- L:    linux-arm-kernel@lists.arm.linux.org.uk
+ L:    linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only)
  W:    http://www.fluff.org/ben/linux/
  S:    Maintained
  
  ARM/S3C2440 ARM ARCHITECTURE
  P:    Ben Dooks
  M:    ben-s3c2440@fluff.org
- L:    linux-arm-kernel@lists.arm.linux.org.uk
+ L:    linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only)
  W:    http://www.fluff.org/ben/linux/
  S:    Maintained
  
  ARPD SUPPORT
  P:    Jonathan Layes
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Maintained
  
  ASUS ACPI EXTRAS DRIVER
@@@ -493,6 -504,13 +504,13 @@@ L:   bonding-devel@lists.sourceforge.ne
  W:   http://sourceforge.net/projects/bonding/
  S:   Supported
  
+ BROADBAND PROCESSOR ARCHITECTURE
+ P:    Arnd Bergmann
+ M:    arnd@arndb.de
+ L:    linuxppc64-dev@ozlabs.org
+ W:    http://linuxppc64.org
+ S:    Supported
  BTTV VIDEO4LINUX DRIVER
  P:    Gerd Knorr
  M:    kraxel@bytesex.org
@@@ -558,10 -576,9 +576,9 @@@ S:        Supporte
  
  COMPUTONE INTELLIPORT MULTIPORT CARD
  P:    Michael H. Warfield
- M:    Michael H. Warfield <mhw@wittsend.com>
+ M:    mhw@wittsend.com
  W:    http://www.wittsend.com/computone.html
- L:    linux-computone@lazuli.wittsend.com
- S:    Orphaned
+ S:    Maintained
  
  COSA/SRP SYNC SERIAL DRIVER
  P:    Jan "Yenya" Kasprzak
@@@ -700,7 -717,7 +717,7 @@@ S: Orphane
  
  DIGI RIGHTSWITCH NETWORK DRIVER
  P:    Rick Richardson
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  W:    http://www.digi.com
  S:    Orphaned
  
@@@ -730,6 -747,11 +747,11 @@@ M:       tori@unhappy.mine.n
  L:    linux-kernel@vger.kernel.org
  S:    Maintained
  
+ DOCBOOK FOR DOCUMENTATION
+ P:    Martin Waitz
+ M:    tali@admingilde.org
+ S:    Maintained
  DOUBLETALK DRIVER
  P:    James R. Van Zandt
  M:    jrv@vanzandt.mv.com
@@@ -806,7 -828,7 +828,7 @@@ S: Maintaine
  ETHEREXPRESS-16 NETWORK DRIVER
  P:    Philip Blundell
  M:    philb@gnu.org
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Maintained
  
  ETHERNET BRIDGE
@@@ -869,7 -891,7 +891,7 @@@ S: Maintaine
  FRAME RELAY DLCI/FRAD (Sangoma drivers too)
  P:    Mike McLagan
  M:    mike.mclagan@linux.org
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Maintained
  
  FREEVXFS FILESYSTEM
@@@ -965,13 -987,6 +987,13 @@@ M:       mike.miller@hp.co
  L:    iss_storagedev@hp.com
  S:    Supported
   
 +HOST AP DRIVER
 +P:    Jouni Malinen
 +M:    jkmaline@cc.hut.fi
 +L:    hostap@shmoo.com
 +W:    http://hostap.epitest.fi/
 +S:    Maintained
 +
  HP100:        Driver for HP 10/100 Mbit/s Voice Grade Network Adapter Series
  P:    Jaroslav Kysela
  M:    perex@suse.cz
@@@ -993,7 -1008,7 +1015,7 @@@ P:       Greg Kroah-Hartma
  M:    greg@kroah.com
  P:    Jean Delvare
  M:    khali@linux-fr.org
- L:    sensors@stimpy.netroedge.com
+ L:    lm-sensors@lm-sensors.org
  W:    http://www.lm-sensors.nu/
  S:    Maintained
  
@@@ -1030,8 -1045,8 +1052,8 @@@ W:      http://www.ia64-linux.org
  S:    Maintained
  
  SN-IA64 (Itanium) SUB-PLATFORM
- P:    Jesse Barnes
- M:    jbarnes@sgi.com
+ P:    Greg Edwards
+ M:    edwardsg@sgi.com
  L:    linux-altix@sgi.com
  L:    linux-ia64@vger.kernel.org
  W:    http://www.sgi.com/altix
@@@ -1216,7 -1231,7 +1238,7 @@@ S:      Maintaine
  IPX NETWORK LAYER
  P:    Arnaldo Carvalho de Melo
  M:    acme@conectiva.com.br
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Maintained
  
  IRDA SUBSYSTEM
@@@ -1314,6 -1329,16 +1336,16 @@@ M:    rml@novell.co
  L:    linux-kernel@vger.kernel.org
  S:    Maintained
  
+ KEXEC
+ P:    Eric Biederman
+ P:    Randy Dunlap
+ M:    ebiederm@xmission.com
+ M:    rddunlap@osdl.org
+ W:    http://www.xmission.com/~ebiederm/files/kexec/
+ L:    linux-kernel@vger.kernel.org
+ L:    fastboot@osdl.org
+ S:    Maintained
  LANMEDIA WAN CARD DRIVER
  P:    Andrew Stanley-Jones
  M:    asj@lanmedia.com
@@@ -1421,13 -1446,13 +1453,13 @@@ S:   Supporte
  LM83 HARDWARE MONITOR DRIVER
  P:    Jean Delvare
  M:    khali@linux-fr.org
- L:    sensors@stimpy.netroedge.com
+ L:    lm-sensors@lm-sensors.org
  S:    Maintained
  
  LM90 HARDWARE MONITOR DRIVER
  P:    Jean Delvare
  M:    khali@linux-fr.org
- L:    sensors@stimpy.netroedge.com
+ L:    lm-sensors@lm-sensors.org
  S:    Maintained
  
  LOGICAL DISK MANAGER SUPPORT (LDM, Windows 2000/XP Dynamic Disks)
@@@ -1483,7 -1508,7 +1515,7 @@@ MARVELL MV64340 ETHERNET DRIVE
  P:    Manish Lachwani
  M:    Manish_Lachwani@pmc-sierra.com
  L:    linux-mips@linux-mips.org
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Supported
  
  MATROX FRAMEBUFFER DRIVER
@@@ -1593,13 -1618,13 +1625,13 @@@ P:   Andrew Morto
  M:    akpm@osdl.org
  P:    Jeff Garzik
  M:    jgarzik@pobox.com
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Maintained
  
  NETWORKING [GENERAL]
  P:    Networking Team
- M:    netdev@oss.sgi.com
- L:    netdev@oss.sgi.com
+ M:    netdev@vger.kernel.org
+ L:    netdev@vger.kernel.org
  S:    Maintained
  
  NETWORKING [IPv4/IPv6]
@@@ -1615,7 -1640,7 +1647,7 @@@ P:      Hideaki YOSHIFUJ
  M:    yoshfuji@linux-ipv6.org
  P:    Patrick McHardy
  M:    kaber@coreworks.de
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Maintained
  
  IPVS
@@@ -1635,7 -1660,7 +1667,7 @@@ NI5010 NETWORK DRIVE
  P:    Jan-Pascal van Best and Andreas Mohr
  M:    Jan-Pascal van Best <jvbest@qv3pluto.leidenuniv.nl>
  M:    Andreas Mohr <100.30936@germany.net>
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Maintained
  
  NINJA SCSI-3 / NINJA SCSI-32Bi (16bit/CardBus) PCMCIA SCSI HOST ADAPTER DRIVER
@@@ -1677,7 -1702,7 +1709,7 @@@ P:      Peter De Shrijve
  M:    p2@ace.ulyssis.student.kuleuven.ac.be
  P:    Mike Phillips
  M:    mikep@linuxtr.net 
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  L:    linux-tr@linuxtr.net
  W:    http://www.linuxtr.net
  S:    Maintained
@@@ -1784,7 -1809,7 +1816,7 @@@ S:      Unmaintaine
  PCNET32 NETWORK DRIVER
  P:    Thomas Bogendörfer
  M:    tsbogend@alpha.franken.de
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Maintained
  
  PHRAM MTD DRIVER
@@@ -1796,7 -1821,7 +1828,7 @@@ S:      Maintaine
  POSIX CLOCKS and TIMERS
  P:    George Anzinger
  M:    george@mvista.com
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Supported
  
  PNP SUPPORT
@@@ -1831,7 -1856,7 +1863,7 @@@ S:      Supporte
  PRISM54 WIRELESS DRIVER
  P:    Prism54 Development Team
  M:    prism54-private@prism54.org
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  W:    http://prism54.org
  S:    Maintained
  
@@@ -1844,7 -1869,7 +1876,7 @@@ S:      Maintaine
  PXA2xx SUPPORT
  P:    Nicolas Pitre
  M:    nico@cam.org
- L:    linux-arm-kernel@lists.arm.linux.org.uk
+ L:    linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only)
  S:    Maintained
  
  QLOGIC QLA2XXX FC-SCSI DRIVER
@@@ -2048,7 -2073,7 +2080,7 @@@ SIS 900/7016 FAST ETHERNET DRIVE
  P:    Daniele Venzano
  M:    venza@brownhat.org
  W:    http://www.brownhat.org/sis900.html
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Maintained
  
  SIS FRAMEBUFFER DRIVER
@@@ -2066,7 -2091,7 +2098,7 @@@ S:      Maintaine
  SMSC47M1 HARDWARE MONITOR DRIVER
  P:    Jean Delvare
  M:    khali@linux-fr.org
- L:    sensors@stimpy.netroedge.com
+ L:    lm-sensors@lm-sensors.org
  S:    Odd Fixes
  
  SMB FILESYSTEM
@@@ -2099,15 -2124,13 +2131,13 @@@ S:   Maintaine
  SOFTWARE SUSPEND:
  P:    Pavel Machek
  M:    pavel@suse.cz
- M:    pavel@ucw.cz
- L:    http://lister.fornax.hu/mailman/listinfo/swsusp
- W:    http://swsusp.sf.net/
+ L:    linux-pm@osdl.org
  S:    Maintained
  
  SONIC NETWORK DRIVER
  P:    Thomas Bogendoerfer
  M:    tsbogend@alpha.franken.de
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Maintained
  
  SONY VAIO CONTROL DEVICE DRIVER
@@@ -2129,6 -2152,11 +2159,11 @@@ W:    http://tpmdd.sourceforge.ne
  L:    tpmdd-devel@lists.sourceforge.net
  S:    Maintained
  
+ TENSILICA XTENSA PORT (xtensa):
+ P:    Chris Zankel
+ M:    chris@zankel.net
+ S:    Maintained
  UltraSPARC (sparc64):
  P:    David S. Miller
  M:    davem@davemloft.net
@@@ -2146,7 -2174,7 +2181,7 @@@ SHARP LH SUPPORT (LH7952X & LH7A40X
  P:    Marc Singer
  M:    elf@buici.com
  W:    http://projects.buici.com/arm
- L:    linux-arm-kernel@lists.arm.linux.org.uk
+ L:    linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only)
  S:    Maintained
  
  SPARC (sparc32):
@@@ -2164,7 -2192,7 +2199,7 @@@ S:      Supporte
  SPX NETWORK LAYER
  P:    Jay Schulist
  M:    jschlst@samba.org
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  S:    Supported
  
  SRM (Alpha) environment access
@@@ -2243,7 -2271,7 +2278,7 @@@ S:      Maintaine
  TOKEN-RING NETWORK DRIVER
  P:    Mike Phillips
  M:    mikep@linuxtr.net
- L:    netdev@oss.sgi.com
+ L:    netdev@vger.kernel.org
  L:    linux-tr@linuxtr.net
  W:    http://www.linuxtr.net
  S:    Maintained
@@@ -2573,7 -2601,7 +2608,7 @@@ M:      davidm@snapgear.co
  P:    D. Jeff Dionne (created first uClinux port)
  M:    jeff@uclinux.org
  W:    http://www.uclinux.org/
- L:    uclinux-dev@uclinux.org
+ L:    uclinux-dev@uclinux.org  (subscribers-only)
  S:    Maintained
  
  UCLINUX FOR NEC V850
@@@ -2605,7 -2633,7 +2640,7 @@@ S:      Orpha
  W1 DALLAS'S 1-WIRE BUS
  P:    Evgeniy Polyakov
  M:    johnpol@2ka.mipt.ru
- L:    sensors@stimpy.netroedge.com
+ L:    lm-sensors@lm-sensors.org
  S:    Maintained
  
  W83L51xD SD/MMC CARD INTERFACE DRIVER
@@@ -2618,7 -2646,7 +2653,7 @@@ S:      Maintaine
  W83L785TS HARDWARE MONITOR DRIVER
  P:    Jean Delvare
  M:    khali@linux-fr.org
- L:    sensors@stimpy.netroedge.com
+ L:    lm-sensors@lm-sensors.org
  S:    Odd Fixes
  
  WAN ROUTER & SANGOMA WANPIPE DRIVERS & API (X.25, FRAME RELAY, PPP, CISCO HDLC)
@@@ -1040,7 -1040,7 +1040,7 @@@ typedef struct 
        u16 status;
  } WifiCtlHdr;
  
 -WifiCtlHdr wifictlhdr8023 = {
 +static WifiCtlHdr wifictlhdr8023 = {
        .ctlhdr = {
                .ctl    = HOST_DONT_RLSE,
        }
@@@ -1111,13 -1111,13 +1111,13 @@@ static int airo_thread(void *data)
  static void timer_func( struct net_device *dev );
  static int airo_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
  #ifdef WIRELESS_EXT
 -struct iw_statistics *airo_get_wireless_stats (struct net_device *dev);
 +static struct iw_statistics *airo_get_wireless_stats (struct net_device *dev);
  static void airo_read_wireless_stats (struct airo_info *local);
  #endif /* WIRELESS_EXT */
  #ifdef CISCO_EXT
  static int readrids(struct net_device *dev, aironet_ioctl *comp);
  static int writerids(struct net_device *dev, aironet_ioctl *comp);
 -int flashcard(struct net_device *dev, aironet_ioctl *comp);
 +static int flashcard(struct net_device *dev, aironet_ioctl *comp);
  #endif /* CISCO_EXT */
  #ifdef MICSUPPORT
  static void micinit(struct airo_info *ai);
@@@ -1209,7 -1209,7 +1209,7 @@@ struct airo_info 
        unsigned char           __iomem *pciaux;
        unsigned char           *shared;
        dma_addr_t              shared_dma;
-       int                     power;
+       pm_message_t            power;
        SsidRid                 *SSID;
        APListRid               *APList;
  #define       PCI_SHARED_LEN          2*MPI_MAX_FIDS*PKTSIZE+RIDSIZE
@@@ -1226,12 -1226,6 +1226,12 @@@ static int setup_proc_entry( struct net
  static int takedown_proc_entry( struct net_device *dev,
                                struct airo_info *apriv );
  
 +static int cmdreset(struct airo_info *ai);
 +static int setflashmode (struct airo_info *ai);
 +static int flashgchar(struct airo_info *ai,int matchbyte,int dwelltime);
 +static int flashputbuf(struct airo_info *ai);
 +static int flashrestart(struct airo_info *ai,struct net_device *dev);
 +
  #ifdef MICSUPPORT
  /***********************************************************************
   *                              MIC ROUTINES                           *
  
  static int RxSeqValid (struct airo_info *ai,miccntx *context,int mcast,u32 micSeq);
  static void MoveWindow(miccntx *context, u32 micSeq);
 -void emmh32_setseed(emmh32_context *context, u8 *pkey, int keylen, struct crypto_tfm *);
 -void emmh32_init(emmh32_context *context);
 -void emmh32_update(emmh32_context *context, u8 *pOctets, int len);
 -void emmh32_final(emmh32_context *context, u8 digest[4]);
 +static void emmh32_setseed(emmh32_context *context, u8 *pkey, int keylen, struct crypto_tfm *);
 +static void emmh32_init(emmh32_context *context);
 +static void emmh32_update(emmh32_context *context, u8 *pOctets, int len);
 +static void emmh32_final(emmh32_context *context, u8 digest[4]);
 +static int flashpchar(struct airo_info *ai,int byte,int dwelltime);
  
  /* micinit - Initialize mic seed */
  
@@@ -1322,7 -1315,7 +1322,7 @@@ static int micsetup(struct airo_info *a
        return SUCCESS;
  }
  
 -char micsnap[]= {0xAA,0xAA,0x03,0x00,0x40,0x96,0x00,0x02};
 +static char micsnap[] = {0xAA,0xAA,0x03,0x00,0x40,0x96,0x00,0x02};
  
  /*===========================================================================
   * Description: Mic a packet
@@@ -1577,7 -1570,7 +1577,7 @@@ static void MoveWindow(miccntx *context
  static unsigned char aes_counter[16];
  
  /* expand the key to fill the MMH coefficient array */
 -void emmh32_setseed(emmh32_context *context, u8 *pkey, int keylen, struct crypto_tfm *tfm)
 +static void emmh32_setseed(emmh32_context *context, u8 *pkey, int keylen, struct crypto_tfm *tfm)
  {
    /* take the keying material, expand if necessary, truncate at 16-bytes */
    /* run through AES counter mode to generate context->coeff[] */
  }
  
  /* prepare for calculation of a new mic */
 -void emmh32_init(emmh32_context *context)
 +static void emmh32_init(emmh32_context *context)
  {
        /* prepare for new mic calculation */
        context->accum = 0;
  }
  
  /* add some bytes to the mic calculation */
 -void emmh32_update(emmh32_context *context, u8 *pOctets, int len)
 +static void emmh32_update(emmh32_context *context, u8 *pOctets, int len)
  {
        int     coeff_position, byte_position;
    
  static u32 mask32[4] = { 0x00000000L, 0xFF000000L, 0xFFFF0000L, 0xFFFFFF00L };
  
  /* calculate the mic */
 -void emmh32_final(emmh32_context *context, u8 digest[4])
 +static void emmh32_final(emmh32_context *context, u8 digest[4])
  {
        int     coeff_position, byte_position;
        u32     val;
@@@ -2262,7 -2255,7 +2262,7 @@@ static void airo_read_stats(struct airo
        ai->stats.rx_fifo_errors = vals[0];
  }
  
 -struct net_device_stats *airo_get_stats(struct net_device *dev)
 +static struct net_device_stats *airo_get_stats(struct net_device *dev)
  {
        struct airo_info *local =  dev->priv;
  
@@@ -2421,7 -2414,7 +2421,7 @@@ EXPORT_SYMBOL(stop_airo_card)
  
  static int add_airo_dev( struct net_device *dev );
  
 -int wll_header_parse(struct sk_buff *skb, unsigned char *haddr)
 +static int wll_header_parse(struct sk_buff *skb, unsigned char *haddr)
  {
        memcpy(haddr, skb->mac.raw + 10, ETH_ALEN);
        return ETH_ALEN;
@@@ -2688,7 -2681,7 +2688,7 @@@ static struct net_device *init_wifidev(
        return dev;
  }
  
 -int reset_card( struct net_device *dev , int lock) {
 +static int reset_card( struct net_device *dev , int lock) {
        struct airo_info *ai = dev->priv;
  
        if (lock && down_interruptible(&ai->sem))
        return 0;
  }
  
 -struct net_device *_init_airo_card( unsigned short irq, int port,
 -                                  int is_pcmcia, struct pci_dev *pci,
 -                                  struct device *dmdev )
 +static struct net_device *_init_airo_card( unsigned short irq, int port,
 +                                         int is_pcmcia, struct pci_dev *pci,
 +                                         struct device *dmdev )
  {
        struct net_device *dev;
        struct airo_info *ai;
@@@ -2925,7 -2918,7 +2925,7 @@@ static int airo_thread(void *data) 
                        flush_signals(current);
  
                /* make swsusp happy with our thread */
-               try_to_freeze(PF_FREEZE);
+               try_to_freeze();
  
                if (test_bit(JOB_DIE, &ai->flags))
                        break;
@@@ -5506,9 -5499,9 +5506,9 @@@ static int airo_pci_suspend(struct pci_
        cmd.cmd=HOSTSLEEP;
        issuecommand(ai, &cmd, &rsp);
  
-       pci_enable_wake(pdev, state, 1);
+       pci_enable_wake(pdev, pci_choose_state(pdev, state), 1);
        pci_save_state(pdev);
-       return pci_set_power_state(pdev, state);
+       return pci_set_power_state(pdev, pci_choose_state(pdev, state));
  }
  
  static int airo_pci_resume(struct pci_dev *pdev)
  
        pci_set_power_state(pdev, 0);
        pci_restore_state(pdev);
-       pci_enable_wake(pdev, ai->power, 0);
+       pci_enable_wake(pdev, pci_choose_state(pdev, ai->power), 0);
  
        if (ai->power > 1) {
                reset_card(dev, 0);
        }
        writeConfigRid(ai, 0);
        enable_MAC(ai, &rsp, 0);
-       ai->power = 0;
+       ai->power = PMSG_ON;
        netif_device_attach(dev);
        netif_wake_queue(dev);
        enable_interrupts(ai);
@@@ -7242,7 -7235,7 +7242,7 @@@ static void airo_read_wireless_stats(st
        local->wstats.miss.beacon = vals[34];
  }
  
 -struct iw_statistics *airo_get_wireless_stats(struct net_device *dev)
 +static struct iw_statistics *airo_get_wireless_stats(struct net_device *dev)
  {
        struct airo_info *local =  dev->priv;
  
@@@ -7457,8 -7450,14 +7457,8 @@@ static int writerids(struct net_device 
   * Flash command switch table
   */
  
 -int flashcard(struct net_device *dev, aironet_ioctl *comp) {
 +static int flashcard(struct net_device *dev, aironet_ioctl *comp) {
        int z;
 -      int cmdreset(struct airo_info *);
 -      int setflashmode(struct airo_info *);
 -      int flashgchar(struct airo_info *,int,int);
 -      int flashpchar(struct airo_info *,int,int);
 -      int flashputbuf(struct airo_info *);
 -      int flashrestart(struct airo_info *,struct net_device *);
  
        /* Only super-user can modify flash */
        if (!capable(CAP_NET_ADMIN))
   * card.
   */
  
 -int cmdreset(struct airo_info *ai) {
 +static int cmdreset(struct airo_info *ai) {
        disable_MAC(ai, 1);
  
        if(!waitbusy (ai)){
   * mode
   */
  
 -int setflashmode (struct airo_info *ai) {
 +static int setflashmode (struct airo_info *ai) {
        set_bit (FLAG_FLASHING, &ai->flags);
  
        OUT4500(ai, SWS0, FLASH_COMMAND);
   * x 50us for  echo .
   */
  
 -int flashpchar(struct airo_info *ai,int byte,int dwelltime) {
 +static int flashpchar(struct airo_info *ai,int byte,int dwelltime) {
        int echo;
        int waittime;
  
   * Get a character from the card matching matchbyte
   * Step 3)
   */
 -int flashgchar(struct airo_info *ai,int matchbyte,int dwelltime){
 +static int flashgchar(struct airo_info *ai,int matchbyte,int dwelltime){
        int           rchar;
        unsigned char rbyte=0;
  
   * send to the card
   */
  
 -int flashputbuf(struct airo_info *ai){
 +static int flashputbuf(struct airo_info *ai){
        int            nwords;
  
        /* Write stuff */
  /*
   *
   */
 -int flashrestart(struct airo_info *ai,struct net_device *dev){
 +static int flashrestart(struct airo_info *ai,struct net_device *dev){
        int    i,status;
  
        ssleep(1);                      /* Added 12/7/00 */
@@@ -209,7 -209,7 +209,7 @@@ enum 
        NoStructure = 0,        /* Really old firmware */
        StructuredMessages = 1, /* Parsable AT response msgs */
        ChecksummedMessages = 2 /* Parsable AT response msgs with checksums */
 -} FirmwareLevel;
 +};
  
  struct strip {
        int magic;
@@@ -2828,7 -2828,7 +2828,7 @@@ static void __exit strip_exit_driver(vo
        /* Unregister with the /proc/net file here. */
        proc_net_remove("strip");
  
-       if ((i = tty_register_ldisc(N_STRIP, NULL)))
+       if ((i = tty_unregister_ldisc(N_STRIP)))
                printk(KERN_ERR "STRIP: can't unregister line discipline (err = %d)\n", i);
  
        printk(signoff);