1. 10 Apr, 2003 1 commit
    • Badari Pulavarty's avatar
      Isn't sd_major() broken ? · bb9e1c7a
      Badari Pulavarty authored
      I am little confused about the correctness of sd_major() in drivers/scsi/sd.c.
      
      static int sd_major(int major_idx)
      {
              switch (major_idx) {
              case 0:
                      return SCSI_DISK0_MAJOR;
              case 1 ... 7:
                      return SCSI_DISK1_MAJOR + major_idx - 1;
              case 8 ... 15:
                      return SCSI_DISK8_MAJOR + major_idx;
              default:
                      BUG();
                      return 0;       /* shut up gcc */
              }
      }
      
      So, if major_idx = 8, It returns 143. 
      But according to major.h, scsi has 128-135 reserved
      majors. But it is registering 136 - 143 as its majors.
      
      #define SCSI_DISK8_MAJOR        128
      #define SCSI_DISK9_MAJOR        129
      #define SCSI_DISK10_MAJOR       130
      #define SCSI_DISK11_MAJOR       131
      #define SCSI_DISK12_MAJOR       132
      #define SCSI_DISK13_MAJOR       133
      #define SCSI_DISK14_MAJOR       134
      #define SCSI_DISK15_MAJOR       135
      bb9e1c7a
  2. 07 Apr, 2003 6 commits
    • Linus Torvalds's avatar
      Linux 2.5.67 · f01d7733
      Linus Torvalds authored
      f01d7733
    • Linus Torvalds's avatar
      The irq vector offset should spread the irq's out evenly, which · f2898927
      Linus Torvalds authored
      implies that it should vary between 0-7, not any further (the
      higher bits are done by updating current_vector by 8).
      
      This also means that we don't have any overflow condition.
      f2898927
    • Krzysztof Halasa's avatar
      [PATCH] generic HDLC update · 80d316b7
      Krzysztof Halasa authored
      This version fixes:
      - missing rtnl_lock()/rtnl_unload() bug on unregister_hdlc_device
      - N2, C101: interrupt handler now works under high IRQ load from other
        devices (with previous versions, the IRQ processing for the card could
        sometimes stop after reaching "work limit")
      
      This is production-tested on devices I have access to (N2, C101, PC300,
      PCI200SYN).
      80d316b7
    • Zwane Mwaikambo's avatar
      [PATCH] Disable irqbalance for single cpu SMP configurations · 00c6dc1c
      Zwane Mwaikambo authored
      This patch disables irqbalance and doesn't spawn a kernel thread for
      systems which run SMP kernels and only have one online cpu.
      00c6dc1c
    • Jens Axboe's avatar
      [PATCH] kill blk_queue_empty() · 68132d89
      Jens Axboe authored
      This finally kills of blk_queue_empty().  This is similar to the patch I
      recently sent to fix the SCSI logic as well.  A lot of drivers are doing
      this in our core, mainly because that is the way they always did it:
      
      start_queue:
      	if (blk_queue_empty(q))
      		return;
      
      	rq = elv_next_request(q);
      	if (!rq)
      		return;
      
      Patch simply removes the blk_queue_empty() check, and adds a check for
      !rq return from elv_next_request() if the driver didn't already do that.
      
      Additionally, the AS io scheduler can return NULL from
      elv_next_request() if it thinks this is best. This way we are also
      prepared for that to work well.
      
      Patch was done by Nick Piggin.
      68132d89
    • Zwane Mwaikambo's avatar
      [PATCH] rng_vendor_ops init.data is referenced after being freed · a5509dae
      Zwane Mwaikambo authored
      Bug report from J Sanchez in #kernelnewbies
      a5509dae
  3. 06 Apr, 2003 1 commit
  4. 07 Apr, 2003 2 commits
  5. 06 Apr, 2003 3 commits
  6. 05 Apr, 2003 1 commit
    • Andi Kleen's avatar
      [PATCH] x86-64 merge · 2ba74897
      Andi Kleen authored
      Make it compile again and various cleanups and a few bug fixes.  Only
      changes x86-64 specific files.
      
      Most of it are S3 suspend changes from Pavel and comment spelling fixes
      from Steven Cole.
      
      - Remove now obsolete check_cpu function
      - Fix sys_ioctl prototype
      - Small optimization - use SYSCALL for 32bit signal handling.
      - Fix S3 suspend handling and split into individual files like i386 (Pavel)
      - Merge from i386 (pci fixes etc.)
      - Set correct paging attributes for IOMMU aperture
      - Fix disable apic option
      2ba74897
  7. 04 Apr, 2003 23 commits
  8. 03 Apr, 2003 3 commits
    • Adam Belay's avatar
      [PATCH 2.5] ES968: kmalloc params fix · e315468f
      Adam Belay authored
      Date: Mon, 31 Mar 2003 14:39:54 -0300 (ART)
      From: Pablo Menichini <pablo@menichini.com.ar>
      
      This patch swaps the arguments of kmalloc, and relax the type
      of allocation to GFP_KERNEL as others PnP functions do.
      
      Pablo
      e315468f
    • Adam Belay's avatar
      [PATCH 2.5] ALS100: kmalloc params fix · 1640744e
      Adam Belay authored
      Date: Mon, 31 Mar 2003 14:39:54 -0300 (ART)
      From: Pablo Menichini <pablo@menichini.com.ar>
      
      This patch swaps the arguments of kmalloc, and relax the type
      of allocation to GFP_KERNEL as others PnP functions do.
      
      Pablo
      1640744e
    • Adam Belay's avatar
      ALSA DT019X PnP Updates · 701fa1ec
      Adam Belay authored
      Converts this driver to the pnp api.
      701fa1ec