~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/net/wireless/wl3501_cs.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
290
290
 *  \               \- IEEE 802.11 -/ \-------------- len --------------/
291
291
 *   \-struct wl3501_80211_tx_hdr--/   \-------- Ethernet Frame -------/
292
292
 *
293
 
 * Return = Postion in Card
 
293
 * Return = Position in Card
294
294
 */
295
295
static u16 wl3501_get_tx_buffer(struct wl3501_card *this, u16 len)
296
296
{
1932
1932
        this->base_addr = dev->base_addr;
1933
1933
 
1934
1934
        if (!wl3501_get_flash_mac_addr(this)) {
1935
 
                printk(KERN_WARNING "%s: Cant read MAC addr in flash ROM?\n",
 
1935
                printk(KERN_WARNING "%s: Can't read MAC addr in flash ROM?\n",
1936
1936
                       dev->name);
1937
1937
                unregister_netdev(dev);
1938
1938
                goto failed;
2000
2000
}
2001
2001
 
2002
2002
 
2003
 
static struct pcmcia_device_id wl3501_ids[] = {
 
2003
static const struct pcmcia_device_id wl3501_ids[] = {
2004
2004
        PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0001),
2005
2005
        PCMCIA_DEVICE_NULL
2006
2006
};