1. 29 Jan, 2004 3 commits
    • Russell King's avatar
      [PATCH] Prevent PCI driver registration failure oopsing · b5849a35
      Russell King authored
      Greg,
      
      As discussed about six or so months ago, we agreed to hold off this
      patch until fairly late, due to its ability to catch duplicate PCI
      driver names.  Please note that I haven't attempted to reproduce the
      problem with recent kernels, and that all ARM kernel patches released
      since then have had this patch in.
      
      I'm guessing this will actually be 2.6.1 material since it probably
      doesn't show for PCI drivers which are part of the kernel tree.
      
      
      If pci_register_driver fails, the register the PCI driver structure
      will not be registered with the driver model.  pci_register_driver
      returns with negative value, and we then attempt to unregister the
      driver structure.  This leads to an oops in the driver model.
      
      The driver model does not return the number of devices it successfully
      bound the driver to, and neither does pci_register_driver() return
      this information.
      
      Therefore, all of the code below is redundant.
      
      (There's a little redundancy left in drivers/pci/pci-driver.c but it
      is harmless unlike this block.)
      b5849a35
    • David S. Miller's avatar
    • David S. Miller's avatar
      Merge cheetah.(none):/home/davem/src/BK/sparcwork-2.6 · ad3258ed
      David S. Miller authored
      into cheetah.(none):/home/davem/src/BK/sparc-2.6
      ad3258ed
  2. 28 Jan, 2004 6 commits
  3. 27 Jan, 2004 13 commits
  4. 26 Jan, 2004 18 commits