1. 28 5月, 2010 33 次提交
  2. 26 5月, 2010 7 次提交
    • J
      agp: amd64, fix pci reference leaks · 2101d6f7
      Jiri Slaby 提交于
      Stanse found pci reference leaks in uli_agp_init and nforce3_agp_init
      initialization functions.
      
      The PCI devices are bridges, so it's not critical, but still worth fixing.
      Signed-off-by: NJiri Slaby <jirislaby@gmail.com>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      2101d6f7
    • A
      drm/edid: Allow non-fatal checksum errors in CEA blocks · 4a638b4e
      Adam Jackson 提交于
      Switches will try to update the topology address and not correctly fix
      up the checksum, so just let it slide.
      
      https://bugs.freedesktop.org/28229Signed-off-by: NAdam Jackson <ajax@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      4a638b4e
    • S
      drm/radeon/kms: suppress a build warning (unused variable) · 921d98b5
      Stefan Richter 提交于
      At least 'make CONFIG_DEBUG_SECTION_MISMATCH=y' causes
      drivers/gpu/drm/radeon/atombios_crtc.c: In function 'atombios_crtc_set_pll':
      drivers/gpu/drm/radeon/atombios_crtc.c:684: warning: 'pll' may be used uninitialized in this function
      which has the looks of a falso positive.
      
      Add a default: case so that gcc rests assured that all possible pll_id's are covered.
      Keep the present cases that fall through to the default one for self-documentation.
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      Reviewed-by: NAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      921d98b5
    • D
      drivers/net/usb/asix.c: Fix pointer cast. · f925b130
      David S. Miller 提交于
      Stephen Rothwell reports the following new warning:
      
      drivers/net/usb/asix.c: In function 'asix_rx_fixup':
      drivers/net/usb/asix.c:325: warning: cast from pointer to integer of different size
      drivers/net/usb/asix.c:354: warning: cast from pointer to integer of different size
      
      The code just cares about the low alignment bits, so use
      an "unsigned long" cast instead of one to "u32".
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f925b130
    • S
      be2net: Bug fix to avoid disabling bottom half during firmware upgrade. · dd131e76
      Sarveshwar Bandi 提交于
      Certain firmware commands/operations to upgrade firmware could take several
      seconds to complete. The code presently disables bottom half during these
      operations which could lead to unpredictable behaviour in certain cases. This
      patch now does all firmware upgrade operations asynchronously using a
      completion variable.
      Signed-off-by: NSarveshwar Bandi <sarveshwarb@serverengines.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      dd131e76
    • F
      hso: add support for new products · dd7496f2
      Filip Aben 提交于
      This patch adds a few new product id's for the hso driver.
      Signed-off-by: NFilip Aben <f.aben@option.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      dd7496f2
    • K
      driver core: add devname module aliases to allow module on-demand auto-loading · 578454ff
      Kay Sievers 提交于
      This adds:
        alias: devname:<name>
      to some common kernel modules, which will allow the on-demand loading
      of the kernel module when the device node is accessed.
      
      Ideally all these modules would be compiled-in, but distros seems too
      much in love with their modularization that we need to cover the common
      cases with this new facility. It will allow us to remove a bunch of pretty
      useless init scripts and modprobes from init scripts.
      
      The static device node aliases will be carried in the module itself. The
      program depmod will extract this information to a file in the module directory:
        $ cat /lib/modules/2.6.34-00650-g537b60d1-dirty/modules.devname
        # Device nodes to trigger on-demand module loading.
        microcode cpu/microcode c10:184
        fuse fuse c10:229
        ppp_generic ppp c108:0
        tun net/tun c10:200
        dm_mod mapper/control c10:235
      
      Udev will pick up the depmod created file on startup and create all the
      static device nodes which the kernel modules specify, so that these modules
      get automatically loaded when the device node is accessed:
        $ /sbin/udevd --debug
        ...
        static_dev_create_from_modules: mknod '/dev/cpu/microcode' c10:184
        static_dev_create_from_modules: mknod '/dev/fuse' c10:229
        static_dev_create_from_modules: mknod '/dev/ppp' c108:0
        static_dev_create_from_modules: mknod '/dev/net/tun' c10:200
        static_dev_create_from_modules: mknod '/dev/mapper/control' c10:235
        udev_rules_apply_static_dev_perms: chmod '/dev/net/tun' 0666
        udev_rules_apply_static_dev_perms: chmod '/dev/fuse' 0666
      
      A few device nodes are switched to statically allocated numbers, to allow
      the static nodes to work. This might also useful for systems which still run
      a plain static /dev, which is completely unsafe to use with any dynamic minor
      numbers.
      
      Note:
      The devname aliases must be limited to the *common* and *single*instance*
      device nodes, like the misc devices, and never be used for conceptually limited
      systems like the loop devices, which should rather get fixed properly and get a
      control node for losetup to talk to, instead of creating a random number of
      device nodes in advance, regardless if they are ever used.
      
      This facility is to hide the mess distros are creating with too modualized
      kernels, and just to hide that these modules are not compiled-in, and not to
      paper-over broken concepts. Thanks! :)
      
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Miklos Szeredi <miklos@szeredi.hu>
      Cc: Chris Mason <chris.mason@oracle.com>
      Cc: Alasdair G Kergon <agk@redhat.com>
      Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk>
      Cc: Ian Kent <raven@themaw.net>
      Signed-Off-By: NKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      578454ff