1. 15 May, 2003 19 commits
    • Patrick Mochel's avatar
      driver model: Modify resource representation in struct platform_device. · f7cd8678
      Patrick Mochel authored
      This way, we can easily handle devices that contain an arbitrary number of 
      resources reported by the platform.
      f7cd8678
    • Patrick Mochel's avatar
      Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin · 8a9af19f
      Patrick Mochel authored
      into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
      8a9af19f
    • Andrew Morton's avatar
      [PATCH] fix bug in drivers/net/cs89x0.c:set_mac_address() · 77b3055a
      Andrew Morton authored
      From: Bernardo Innocenti <bernie@develer.com>
      
      the following patch fixes a bug in the CS89xx net device which would set
      new MAC address through SIOCSIFHWADDR _only_ when net_debug is set, which
      is obviously not what it was meant to do.  The original code bogusly
      interpreted the addr argument as a buffer containing the MAC address
      instead of a struct sockaddr.
      77b3055a
    • Andrew Morton's avatar
      [PATCH] visws: fix for generic-subarch · 69aea20e
      Andrew Morton authored
      From: Andy Wihitcroft <apw@shadowen.org>
      
      The generic-subarch patch broke visws builds.
      69aea20e
    • Andrew Morton's avatar
      [PATCH] ->llseek returns loff_t, even for /dev/mem · 4ca26989
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      memory_lseek() should return a loff_t.
      4ca26989
    • Andrew Morton's avatar
      [PATCH] remove some cruft from smp.h · 393d615b
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      Remove smp.h leftovers.  From the ia64 tree.
      393d615b
    • Andrew Morton's avatar
      [PATCH] synclink_cs update · 03730a58
      Andrew Morton authored
      From: Paul Fulghum <paulkf@microgate.com>
      
      * Remove PCMCIA release from timer context
      * Add irqreturn_t to ISR
      * Add dosyncppp module parameter
      03730a58
    • Andrew Morton's avatar
      [PATCH] miropcm20-rds.c build fix · 764a645a
      Andrew Morton authored
      It needs fs.h for struct inode.
      764a645a
    • Andrew Morton's avatar
      [PATCH] fix lots of error-path memory leaks · 61704c08
      Andrew Morton authored
      From Badari Pulavarti.
      
      Fixes lots of error-path memleaks which the Stanford guys found.
      61704c08
    • Andrew Morton's avatar
      [PATCH] Make debugging variant of spinlocks a bit more robust · 427a5f53
      Andrew Morton authored
      From: Petr Vandrovec <vandrove@vc.cvut.cz>
      
      While I was trying to hunt down problem with spin_lock_irq in
      send_sig_info, I noticed that debugging spinlocks are a bit unusable.
      
      The problem is that these spinlocks first print warning, and then
      decrement babble.  So if the lock is used by printk code (like runqueue
      lock was), we get nothing, just a lockup or a double fault...  When we
      first decrement babble and then print the error message we can break
      this unfortunate situation and the error message (5 of the same...)
      appear on screen.
      427a5f53
    • Andrew Morton's avatar
      [PATCH] SMI clearing fix · 18916f56
      Andrew Morton authored
      From: john stultz <johnstul@us.ibm.com>
      
      I've been having problems with ACPI on a box here in our lab.  Some of our
      more recent hardware requires that SMIs are routed through the IOAPIC, thus
      when we clear_IO_APIC() at boot time, we clear the BIOS initialized SMI
      pin.  This basically clobbers the SMI so we can then never make the
      transition into ACPI mode.
      
      This patch simply reads the apic entry in clear_IO_APIC to make sure the
      delivery_mode isn't dest_SMI.  If it is, we leave the apic entry alone and
      return.
      
      With this patch, the box boots and SMIs function properly.
      18916f56
    • Andrew Morton's avatar
      [PATCH] mtrr warning fix · ae30053e
      Andrew Morton authored
      From: Faik Uygur <faikuygur@ttnet.net.tr>:
      
      mtrr_file_del() is using the wrong thing for fcount.  This causes it to
      print mtrr: MTRR 2 not used" twice when exiting X.
      ae30053e
    • Andrew Morton's avatar
      [PATCH] loop.c warning removal · 2ce6b74d
      Andrew Morton authored
      From: Rusty Russell <rusty@rustcorp.com.au>
      
      loop.c has one of those places where manipulating own refcounts is safe: to
      get into the ioctl handler you need to have the device open, so that holds a
      refcount already (verified that this actually happens).
      
      The compile warning is irritating.
      2ce6b74d
    • Andrew Morton's avatar
      [PATCH] DAC960 typedef cleanup patch · 4acff84c
      Andrew Morton authored
      From: Dave Olien <dmo@osdl.org>
      
      I'm forwarding this patch to the DAC9690 driver from Christoph.  I've
      applied it to the 2.5.69 DAC960 driver, compiled it, and ran it through
      some tests on both V1 and V2 type controllers.  It looks good.
      4acff84c
    • Andrew Morton's avatar
      [PATCH] fix hugetlbpage scoping · 0b553b4d
      Andrew Morton authored
      From: norbert_wolff@t-online.de (Norbert Wolff)
      
      In arch/i386/mm/hugetlbpage.c htlbzone_pages and htlbpage_freelist are
      declared static at the Top of the File and later in set_hugetlb_mem_size()
      as extern.
      
      gcc-3.4 does not accept this conflict.
      0b553b4d
    • Andrew Morton's avatar
      [PATCH] pass the stack protection flags into put_dirty_page() · d2f21286
      Andrew Morton authored
      put_dirty_page() currently assumes PAGE_COPY for the stack page's ptes.  But
      for x86_64 (at least) this is not the case.
      
      The patch adds the extra arg to put_dirty_page(), updates all callers and fixes
      x86_64.
      d2f21286
    • Andrew Morton's avatar
      [PATCH] sound/core comparison fix · a397214b
      Andrew Morton authored
      From: Hal Duston <hduston@speedscript.com>
      
      This fixes a bug that appears to have crept in between 2.5.69-mm1 and
      2.5.69-mm2 with the "switch most remaining drivers over to devfs_mk_bdev"
      patch
      a397214b
    • Andrew Morton's avatar
      [PATCH] ipmi warning fixes · 8e8804a5
      Andrew Morton authored
      CPU flags are unsigned long.
      8e8804a5
    • Patrick Mochel's avatar
      driver model: Add resources to struct platform_device. · 43524309
      Patrick Mochel authored
      From Russell King: 
      
      The location and interrupt of some platform devices are only known by
      platform specific code.  In order to avoid putting platform specific
      parameters into drivers, place resource and irq members into struct
      platform_device.
      43524309
  2. 14 May, 2003 21 commits