home *** CD-ROM | disk | FTP | other *** search
/ Freesoft 1999 February / Freesoft_1999-02_cd.bin / Recenz / Utility / DisplayDoctorLinux / scitech-display-doctor-1.0beta-3.i386.rpm / scitech-display-doctor-1.0beta.3.cpio.gz / scitech-display-doctor-1.0beta.3.cpio / usr / doc / scitech-display-doctor-1.0beta / scitech-2.0.35.diff < prev   
Text File  |  1998-09-19  |  2KB  |  50 lines

  1. diff -ruN linux-2.0.35/arch/i386/kernel/ioport.c linux-2.0.35.patched/arch/i386/kernel/ioport.c
  2. --- linux-2.0.35/arch/i386/kernel/ioport.c    Wed Jun  3 15:17:46 1998
  3. +++ linux-2.0.35.patched/arch/i386/kernel/ioport.c    Fri Jul 17 19:41:04 1998
  4. @@ -12,11 +12,11 @@
  5.  #include <linux/ioport.h>
  6.  
  7.  /* Set EXTENT bits starting at BASE in BITMAP to value TURN_ON. */
  8. -static void set_bitmap(unsigned long *bitmap, short base, short extent, int new_value)
  9. +static void set_bitmap(unsigned long *bitmap, int base, int extent, int new_value)
  10.  {
  11.      int mask;
  12.      unsigned long *bitmap_base = bitmap + (base >> 5);
  13. -    unsigned short low_index = base & 0x1f;
  14. +    unsigned int low_index = base & 0x1f;
  15.      int length = low_index + extent;
  16.  
  17.      if (low_index != 0) {
  18. diff -ruN linux-2.0.35/include/asm-i386/processor.h linux-2.0.35.patched/include/asm-i386/processor.h
  19. --- linux-2.0.35/include/asm-i386/processor.h    Fri Jul 17 14:55:49 1998
  20. +++ linux-2.0.35.patched/include/asm-i386/processor.h    Fri Jul 17 19:42:02 1998
  21. @@ -44,9 +44,9 @@
  22.  #define MMAP_SEARCH_START (TASK_SIZE/3)
  23.  
  24.  /*
  25. - * Size of io_bitmap in longwords: 32 is ports 0-0x3ff.
  26. + * Size of io_bitmap in longwords: 2048 is ports 0-0xFFFF.
  27.   */
  28. -#define IO_BITMAP_SIZE    32
  29. +#define IO_BITMAP_SIZE    2048
  30.  
  31.  struct i387_hard_struct {
  32.      long    cwd;
  33. diff -ruN linux-2.0.35/include/asm-i386/system.h linux-2.0.35.patched/include/asm-i386/system.h
  34. --- linux-2.0.35/include/asm-i386/system.h    Mon Dec 15 18:37:28 1997
  35. +++ linux-2.0.35.patched/include/asm-i386/system.h    Fri Jul 17 19:42:10 1998
  36. @@ -279,7 +279,10 @@
  37.       "m" (*(n+5)), "m" (*(n+6)), "m" (*(n+7)) \
  38.      )
  39.  
  40. -#define set_tss_desc(n,addr) _set_tssldt_desc(((char *) (n)),((int)(addr)),235,"0x89")
  41. +#define _set_tss_desc(n,addr,sz) \
  42. +        _set_tssldt_desc(((char *) (n)),((int)(addr)),107+sz*4,"0x89")
  43. +#define set_tss_desc(n,addr) \
  44. +        _set_tss_desc(n,addr,IO_BITMAP_SIZE)
  45.  #define set_ldt_desc(n,addr,size) \
  46.      _set_tssldt_desc(((char *) (n)),((int)(addr)),((size << 3) - 1),"0x82")
  47.  
  48. Binary files linux-2.0.35/scripts/lxdialog/lxdialog and linux-2.0.35.patched/scripts/lxdialog/lxdialog differ
  49. Binary files linux-2.0.35/scripts/mkdep and linux-2.0.35.patched/scripts/mkdep differ
  50.