1. 06 7月, 2006 8 次提交
    • J
      [netdrvr] Use dev_printk() when ethernet interface isn't available · 2e8a538d
      Jeff Garzik 提交于
      For messages prior to register_netdev(), prefer dev_printk() because
      that prints out both our driver name and our [PCI | whatever] bus id.
      
      Updates: 8139{cp,too}, b44, bnx2, cassini, {eepro,epic}100, fealnx,
      	 hamachi, ne2k-pci, ns83820, pci-skeleton, r8169.
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      2e8a538d
    • J
      [netdrvr] via-velocity: remove io_size struct member, it is invariant · cabb7667
      Jeff Garzik 提交于
      Replace io_size struct members with VELOCITY_IO_SIZE constant.
      
      Also, constify chip_info_table[].
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      cabb7667
    • J
      [netdrvr] via-velocity: misc. cleanups · e54f4893
      Jeff Garzik 提交于
      - const-ify pci_device_id table
      - clean up pci_device_id table with PCI_DEVICE()
      - don't store internal pointer in pci_device_id table,
        use pci_device_id::driver_data as an integer index
      - use dev_printk() for messages where eth%d prefix is unavailable
      - formatting fixes
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      e54f4893
    • J
      [netdrvr] minor cleanups in Becker-derived drivers · 46009c8b
      Jeff Garzik 提交于
      - fealnx: convert #define to enum
      - fealnx, sundance: mark chip info table __devinitdata
      - fealnx: use dev_printk() during probe
      - fealnx: formatting cleanups
      - starfire: remove obsolete comment
      - sundance, via-rhine: add some whitespace where useful, in tables
      - sundance: prefer "{ }" table terminator
      - via-rhine: mark PCI probe table const
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      46009c8b
    • J
      8ab6f3f7
    • J
      [netdrvr] Remove Becker-template 'io_size' member, when invariant · c3d8e682
      Jeff Garzik 提交于
      Becker-derived drivers often have the 'io_size' member in their chip
      info struct, indicating the minimum required size of the I/O resource
      (usually a PCI BAR).  For many situations, this number is either
      constant or irrelevant (due to pci_iomap convenience behavior).
      
      This change removes the io_size invariant member, and replaces it with a
      compile-time constant.
      
      Drivers updated: fealnx, gt96100eth, winbond-840, yellowfin
      
      Additionally,
      - gt96100eth: unused 'drv_flags' removed from gt96100eth
      - winbond-840: unused struct match_info removed
      - winbond-840: mark pci_id_tbl[] const, __devinitdata
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      c3d8e682
    • J
      [netdrvr] Remove Linux-specific changelogs from several Becker template drivers · 03a8c661
      Jeff Garzik 提交于
      When in-kernel net drivers branched from Donald Becker's vanilla driver
      set, in the days before BitKeeper and git, a driver changelog was
      maintained in the driver source code.  These days, the kernel's
      changelog is far superior and much more accurate, so the in-driver
      changelogs are removed.
      
      Another relic of the Becker/kernel split was version numbering, using
      "foo-LKx.y.z" notation, resulting in weird version numbers like
      "1.17b-LK1.1.9".  These drivers are for older hardware, and see few
      changes these days, so the version numbers were all bumped to something
      more simple.
      
      Finally, in xircom_tulip_cb specifically, an additional cleanup removes
      the always-enabled CARDBUS cpp macro.
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      03a8c661
    • J
      [netdrvr] epic100: minor cleanups · 36e1e847
      Jeff Garzik 提交于
      - Remove in-source changelog, it's in the global kernel history.
      - convert silly and useless version to useful one
      - replace invariant pci_id_tbl[]::io_size uses with EPIC_TOTAL_SIZE
      - remove now-unused io_size member from pci_id_tbl[]
      - current kernel style prefers dev_printk() for the rare ethernet driver
        messages that cannot print an 'eth%d' prefix.
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      36e1e847
  2. 04 7月, 2006 7 次提交
  3. 03 7月, 2006 2 次提交
    • B
      [POWERPC] Add new interrupt mapping core and change platforms to use it · 0ebfff14
      Benjamin Herrenschmidt 提交于
      This adds the new irq remapper core and removes the old one.  Because
      there are some fundamental conflicts with the old code, like the value
      of NO_IRQ which I'm now setting to 0 (as per discussions with Linus),
      etc..., this commit also changes the relevant platform and driver code
      over to use the new remapper (so as not to cause difficulties later
      in bisecting).
      
      This patch removes the old pre-parsing of the open firmware interrupt
      tree along with all the bogus assumptions it made to try to renumber
      interrupts according to the platform. This is all to be handled by the
      new code now.
      
      For the pSeries XICS interrupt controller, a single remapper host is
      created for the whole machine regardless of how many interrupt
      presentation and source controllers are found, and it's set to match
      any device node that isn't a 8259.  That works fine on pSeries and
      avoids having to deal with some of the complexities of split source
      controllers vs. presentation controllers in the pSeries device trees.
      
      The powerpc i8259 PIC driver now always requests the legacy interrupt
      range. It also has the feature of being able to match any device node
      (including NULL) if passed no device node as an input. That will help
      porting over platforms with broken device-trees like Pegasos who don't
      have a proper interrupt tree.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      0ebfff14
    • T
      [PATCH] irq-flags: drivers/net: Use the new IRQF_ constants · 1fb9df5d
      Thomas Gleixner 提交于
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      1fb9df5d
  4. 01 7月, 2006 12 次提交
  5. 30 6月, 2006 6 次提交
  6. 28 6月, 2006 5 次提交