• Jeff Garzik's avatar
    [netdrvr tc35815] many fixes, major and minor · f87f47b4
    Jeff Garzik authored
    * s/int/unsigned long/ for 'flags' arg passed to spin_lock_irqsave
    * s/unsigned int/unsigned long/ for I/O port addresses
    * no need to prevent tc35815_probe from being called multiple times...
      PCI layer will do things properly for us.
    * call pci_enable_device before accessing hardware, before obtaining
      irq number, and before obtaining I/O port addresses.
    * remove bogus 'if (pdev)' check in PCI API ->probe function
    * call SET_M0DULE_OWNER, remove MOD_{INC,DEC}_USE_COUNT
    * (cleanup) don't bother casting from a void*
    * (cleanup) mark debugging function with #if 0, just like the caller
    * Fix many printk statements to indicate that tc_readl() returns
      a long, not an int.
    * (cleanup) remove unused tc35815_proc_info function
    f87f47b4
tc35815.c 53.3 KB