home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / kernel-s / v1.2 / v1.1 / v1.1.95-1.2.0.patch
Text File  |  1995-03-07  |  44KB  |  1,116 lines

  1. diff -u --recursive --new-file v1.1.95/linux/CREDITS linux/CREDITS
  2. --- v1.1.95/linux/CREDITS    Sun Feb 12 15:00:45 1995
  3. +++ linux/CREDITS    Mon Mar  6 11:11:20 1995
  4. @@ -315,13 +315,8 @@
  5.  S: USA
  6.  
  7.  N: Andrew Haylett
  8. -E: ajh@gec-mrc.co.uk
  9. +E: ajh@primag.co.uk
  10.  D: Selection mechanism
  11. -S: GEC-Marconi Research Centre
  12. -S: West Hanningfield Road
  13. -S: Great Baddow
  14. -S: CM2 8HN
  15. -S: United Kingdom
  16.  
  17.  N: Jochen Hein
  18.  E: Hein@Informatik.TU-Clausthal.de
  19. diff -u --recursive --new-file v1.1.95/linux/Makefile linux/Makefile
  20. --- v1.1.95/linux/Makefile    Thu Feb 23 13:32:28 1995
  21. +++ linux/Makefile    Tue Mar  7 17:50:24 1995
  22. @@ -1,6 +1,6 @@
  23.  VERSION = 1
  24. -PATCHLEVEL = 1
  25. -SUBLEVEL = 95
  26. +PATCHLEVEL = 2
  27. +SUBLEVEL = 0
  28.  
  29.  ARCH = i386
  30.  
  31. diff -u --recursive --new-file v1.1.95/linux/arch/sparc/kernel/head.S linux/arch/sparc/kernel/head.S
  32. --- v1.1.95/linux/arch/sparc/kernel/head.S    Sun Feb 26 20:46:20 1995
  33. +++ linux/arch/sparc/kernel/head.S    Mon Mar  6 11:22:09 1995
  34. @@ -664,7 +664,7 @@
  35.   */
  36.  
  37.  /* paul@sfe.com.au */
  38. -/* V3 doesnt have printf.. And I dont really feel like doing the formatting
  39. +/* V3 doesn't have printf.. And I don't really feel like doing the formatting
  40.   * myself.. So we miss out on some messages (for now).
  41.   */
  42.          ld    [%g7 + 0x4], %o0
  43. @@ -808,7 +808,7 @@
  44.          WRITE_PAUSE            ! see above
  45.  
  46.  /* I keep the timer interrupt on so that BogoMIPS works and the prom
  47. - * keeps updating it's "jiffies" counter. 100HZ clock on sparcstations.
  48. + * keeps updating its "jiffies" counter. 100HZ clock on sparcstations.
  49.   */    
  50.  
  51.  /* If gas wasn't so dumb, I could use or'd macros in this next
  52. diff -u --recursive --new-file v1.1.95/linux/arch/sparc/kernel/setup.c linux/arch/sparc/kernel/setup.c
  53. --- v1.1.95/linux/arch/sparc/kernel/setup.c    Sun Feb 26 20:46:20 1995
  54. +++ linux/arch/sparc/kernel/setup.c    Mon Mar  6 11:22:09 1995
  55. @@ -53,7 +53,7 @@
  56.  
  57.  /* Lame prom console routines, gets registered below. Thanks for the
  58.   * tip Linus.  First comes the V0 prom routine, then the V3 version
  59. - * writen by Paul Hatchman (paul@sfe.com.au).
  60. + * written by Paul Hatchman (paul@sfe.com.au).
  61.   */
  62.  
  63.  void sparc_console_print(const char * p)
  64. @@ -89,7 +89,7 @@
  65.  
  66.  
  67.  /* This routine will in the future do all the nasty prom stuff
  68. - * to probe for the mmu type and it's parameters, etc. This will
  69. + * to probe for the mmu type and its parameters, etc. This will
  70.   * also be where SMP things happen plus the Sparc specific memory
  71.   * physical memory probe as on the alpha.
  72.   */
  73. diff -u --recursive --new-file v1.1.95/linux/drivers/block/README.sbpcd linux/drivers/block/README.sbpcd
  74. --- v1.1.95/linux/drivers/block/README.sbpcd    Sun Jan 15 21:46:23 1995
  75. +++ linux/drivers/block/README.sbpcd    Mon Mar  6 11:22:09 1995
  76. @@ -58,7 +58,7 @@
  77.  All supported drive families can be mixed, but the CR-521 drives are 
  78.  hard-wired to drive ID 0. The drives have to use different drive IDs, and each
  79.  drive has to get a unique minor number (0...3), corresponding indirectly to 
  80. -it's drive ID.
  81. +its drive ID.
  82.  The drive IDs may be selected freely from 0 to 3 - they do not have to be in
  83.  consecutive order.
  84.  
  85. @@ -132,7 +132,7 @@
  86.            The "no-sound" board from OmniCd needs the "SBPRO 1" setup.
  87.            All other "no-sound" boards need the "SBPRO 0" setup.
  88.            The Spea Media FX sound card needs "SBPRO 2".
  89. -          sbpcd.c holds some examples in it's auto-probe list.
  90. +          sbpcd.c holds some examples in its auto-probe list.
  91.            If you configure "SBPRO" wrong, the playing of audio CDs will work,
  92.            but you will not be able to mount a data CD.
  93.        a2. Tell the address of your CDROM_PORT (not of the sound port).
  94. @@ -165,7 +165,7 @@
  95.  
  96.     The driver no longer uses the "AT bus style" device numbering; the SCSI
  97.     scheme is used now; that means, the "first found" drive gets MINOR 0
  98. -   (regardless to it's jumpered ID), the "next found" (at the same cable)
  99. +   (regardless to its jumpered ID), the "next found" (at the same cable)
  100.     gets MINOR 1, ...
  101.     
  102.     For a second interface board, you have to make nodes like
  103. diff -u --recursive --new-file v1.1.95/linux/drivers/block/cdu31a.c linux/drivers/block/cdu31a.c
  104. --- v1.1.95/linux/drivers/block/cdu31a.c    Wed Jan 18 09:38:59 1995
  105. +++ linux/drivers/block/cdu31a.c    Mon Mar  6 11:22:09 1995
  106. @@ -1384,7 +1384,7 @@
  107.  cdu31a_request_startover:
  108.        /*
  109.         * The beginning here is stolen from the hard disk driver.  I hope
  110. -       * its right.
  111. +       * it's right.
  112.         */
  113.        if (!(CURRENT) || CURRENT->dev < 0)
  114.        {
  115. @@ -2570,7 +2570,7 @@
  116.           it.  It seems to mean the drive has already done the operation. */
  117.        if ((res_size < 2) || ((res_reg[0] != 0) && (res_reg[1] != 0)))
  118.        {
  119. -         /* If the drive is already playing, its ok.  */
  120. +         /* If the drive is already playing, it's ok.  */
  121.           if ((res_reg[1] == SONY_AUDIO_PLAYING_ERR) || (res_reg[1] == 0))
  122.           {
  123.              goto drive_spinning;
  124. @@ -2725,7 +2725,7 @@
  125.     if (read_status_register() != 0xff)
  126.     {
  127.        /*
  128. -       * Reset the drive and wait for attention from it (to say its reset).
  129. +       * Reset the drive and wait for attention from it (to say it's reset).
  130.         * If you don't wait, the next operation will probably fail.
  131.         */
  132.        reset_drive();
  133. diff -u --recursive --new-file v1.1.95/linux/drivers/block/floppy.c linux/drivers/block/floppy.c
  134. --- v1.1.95/linux/drivers/block/floppy.c    Sun Feb 26 16:45:26 1995
  135. +++ linux/drivers/block/floppy.c    Mon Mar  6 09:52:08 1995
  136. @@ -2325,6 +2325,7 @@
  137.      /* claim buffer track if needed */
  138.      if (buffer_track != raw_cmd.track ||  /* bad track */
  139.          buffer_drive !=current_drive || /* bad drive */
  140. +        sector_t > buffer_max ||
  141.          sector_t < buffer_min ||
  142.          ((CT(COMMAND) == FD_READ ||
  143.            (aligned_sector_t == sector_t && CURRENT->nr_sectors >= ssize ))&&
  144. diff -u --recursive --new-file v1.1.95/linux/drivers/block/sonycd535.c linux/drivers/block/sonycd535.c
  145. --- v1.1.95/linux/drivers/block/sonycd535.c    Thu Feb 23 13:31:40 1995
  146. +++ linux/drivers/block/sonycd535.c    Mon Mar  6 11:22:09 1995
  147. @@ -715,7 +715,7 @@
  148.      if (do_sony_cmd(&cmd, 1, status, NULL, 0, 0) != 0)
  149.          return TIME_OUT;
  150.      if ((status[0] & SONY535_STATUS1_NOT_SPINNING) == 0)
  151. -        return 0;    /* its already spinning */
  152. +        return 0;    /* it's already spinning */
  153.  
  154.      /* otherwise, give the spin-up command */
  155.      cmd = SONY535_SPIN_UP;
  156. @@ -818,7 +818,7 @@
  157.      while (1) {
  158.          /*
  159.           * The beginning here is stolen from the hard disk driver.  I hope
  160. -         * its right.
  161. +         * it's right.
  162.           */
  163.          if (!(CURRENT) || CURRENT->dev < 0) {
  164.              return;
  165. diff -u --recursive --new-file v1.1.95/linux/drivers/char/ChangeLog linux/drivers/char/ChangeLog
  166. --- v1.1.95/linux/drivers/char/ChangeLog    Thu Feb 23 13:31:41 1995
  167. +++ linux/drivers/char/ChangeLog    Mon Mar  6 11:22:09 1995
  168. @@ -277,7 +277,7 @@
  169.          until after block_til_ready has returned successfully.
  170.          Modify block_til_ready to check the normal_termios
  171.          structure directly, so it doesn't rely on termios being
  172. -        set before its called.
  173. +        set before it's called.
  174.  
  175.  Thu Sep 15 23:34:01 1994  Theodore Y. Ts'o  (tytso@rt-11)
  176.  
  177. diff -u --recursive --new-file v1.1.95/linux/drivers/char/console.c linux/drivers/char/console.c
  178. --- v1.1.95/linux/drivers/char/console.c    Thu Mar  2 09:31:10 1995
  179. +++ linux/drivers/char/console.c    Mon Mar  6 10:21:32 1995
  180. @@ -1005,6 +1005,7 @@
  181.              unsigned short old = scr_readw(p);
  182.              scr_writew(old ^ (((old & 0x0700) == 0x0100)
  183.                        ? 0x7000 : 0x7700), p);
  184. +            p++;
  185.          }
  186.  }
  187.  
  188. diff -u --recursive --new-file v1.1.95/linux/drivers/char/mem.c linux/drivers/char/mem.c
  189. --- v1.1.95/linux/drivers/char/mem.c    Mon Jan 23 23:04:09 1995
  190. +++ linux/drivers/char/mem.c    Tue Mar  7 14:59:28 1995
  191. @@ -19,6 +19,7 @@
  192.  
  193.  #include <asm/segment.h>
  194.  #include <asm/io.h>
  195. +#include <asm/pgtable.h>
  196.  
  197.  #ifdef CONFIG_SOUND
  198.  extern long soundcard_init(long mem_start);
  199. @@ -88,15 +89,15 @@
  200.  {
  201.      if (vma->vm_offset & ~PAGE_MASK)
  202.          return -ENXIO;
  203. -#if 0 && defined(__i386__)
  204. +#if defined(__i386__)
  205.      /*
  206. -     * hmm.. This disables high-memory caching, as the XFree86 team wondered
  207. -     * about that at one time. It doesn't seem to make a difference, though:
  208. -     * the surround logic should disable caching for the high device addresses
  209. -     * anyway.
  210. +     * hmm.. This disables high-memory caching, as the XFree86 team
  211. +     * wondered about that at one time.
  212. +     * The surround logic should disable caching for the high device
  213. +     * addresses anyway, but right now this seems still needed.
  214.       */
  215.      if (x86 > 3 && vma->vm_offset >= high_memory)
  216. -        vma->vm_page_prot |= PAGE_PCD;
  217. +        pgprot_val(vma->vm_page_prot) |= _PAGE_PCD;
  218.  #endif
  219.      if (remap_page_range(vma->vm_start, vma->vm_offset, vma->vm_end - vma->vm_start, vma->vm_page_prot))
  220.          return -EAGAIN;
  221. diff -u --recursive --new-file v1.1.95/linux/drivers/net/3c501.c linux/drivers/net/3c501.c
  222. --- v1.1.95/linux/drivers/net/3c501.c    Wed Feb 15 10:50:33 1995
  223. +++ linux/drivers/net/3c501.c    Mon Mar  6 11:22:08 1995
  224. @@ -29,7 +29,7 @@
  225.          transmit a packet. A third command mode exists when you are setting
  226.          things up.
  227.          
  228. -    3]    If its transmitting its not receiving and vice versa. In fact the 
  229. +    3]    If it's transmitting it's not receiving and vice versa. In fact the 
  230.          time to get the board back into useful state after an operation is
  231.          quite large.
  232.          
  233. diff -u --recursive --new-file v1.1.95/linux/drivers/net/sk_g16.c linux/drivers/net/sk_g16.c
  234. --- v1.1.95/linux/drivers/net/sk_g16.c    Mon Jan 16 07:17:36 1995
  235. +++ linux/drivers/net/sk_g16.c    Tue Mar  7 16:25:27 1995
  236. @@ -721,7 +721,7 @@
  237.  
  238.      outb(SK_ROM_RAM_OFF, SK_POS2);     /* Boot_ROM + RAM off */  
  239.  
  240. -        /* We found a Boot_ROM and its gone. Set RAM address on
  241. +        /* We found a Boot_ROM and it's gone. Set RAM address on
  242.           * Boot_ROM address. 
  243.           */ 
  244.  
  245. diff -u --recursive --new-file v1.1.95/linux/drivers/net/slhc.c linux/drivers/net/slhc.c
  246. --- v1.1.95/linux/drivers/net/slhc.c    Mon Jan 23 10:38:31 1995
  247. +++ linux/drivers/net/slhc.c    Mon Mar  6 11:22:08 1995
  248. @@ -44,7 +44,7 @@
  249.   *            Use ip_fast_csum from ip.h
  250.   *
  251.   *
  252. - *    This module is a difficult issue. Its clearly inet code but its also clearly
  253. + *    This module is a difficult issue. It's clearly inet code but it's also clearly
  254.   *    driver code belonging close to PPP and SLIP
  255.   */
  256.  
  257. diff -u --recursive --new-file v1.1.95/linux/drivers/scsi/53c7,8xx.scr linux/drivers/scsi/53c7,8xx.scr
  258. --- v1.1.95/linux/drivers/scsi/53c7,8xx.scr    Wed Aug 10 19:26:26 1994
  259. +++ linux/drivers/scsi/53c7,8xx.scr    Tue Mar  7 16:30:21 1995
  260. @@ -233,7 +233,7 @@
  261.  ABSOLUTE reselected_identify = 0
  262.  ABSOLUTE reselected_tag = 0
  263.  
  264. -; Request sense command pointer, its a 6 byte command, should
  265. +; Request sense command pointer, it's a 6 byte command, should
  266.  ; be constant for all commands since we always want 16 bytes of 
  267.  ; sense and we don't need to change any fields as we did under 
  268.  ; SCSI-I when we actually cared about the LUN field.
  269. @@ -830,7 +830,7 @@
  270.      ; XXX the ALU is only eight bits wide, and the assembler
  271.      ; wont do the dirt work for us.  As long as dsa_check_reselect
  272.      ; is negative, we need to sign extend with 1 bits to the full
  273. -    ; 32 bit width os the address.
  274. +    ; 32 bit width of the address.
  275.      ;
  276.      ; A potential work around would be to have a known alignment 
  277.      ; of the DSA structure such that the base address plus 
  278. diff -u --recursive --new-file v1.1.95/linux/drivers/scsi/53c8xx_d.h linux/drivers/scsi/53c8xx_d.h
  279. --- v1.1.95/linux/drivers/scsi/53c8xx_d.h    Wed Aug 10 19:26:26 1994
  280. +++ linux/drivers/scsi/53c8xx_d.h    Tue Mar  7 16:26:41 1995
  281. @@ -295,8 +295,8 @@
  282.  ABSOLUTE reselected_identify = 0
  283.  ABSOLUTE reselected_tag = 0
  284.  
  285. -; Request sense command pointer, its a 6 byte command, should
  286. -; be constant for all commands since we allays want 16 bytes of 
  287. +; Request sense command pointer, it's a 6 byte command, should
  288. +; be constant for all commands since we always want 16 bytes of 
  289.  ; sense and we don't need to change any fields as we did under 
  290.  ; SCSI-I when we actually cared about the LUN field.
  291.  ;EXTERNAL NCR53c7xx_sense        ; Request sense command
  292. @@ -314,7 +314,7 @@
  293.  ;
  294.  ; MODIFIES : SCRATCH, reconnect_dsa_head
  295.  ; 
  296. -; EXITS : allays passes control to schedule
  297. +; EXITS : always passes control to schedule
  298.  
  299.  ENTRY dsa_schedule
  300.  dsa_schedule:
  301. diff -u --recursive --new-file v1.1.95/linux/drivers/scsi/Makefile linux/drivers/scsi/Makefile
  302. --- v1.1.95/linux/drivers/scsi/Makefile    Wed Feb  1 19:36:35 1995
  303. +++ linux/drivers/scsi/Makefile    Mon Mar  6 11:22:09 1995
  304. @@ -3,7 +3,7 @@
  305.  #
  306.  # Note! Dependencies are done automagically by 'make dep', which also
  307.  # removes any old dependencies. DON'T put your own dependencies here
  308. -# unless its something special (ie not a .c file).
  309. +# unless it's something special (ie not a .c file).
  310.  #
  311.  
  312.  .c.s:
  313. diff -u --recursive --new-file v1.1.95/linux/drivers/scsi/in2000.c linux/drivers/scsi/in2000.c
  314. --- v1.1.95/linux/drivers/scsi/in2000.c    Fri Jan 20 11:34:39 1995
  315. +++ linux/drivers/scsi/in2000.c    Mon Mar  6 11:22:09 1995
  316. @@ -428,7 +428,7 @@
  317.      bufflen = 0;
  318.  
  319.      /*
  320. -     * What it looks like.  Boy did I get tired of reading it's output.
  321. +     * What it looks like.  Boy did I get tired of reading its output.
  322.       */
  323.      if (*cmd == READ_10 || *cmd == WRITE_10) {
  324.      i = xscsi2int((cmd+1));
  325. diff -u --recursive --new-file v1.1.95/linux/drivers/scsi/qlogic.c linux/drivers/scsi/qlogic.c
  326. --- v1.1.95/linux/drivers/scsi/qlogic.c    Thu Feb 23 13:32:05 1995
  327. +++ linux/drivers/scsi/qlogic.c    Tue Mar  7 14:52:13 1995
  328. @@ -82,7 +82,7 @@
  329.  /* This is the sync transfer divisor, XTALFREQ/X will be the maximum
  330.     achievable data rate (assuming the rest of the system is capable
  331.     and set properly) */
  332. -#define SYNCXFRPD 4
  333. +#define SYNCXFRPD 5
  334.  /*(XTALFREQ/5)*/
  335.  
  336.  /*****/
  337. @@ -99,10 +99,18 @@
  338.      the assertion delay, also in 1/2 clocks (FASTCLK is ignored here). */
  339.  
  340.  /*----------------------------------------------------------------*/
  341. -#if defined(MODULE) || defined(PCMCIA)
  342. +#ifdef PCMCIA
  343. +#define MODULE
  344. +#endif 
  345. +
  346. +#if defined(MODULE)
  347.  #include <linux/config.h>
  348.  #include <linux/module.h>
  349.  #endif
  350. +
  351. +#ifdef PCMCIA
  352. +#undef MODULE
  353. +#endif 
  354.  
  355.  #include "../block/blk.h"    /* to get disk capacity */
  356.  #include <linux/kernel.h>
  357. diff -u --recursive --new-file v1.1.95/linux/drivers/scsi/scsi.h linux/drivers/scsi/scsi.h
  358. --- v1.1.95/linux/drivers/scsi/scsi.h    Sun Feb 19 11:33:14 1995
  359. +++ linux/drivers/scsi/scsi.h    Mon Mar  6 11:22:09 1995
  360. @@ -392,8 +392,8 @@
  361.     code does not need to do anything special to keep the commands alive. */
  362.  #define SCSI_RESET_SUCCESS 2
  363.  
  364. -/* We called for an reset of this bus, and we should get an interrupt 
  365. -   when this succeeds.  Each command should get it's own status
  366. +/* We called for a reset of this bus, and we should get an interrupt 
  367. +   when this succeeds.  Each command should get its own status
  368.     passed up to scsi_done, but this has not happened yet. */
  369.  #define SCSI_RESET_PENDING 3
  370.  
  371. diff -u --recursive --new-file v1.1.95/linux/drivers/sound/CHANGELOG linux/drivers/sound/CHANGELOG
  372. --- v1.1.95/linux/drivers/sound/CHANGELOG    Fri Aug 19 08:54:07 1994
  373. +++ linux/drivers/sound/CHANGELOG    Mon Mar  6 11:22:09 1995
  374. @@ -91,7 +91,7 @@
  375.  
  376.  Since 2.1
  377.  - Preliminary support for SB16. 
  378. -  - The SB16 mixer is supported in it's native mode.
  379. +  - The SB16 mixer is supported in its native mode.
  380.    - Digitized voice capability up to 44.1 kHz/8 bit/mono
  381.      (16 bit and stereo support coming in the next release).
  382.  - Fixed some bugs in the digitized voice driver for PAS16.
  383. diff -u --recursive --new-file v1.1.95/linux/drivers/sound/Readme.v30 linux/drivers/sound/Readme.v30
  384. --- v1.1.95/linux/drivers/sound/Readme.v30    Fri Aug 19 08:54:08 1994
  385. +++ linux/drivers/sound/Readme.v30    Mon Mar  6 11:22:09 1995
  386. @@ -138,7 +138,7 @@
  387.  - The basic API usage is similar to the current one. There are some new
  388.  macros but the older ones should work as earlier. The most important
  389.  incompatibility is that the /dev/sequencer2 driver allocates voices itself.
  390. -The other one is that the application must send SEQ_START_TIMER() as it's
  391. +The other one is that the application must send SEQ_START_TIMER() as its
  392.  first event. Otherwise the timer is not started and the application waits
  393.  infinitely.
  394.  
  395. diff -u --recursive --new-file v1.1.95/linux/drivers/sound/ad1848.c linux/drivers/sound/ad1848.c
  396. --- v1.1.95/linux/drivers/sound/ad1848.c    Fri Jan 20 10:23:18 1995
  397. +++ linux/drivers/sound/ad1848.c    Mon Mar  6 11:22:09 1995
  398. @@ -683,7 +683,7 @@
  399.   * Check that the I/O address is in use.
  400.   *
  401.   * The bit 0x80 of the base I/O port is known to be 0 after the
  402. - * chip has performed it's power on initialization. Just assume
  403. + * chip has performed its power on initialization. Just assume
  404.   * this has happened before the OS is starting.
  405.   *
  406.   * If the I/O address is unused, it typically returns 0xff.
  407. diff -u --recursive --new-file v1.1.95/linux/drivers/sound/dmabuf.c linux/drivers/sound/dmabuf.c
  408. --- v1.1.95/linux/drivers/sound/dmabuf.c    Wed Jan  4 19:17:57 1995
  409. +++ linux/drivers/sound/dmabuf.c    Mon Mar  6 11:22:09 1995
  410. @@ -740,7 +740,7 @@
  411.   *        buffer.
  412.   *    1 = DMA transfer done. Device doesn't have local buffer or it's
  413.   *        empty now.
  414. - *    2 = No DMA transfer but the device has now more space in it's local
  415. + *    2 = No DMA transfer but the device has now more space in its local
  416.   *        buffer.
  417.   */
  418.  
  419. diff -u --recursive --new-file v1.1.95/linux/drivers/sound/experimental.txt linux/drivers/sound/experimental.txt
  420. --- v1.1.95/linux/drivers/sound/experimental.txt    Fri Aug 19 08:54:08 1994
  421. +++ linux/drivers/sound/experimental.txt    Mon Mar  6 11:22:09 1995
  422. @@ -127,7 +127,7 @@
  423.  delay between writing a byte and the time when it finally plays is
  424.  at most 3 times the 'fragment_time'. 
  425.  
  426. -The delay depends on how much time the program needs to do it's 
  427. +The delay depends on how much time the program needs to do its 
  428.  computations for the next sample (updating screen etc). If it's about
  429.  80% of the 'fragment_time' the game will run almost without delays. If it 
  430.  uses more time, there is a risk that the audio buffer gets empty.
  431. diff -u --recursive --new-file v1.1.95/linux/drivers/sound/mpu401.c linux/drivers/sound/mpu401.c
  432. --- v1.1.95/linux/drivers/sound/mpu401.c    Tue Jan 17 07:49:57 1995
  433. +++ linux/drivers/sound/mpu401.c    Mon Mar  6 11:22:09 1995
  434. @@ -1209,7 +1209,7 @@
  435.    /*
  436.   * The MPU-401 supports just a limited set of possible timebase values.
  437.   * Since the applications require more choices, the driver has to
  438. - * program the HW to do it's best and to convert between the HW and
  439. + * program the HW to do its best and to convert between the HW and
  440.   * actual timebases.
  441.   */
  442.  
  443. diff -u --recursive --new-file v1.1.95/linux/drivers/sound/pss.c linux/drivers/sound/pss.c
  444. --- v1.1.95/linux/drivers/sound/pss.c    Fri Aug 19 08:54:09 1994
  445. +++ linux/drivers/sound/pss.c    Mon Mar  6 11:22:09 1995
  446. @@ -159,7 +159,7 @@
  447.  /*_____ pss_checkint
  448.           This function tests an interrupt number to see if
  449.       it is available. It takes the interrupt button
  450. -     as it's argument and returns TRUE if the interrupt
  451. +     as its argument and returns TRUE if the interrupt
  452.       is ok.
  453.  */
  454.  static int
  455. diff -u --recursive --new-file v1.1.95/linux/fs/buffer.c linux/fs/buffer.c
  456. --- v1.1.95/linux/fs/buffer.c    Mon Feb 20 16:10:32 1995
  457. +++ linux/fs/buffer.c    Mon Mar  6 11:22:08 1995
  458. @@ -714,7 +714,7 @@
  459.      bh = free_list[isize];
  460.      remove_from_free_list(bh);
  461.  
  462. -/* OK, FINALLY we know that this buffer is the only one of it's kind, */
  463. +/* OK, FINALLY we know that this buffer is the only one of its kind, */
  464.  /* and that it's unused (b_count=0), unlocked (b_lock=0), and clean */
  465.      bh->b_count=1;
  466.      bh->b_dirt=0;
  467. diff -u --recursive --new-file v1.1.95/linux/fs/ext2/ialloc.c linux/fs/ext2/ialloc.c
  468. --- v1.1.95/linux/fs/ext2/ialloc.c    Sun Feb 26 18:52:02 1995
  469. +++ linux/fs/ext2/ialloc.c    Mon Mar  6 11:22:08 1995
  470. @@ -358,7 +358,7 @@
  471.      else 
  472.      {
  473.          /*
  474. -         * Try to place the inode in it's parent directory
  475. +         * Try to place the inode in its parent directory
  476.           */
  477.          i = dir->u.ext2_i.i_block_group;
  478.          tmp = get_group_desc (sb, i, &bh2);
  479. diff -u --recursive --new-file v1.1.95/linux/fs/hpfs/hpfs.h linux/fs/hpfs/hpfs.h
  480. --- v1.1.95/linux/fs/hpfs/hpfs.h    Thu Oct  6 08:24:13 1994
  481. +++ linux/fs/hpfs/hpfs.h    Mon Mar  6 11:22:08 1995
  482. @@ -259,7 +259,7 @@
  483.    unsigned char locality;        /* 0=unk 1=seq 2=random 3=both */
  484.    unsigned char namelen, name[1];    /* file name */
  485.    /* dnode_secno down;      btree down pointer, if present,
  486. -                   follows name on next word boundary, or maybe it's
  487. +                   follows name on next word boundary, or maybe it
  488.                precedes next dirent, which is on a word boundary. */
  489.  };
  490.  
  491. diff -u --recursive --new-file v1.1.95/linux/fs/isofs/rock.c linux/fs/isofs/rock.c
  492. --- v1.1.95/linux/fs/isofs/rock.c    Mon Jan 23 10:38:29 1995
  493. +++ linux/fs/isofs/rock.c    Mon Mar  6 11:26:57 1995
  494. @@ -305,7 +305,18 @@
  495.      { int high, low;
  496.        high = isonum_733(rr->u.PN.dev_high);
  497.        low = isonum_733(rr->u.PN.dev_low);
  498. -      inode->i_rdev = ((high << 8) | (low & 0xff)) & 0xffff;
  499. +      /*
  500. +       * The Rock Ridge standard specifies that if sizeof(dev_t) <=4,
  501. +       * then the high field is unused, and the device number is completely
  502. +       * stored in the low field.  Some writers may ignore this subtlety,
  503. +       * and as a result we test to see if the entire device number is
  504. +       * stored in the low field, and use that.
  505. +       */
  506. +      if(MINOR(low) != low && high == 0) {
  507. +        inode->i_rdev = low;
  508. +      } else {
  509. +        inode->i_rdev = MKDEV(high, low);
  510. +      }
  511.      };
  512.      break;
  513.        case SIG('T','F'):
  514. diff -u --recursive --new-file v1.1.95/linux/fs/nfs/inode.c linux/fs/nfs/inode.c
  515. --- v1.1.95/linux/fs/nfs/inode.c    Wed Feb 15 09:31:56 1995
  516. +++ linux/fs/nfs/inode.c    Mon Mar  6 11:22:08 1995
  517. @@ -161,7 +161,7 @@
  518.      put_fs_long(0, &buf->f_files);
  519.      put_fs_long(0, &buf->f_ffree);
  520.      /* We should really try to interrogate the remote server to find
  521. -       it's maximum name length here */
  522. +       its maximum name length here */
  523.      put_fs_long(NAME_MAX, &buf->f_namelen);
  524.  }
  525.  
  526. diff -u --recursive --new-file v1.1.95/linux/include/asm-i386/pgtable.h linux/include/asm-i386/pgtable.h
  527. --- v1.1.95/linux/include/asm-i386/pgtable.h    Thu Mar  2 09:04:40 1995
  528. +++ linux/include/asm-i386/pgtable.h    Tue Mar  7 14:59:28 1995
  529. @@ -43,6 +43,7 @@
  530.  #define _PAGE_PRESENT    0x001
  531.  #define _PAGE_RW    0x002
  532.  #define _PAGE_USER    0x004
  533. +#define _PAGE_PCD    0x010
  534.  #define _PAGE_ACCESSED    0x020
  535.  #define _PAGE_DIRTY    0x040
  536.  #define _PAGE_COW    0x200    /* implemented in software (one of the AVL bits) */
  537. diff -u --recursive --new-file v1.1.95/linux/include/asm-sparc/psr.h linux/include/asm-sparc/psr.h
  538. --- v1.1.95/linux/include/asm-sparc/psr.h    Thu Feb  2 08:42:35 1995
  539. +++ linux/include/asm-sparc/psr.h    Mon Mar  6 11:22:08 1995
  540. @@ -1,7 +1,7 @@
  541.  /* psr.h: This file holds the macros for masking off various parts of
  542.            the processor status register on the Sparc. This is valid
  543.        for Version 8. On the V9 this is renamed to the PSTATE
  544. -      register and it's members are accessed as fields like
  545. +      register and its members are accessed as fields like
  546.        PSTATE.PRIV for the current CPU privilege level.
  547.  
  548.     Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu)
  549. diff -u --recursive --new-file v1.1.95/linux/include/asm-sparc/wim.h linux/include/asm-sparc/wim.h
  550. --- v1.1.95/linux/include/asm-sparc/wim.h    Thu Feb  2 08:42:35 1995
  551. +++ linux/include/asm-sparc/wim.h    Mon Mar  6 11:22:08 1995
  552. @@ -22,7 +22,7 @@
  553.     'rett' instruction. Privileged software is responsible for
  554.     updating this on trap fills/spills etc. Therefore if a 'save'
  555.     instruction is executed and it causes the Current Window
  556. -   Pointer to equal a register window which has it's bit set in
  557. +   Pointer to equal a register window which has its bit set in
  558.     %wim we get a 'overflow' trap, a restore into such a register
  559.     invokes a window 'spill' trap.
  560.  */
  561. diff -u --recursive --new-file v1.1.95/linux/include/linux/ext2_fs.h linux/include/linux/ext2_fs.h
  562. --- v1.1.95/linux/include/linux/ext2_fs.h    Sun Feb 26 18:52:02 1995
  563. +++ linux/include/linux/ext2_fs.h    Mon Mar  6 21:27:31 1995
  564. @@ -15,6 +15,8 @@
  565.  #ifndef _LINUX_EXT2_FS_H
  566.  #define _LINUX_EXT2_FS_H
  567.  
  568. +#include <linux/types.h>
  569. +
  570.  /*
  571.   * The second extended filesystem constants/structures
  572.   */
  573. diff -u --recursive --new-file v1.1.95/linux/include/linux/ip_fw.h linux/include/linux/ip_fw.h
  574. --- v1.1.95/linux/include/linux/ip_fw.h    Thu Feb 23 13:26:22 1995
  575. +++ linux/include/linux/ip_fw.h    Mon Mar  6 11:22:08 1995
  576. @@ -8,9 +8,9 @@
  577.   *    Ported from BSD to Linux,
  578.   *        Alan Cox 22/Nov/1994.
  579.   *    Merged and included the FreeBSD-Current changes at Ugen's request
  580. - *    (but hey its a lot cleaner now). Ugen would prefer in some ways
  581. + *    (but hey it's a lot cleaner now). Ugen would prefer in some ways
  582.   *    we waited for his final product but since Linux 1.2.0 is about to
  583. - *    appear its not practical - Read: It works, its not clean but please
  584. + *    appear it's not practical - Read: It works, it's not clean but please
  585.   *    don't consider it to be his standard of finished work.
  586.   *        Alan.
  587.   *
  588. diff -u --recursive --new-file v1.1.95/linux/include/linux/pci.h linux/include/linux/pci.h
  589. --- v1.1.95/linux/include/linux/pci.h    Fri Feb 24 21:38:37 1995
  590. +++ linux/include/linux/pci.h    Tue Mar  7 14:49:31 1995
  591. @@ -238,6 +238,8 @@
  592.  #define PCI_DEVICE_ID_INTEL_82375    0x0482
  593.  #define PCI_DEVICE_ID_INTEL_82434    0x04a3
  594.  #define PCI_DEVICE_ID_INTEL_82430    0x0486
  595. +#define PCI_DEVICE_ID_INTEL_82437    0x122d
  596. +#define PCI_DEVICE_ID_INTEL_82371    0x122e
  597.  
  598.  #define PCI_VENDOR_ID_SMC        0x1042
  599.  #define PCI_DEVICE_ID_SMC_37C665    0x1000
  600. @@ -267,6 +269,7 @@
  601.  #define PCI_VENDOR_ID_AL        0x10b9
  602.  #define PCI_DEVICE_ID_AL_M1449        0x1449
  603.  #define PCI_DEVICE_ID_AL_M1451        0x1451
  604. +#define PCI_DEVICE_ID_AL_M4803        0x5215
  605.  
  606.  #define PCI_VENDOR_ID_TSENG        0x100c
  607.  #define PCI_DEVICE_ID_TSENG_W32P_2    0x3202
  608. @@ -326,13 +329,19 @@
  609.  #define PCI_VENDOR_ID_HER        0xedd8
  610.  #define PCI_DEVICE_ID_HER_STING        0xa091
  611.  
  612. +#define PCI_VENDOR_ID_ATRONICS        0x907f
  613. +#define PCI_DEVICE_ID_ATRONICS_2015    0x2015
  614. +
  615. +#define PCI_VENDOR_ID_CT        0x102c
  616. +#define PCI_DEVICE_ID_CT_65545        0x00d8
  617. +
  618.  struct pci_vendor_type {
  619.      unsigned short vendor_id;
  620.      char *vendor_name;
  621.  };
  622.  
  623.  
  624. -#define PCI_VENDOR_NUM 34
  625. +#define PCI_VENDOR_NUM 36
  626.  #define PCI_VENDOR_TYPE { \
  627.      {PCI_VENDOR_ID_NCR,        "NCR"}, \
  628.      {PCI_VENDOR_ID_ADAPTEC,        "Adaptec"}, \
  629. @@ -367,7 +376,9 @@
  630.      {PCI_VENDOR_ID_IMS,        "IMS"}, \
  631.      {PCI_VENDOR_ID_ZEINET,        "ZeiNet"}, \
  632.      {PCI_VENDOR_ID_EF,        "Efficient Networks"}, \
  633. -    {PCI_VENDOR_ID_HER,        "Hercules"} \
  634. +    {PCI_VENDOR_ID_HER,        "Hercules"}, \
  635. +    {PCI_VENDOR_ID_ATRONICS,    "Atronics"}, \
  636. +    {PCI_VENDOR_ID_CT,        "Chips & Technologies"} \
  637.  }
  638.  
  639.  
  640. @@ -386,7 +397,7 @@
  641.      char *device_name;
  642.  };
  643.  
  644. -#define PCI_DEVICE_NUM 66
  645. +#define PCI_DEVICE_NUM 71
  646.  #define PCI_DEVICE_TYPE { \
  647.      {0xff,    PCI_VENDOR_ID_NCR,    PCI_DEVICE_ID_NCR_53C810,    "53c810"}, \
  648.      {0xff,    PCI_VENDOR_ID_NCR,    PCI_DEVICE_ID_NCR_53C815,    "53c815"}, \
  649. @@ -417,6 +428,8 @@
  650.      {0xff,    PCI_VENDOR_ID_INTEL,    PCI_DEVICE_ID_INTEL_82375,    "82375EB"}, \
  651.      {0x00,    PCI_VENDOR_ID_INTEL,    PCI_DEVICE_ID_INTEL_82434,    "82434LX Mercury/Neptune"}, \
  652.      {0xff,    PCI_VENDOR_ID_INTEL,    PCI_DEVICE_ID_INTEL_82430,    "82430ZX Aries"}, \
  653. +    {0xff,    PCI_VENDOR_ID_INTEL,    PCI_DEVICE_ID_INTEL_82437,    "82437FX Triton"}, \
  654. +    {0xff,    PCI_VENDOR_ID_INTEL,    PCI_DEVICE_ID_INTEL_82371,    "82371FB"}, \
  655.      {0xff,    PCI_VENDOR_ID_SMC,    PCI_DEVICE_ID_SMC_37C665,    "FDC 37C665"}, \
  656.      {0xff,    PCI_VENDOR_ID_ATI,    PCI_DEVICE_ID_ATI_M32,        "Mach 32"}, \
  657.      {0xff,    PCI_VENDOR_ID_ATI,    PCI_DEVICE_ID_ATI_M64,        "Mach 64"}, \
  658. @@ -430,6 +443,7 @@
  659.      {0xff,    PCI_VENDOR_ID_AI,    PCI_DEVICE_ID_AI_M1435,        "M1435"}, \
  660.      {0xff,    PCI_VENDOR_ID_AL,    PCI_DEVICE_ID_AL_M1449,        "M1449"}, \
  661.      {0xff,    PCI_VENDOR_ID_AL,    PCI_DEVICE_ID_AL_M1451,        "M1451"}, \
  662. +    {0xff,    PCI_VENDOR_ID_AL,    PCI_DEVICE_ID_AL_M4803,        "MS4803"}, \
  663.      {0xff,    PCI_VENDOR_ID_TSENG,    PCI_DEVICE_ID_TSENG_W32P_2,    "ET4000W32P"}, \
  664.      {0xff,    PCI_VENDOR_ID_TSENG,    PCI_DEVICE_ID_TSENG_W32P_b,    "ET4000W32P rev B"}, \
  665.      {0xff,    PCI_VENDOR_ID_TSENG,    PCI_DEVICE_ID_TSENG_W32P_c,    "ET4000W32P rev C"}, \
  666. @@ -453,7 +467,9 @@
  667.      {0xff,    PCI_VENDOR_ID_IMS,    PCI_DEVICE_ID_IMS_8849,        "8849"}, \
  668.      {0xff,    PCI_VENDOR_ID_ZEINET,    PCI_DEVICE_ID_ZEINET_1221,    "1221"}, \
  669.      {0xff,    PCI_VENDOR_ID_EF,    PCI_DEVICE_ID_EF_ATM,        "155P-MF1"}, \
  670. -    {0xff,    PCI_VENDOR_ID_HER,    PCI_DEVICE_ID_HER_STING,    "Stingray"} \
  671. +    {0xff,    PCI_VENDOR_ID_HER,    PCI_DEVICE_ID_HER_STING,    "Stingray"}, \
  672. +    {0xff,    PCI_VENDOR_ID_ATRONICS,    PCI_DEVICE_ID_ATRONICS_2015,    "IDE-2015PL"}, \
  673. +    {0xff,    PCI_VENDOR_ID_CT,    PCI_DEVICE_ID_CT_65545,        "65545"} \
  674.  }
  675.  
  676.  /* An item of this structure has the following meaning    */
  677. diff -u --recursive --new-file v1.1.95/linux/include/linux/sched.h linux/include/linux/sched.h
  678. --- v1.1.95/linux/include/linux/sched.h    Fri Feb 24 16:41:01 1995
  679. +++ linux/include/linux/sched.h    Tue Mar  7 14:38:48 1995
  680. @@ -199,6 +199,9 @@
  681.  #define PF_PTRACED    0x00000010    /* set if ptrace (0) has been called. */
  682.  #define PF_TRACESYS    0x00000020    /* tracing system calls */
  683.  
  684. +#define PF_STARTING    0x00000100    /* being created */
  685. +#define PF_EXITING    0x00000200    /* getting shut down */
  686. +
  687.  /*
  688.   * cloning flags:
  689.   */
  690. diff -u --recursive --new-file v1.1.95/linux/include/linux/soundcard.h linux/include/linux/soundcard.h
  691. --- v1.1.95/linux/include/linux/soundcard.h    Sun Nov 27 20:19:54 1994
  692. +++ linux/include/linux/soundcard.h    Mon Mar  6 11:22:08 1995
  693. @@ -348,7 +348,7 @@
  694.   *
  695.   * This driver uses just the numbers 0 to 31 to store both
  696.   * the LSB and MSB. The controller value is a unsigned short
  697. - * and it's valid range is between 0 and 16383 (0x0000 to 0x3fff).
  698. + * and its valid range is between 0 and 16383 (0x0000 to 0x3fff).
  699.   * The driver sends the controller value using two messages when
  700.   * necessary.
  701.   */
  702. diff -u --recursive --new-file v1.1.95/linux/kernel/exit.c linux/kernel/exit.c
  703. --- v1.1.95/linux/kernel/exit.c    Wed Feb  1 09:19:36 1995
  704. +++ linux/kernel/exit.c    Tue Mar  7 14:41:56 1995
  705. @@ -380,6 +380,7 @@
  706.          intr_count = 0;
  707.      }
  708.  fake_volatile:
  709. +    current->flags |= PF_EXITING;
  710.      sem_exit();
  711.      exit_mmap(current);
  712.      free_page_tables(current);
  713. diff -u --recursive --new-file v1.1.95/linux/kernel/sys.c linux/kernel/sys.c
  714. --- v1.1.95/linux/kernel/sys.c    Wed Mar  1 13:31:54 1995
  715. +++ linux/kernel/sys.c    Sun Mar  5 00:16:36 1995
  716. @@ -172,12 +172,8 @@
  717.  {
  718.      if (C_A_D)
  719.          hard_reset_now();
  720. -    else {
  721. -        int i;
  722. +    else
  723.          send_sig(SIGINT,task[1],1);
  724. -        for (i = 2; i < NR_TASKS; i++)
  725. -            send_sig(SIGHUP,task[i],1);
  726. -    }
  727.  }
  728.      
  729.  
  730. diff -u --recursive --new-file v1.1.95/linux/mm/swap.c linux/mm/swap.c
  731. --- v1.1.95/linux/mm/swap.c    Wed Mar  1 13:32:36 1995
  732. +++ linux/mm/swap.c    Tue Mar  7 14:35:17 1995
  733. @@ -340,12 +340,13 @@
  734.      if (pte_dirty(pte)) {
  735.          if (mem_map[MAP_NR(page)] != 1)
  736.              return 0;
  737. -        vma->vm_task->mm->rss--;
  738. -        if (vma->vm_ops && vma->vm_ops->swapout)
  739. +        if (vma->vm_ops && vma->vm_ops->swapout) {
  740. +            vma->vm_task->mm->rss--;
  741.              vma->vm_ops->swapout(vma, address-vma->vm_start, page_table);
  742. -        else {
  743. +        } else {
  744.              if (!(entry = get_swap_page()))
  745.                  return 0;
  746. +            vma->vm_task->mm->rss--;
  747.              pte_val(*page_table) = entry;
  748.              invalidate();
  749.              write_swap_page(entry, (char *) page);
  750. diff -u --recursive --new-file v1.1.95/linux/net/inet/af_inet.c linux/net/inet/af_inet.c
  751. --- v1.1.95/linux/net/inet/af_inet.c    Thu Feb 23 14:02:24 1995
  752. +++ linux/net/inet/af_inet.c    Tue Mar  7 14:43:50 1995
  753. @@ -270,7 +270,7 @@
  754.  
  755.        sk->inuse = 1;            /* just to be safe. */
  756.  
  757. -      /* Incase it's sleeping somewhere. */
  758. +      /* In case it's sleeping somewhere. */
  759.        if (!sk->dead) 
  760.            sk->write_space(sk);
  761.  
  762. @@ -778,9 +778,12 @@
  763.       * If linger is set, we don't return until the close
  764.       * is complete.  Other wise we return immediately. The
  765.       * actually closing is done the same either way.
  766. +     *
  767. +     * If the close is due to the process exiting, we never
  768. +     * linger..
  769.       */
  770.  
  771. -    if (sk->linger == 0) 
  772. +    if (sk->linger == 0 || (current->flags & PF_EXITING))
  773.      {
  774.          sk->prot->close(sk,0);
  775.          sk->dead = 1;
  776. @@ -1019,7 +1022,7 @@
  777.      /*
  778.       * We've been passed an extra socket.
  779.       * We need to free it up because the tcp module creates
  780. -     * it's own when it accepts one.
  781. +     * its own when it accepts one.
  782.       */
  783.      if (newsock->data)
  784.      {
  785. diff -u --recursive --new-file v1.1.95/linux/net/inet/datagram.c linux/net/inet/datagram.c
  786. --- v1.1.95/linux/net/inet/datagram.c    Sat Jan  7 12:57:54 1995
  787. +++ linux/net/inet/datagram.c    Mon Mar  6 11:22:08 1995
  788. @@ -155,7 +155,7 @@
  789.          return;
  790.      }
  791.      /* See if it needs destroying */
  792. -    if(!skb->next && !skb->prev)    /* Been dequeued by someone - ie its read */
  793. +    if(!skb->next && !skb->prev)    /* Been dequeued by someone - ie it's read */
  794.          kfree_skb(skb,FREE_READ);
  795.      restore_flags(flags);
  796.  }
  797. diff -u --recursive --new-file v1.1.95/linux/net/inet/dev.c linux/net/inet/dev.c
  798. --- v1.1.95/linux/net/inet/dev.c    Wed Feb 15 21:31:24 1995
  799. +++ linux/net/inet/dev.c    Mon Mar  6 11:22:08 1995
  800. @@ -417,7 +417,7 @@
  801.      }
  802.  
  803.      /*
  804. -     *    Transmission failed, put skb back into a list. Once on the list its safe and
  805. +     *    Transmission failed, put skb back into a list. Once on the list it's safe and
  806.       *    no longer device locked (it can be freed safely from the device queue)
  807.       */
  808.      cli();
  809. diff -u --recursive --new-file v1.1.95/linux/net/inet/devinet.c linux/net/inet/devinet.c
  810. --- v1.1.95/linux/net/inet/devinet.c    Thu Jan  5 13:55:40 1995
  811. +++ linux/net/inet/devinet.c    Mon Mar  6 11:22:08 1995
  812. @@ -181,7 +181,7 @@
  813.  /*
  814.   *    Find an interface that can handle addresses for a certain address. 
  815.   *
  816. - *    This needs optimising, since its relatively trivial to collapse
  817. + *    This needs optimising, since it's relatively trivial to collapse
  818.   *    the two loops into one.
  819.   */
  820.   
  821. diff -u --recursive --new-file v1.1.95/linux/net/inet/icmp.c linux/net/inet/icmp.c
  822. --- v1.1.95/linux/net/inet/icmp.c    Tue Feb  7 18:03:51 1995
  823. +++ linux/net/inet/icmp.c    Mon Mar  6 11:22:08 1995
  824. @@ -742,7 +742,7 @@
  825.          case ICMP_ADDRESSREPLY:
  826.              /*
  827.               *    We ought to set our netmask on receiving this, but 
  828. -             *    experience shows its a waste of effort.
  829. +             *    experience shows it's a waste of effort.
  830.               */
  831.              icmp_statistics.IcmpInAddrMaskReps++;
  832.              kfree_skb(skb1, FREE_READ);
  833. diff -u --recursive --new-file v1.1.95/linux/net/inet/ip.c linux/net/inet/ip.c
  834. --- v1.1.95/linux/net/inet/ip.c    Fri Feb 24 21:40:16 1995
  835. +++ linux/net/inet/ip.c    Mon Mar  6 11:22:08 1995
  836. @@ -1133,7 +1133,7 @@
  837.  
  838.      if(mtu<8)
  839.      {
  840. -        /* It's wrong but its better than nothing */
  841. +        /* It's wrong but it's better than nothing */
  842.          icmp_send(skb,ICMP_DEST_UNREACH,ICMP_FRAG_NEEDED,dev->mtu, dev);
  843.          ip_statistics.IpFragFails++;
  844.          return;
  845. @@ -1145,7 +1145,7 @@
  846.  
  847.      /*
  848.       *    The initial offset is 0 for a complete frame. When
  849. -     *    fragmenting fragments its wherever this one starts.
  850. +     *    fragmenting fragments it's wherever this one starts.
  851.       */
  852.  
  853.      if (is_frag & 2)
  854. @@ -1434,7 +1434,7 @@
  855.              
  856.              /*
  857.               *    Map service types to priority. We lie about
  858. -             *    throughput being low priority, but its a good
  859. +             *    throughput being low priority, but it's a good
  860.               *    choice to help improve general usage.
  861.               */
  862.              if(iph->tos & IPTOS_LOWDELAY)
  863. diff -u --recursive --new-file v1.1.95/linux/net/inet/ip_fw.c linux/net/inet/ip_fw.c
  864. --- v1.1.95/linux/net/inet/ip_fw.c    Thu Feb 23 13:26:12 1995
  865. +++ linux/net/inet/ip_fw.c    Mon Mar  6 11:22:08 1995
  866. @@ -11,9 +11,9 @@
  867.   *    Zeroing /proc and other additions
  868.   *        Jos Vos 4/Feb/1995.
  869.   *    Merged and included the FreeBSD-Current changes at Ugen's request
  870. - *    (but hey its a lot cleaner now). Ugen would prefer in some ways
  871. + *    (but hey it's a lot cleaner now). Ugen would prefer in some ways
  872.   *    we waited for his final product but since Linux 1.2.0 is about to
  873. - *    appear its not practical - Read: It works, its not clean but please
  874. + *    appear it's not practical - Read: It works, it's not clean but please
  875.   *    don't consider it to be his standard of finished work.
  876.   *        Alan Cox 12/Feb/1995
  877.   *
  878. @@ -193,7 +193,7 @@
  879.              dprintf1("TCP ");
  880.              src_port=ntohs(tcp->source);
  881.              dst_port=ntohs(tcp->dest);
  882. -            if(tcp->syn)
  883. +            if(tcp->syn && !tcp->ack)
  884.                  notcpsyn=0; /* We *DO* have SYN, value FALSE */
  885.              prt=IP_FW_F_TCP;
  886.              break;
  887. @@ -930,38 +930,23 @@
  888.  
  889.  #ifdef CONFIG_IP_ACCT
  890.  
  891. -int ip_acct_procinfo(char *buffer, char **start, off_t offset, int length)
  892. +int ip_acct_procinfo(char *buffer, char **start, off_t offset, int length, int reset)
  893.  {
  894. -    return ip_chain_procinfo(IP_INFO_ACCT, buffer,start,offset,length,0);
  895. -}
  896. -
  897. -int ip_acct0_procinfo(char *buffer, char **start, off_t offset, int length)
  898. -{
  899. -    return ip_chain_procinfo(IP_INFO_ACCT, buffer,start,offset,length,1);
  900. +    return ip_chain_procinfo(IP_INFO_ACCT, buffer,start,offset,length,reset);
  901.  }
  902.  
  903.  #endif
  904.  
  905.  #ifdef CONFIG_IP_FIREWALL
  906.  
  907. -int ip_fw_blk_procinfo(char *buffer, char **start, off_t offset, int length)
  908. -{
  909. -    return ip_chain_procinfo(IP_INFO_BLK, buffer,start,offset,length,0);
  910. -}
  911. -
  912. -int ip_fw_blk0_procinfo(char *buffer, char **start, off_t offset, int length)
  913. -{
  914. -    return ip_chain_procinfo(IP_INFO_BLK, buffer,start,offset,length,1);
  915. -}
  916. -
  917. -int ip_fw_fwd_procinfo(char *buffer, char **start, off_t offset, int length)
  918. +int ip_fw_blk_procinfo(char *buffer, char **start, off_t offset, int length, int reset)
  919.  {
  920. -    return ip_chain_procinfo(IP_INFO_FWD, buffer,start,offset,length,0);
  921. +    return ip_chain_procinfo(IP_INFO_BLK, buffer,start,offset,length,reset);
  922.  }
  923.  
  924. -int ip_fw_fwd0_procinfo(char *buffer, char **start, off_t offset, int length)
  925. +int ip_fw_fwd_procinfo(char *buffer, char **start, off_t offset, int length, int reset)
  926.  {
  927. -    return ip_chain_procinfo(IP_INFO_FWD, buffer,start,offset,length,1);
  928. +    return ip_chain_procinfo(IP_INFO_FWD, buffer,start,offset,length,reset);
  929.  }
  930.  
  931.  #endif
  932. diff -u --recursive --new-file v1.1.95/linux/net/inet/proc.c linux/net/inet/proc.c
  933. --- v1.1.95/linux/net/inet/proc.c    Wed Jan 11 08:03:11 1995
  934. +++ linux/net/inet/proc.c    Mon Mar  6 11:22:08 1995
  935. @@ -115,7 +115,7 @@
  936.                  break;
  937.          }
  938.          sti();    /* We only turn interrupts back on for a moment, but because the interrupt queues anything built up
  939. -               before this will clear before we jump back and cli, so its not as bad as it looks */
  940. +               before this will clear before we jump back and cli, so it's not as bad as it looks */
  941.          if(pos>offset+length)
  942.              break;
  943.      }
  944. diff -u --recursive --new-file v1.1.95/linux/net/inet/rarp.c linux/net/inet/rarp.c
  945. --- v1.1.95/linux/net/inet/rarp.c    Sun Feb  5 14:26:08 1995
  946. +++ linux/net/inet/rarp.c    Mon Mar  6 11:22:08 1995
  947. @@ -152,7 +152,7 @@
  948.      unsigned char *sha,*tha;            /* s for "source", t for "target" */
  949.    
  950.  /*
  951. - *    If this test doesn't pass, its not IP, or we should ignore it anyway
  952. + *    If this test doesn't pass, it's not IP, or we should ignore it anyway
  953.   */
  954.  
  955.      if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd) 
  956. diff -u --recursive --new-file v1.1.95/linux/net/inet/tcp.c linux/net/inet/tcp.c
  957. --- v1.1.95/linux/net/inet/tcp.c    Thu Feb 23 08:02:30 1995
  958. +++ linux/net/inet/tcp.c    Mon Mar  6 11:22:08 1995
  959. @@ -107,7 +107,7 @@
  960.   *        Alan Cox    :    Spurious resets on shutdown.
  961.   *        Alan Cox    :    Giant 15 minute/60 second timer error
  962.   *        Alan Cox    :    Small whoops in selecting before an accept.
  963. - *        Alan Cox    :    Kept the state trace facility since its
  964. + *        Alan Cox    :    Kept the state trace facility since it's
  965.   *                    handy for debugging.
  966.   *        Alan Cox    :    More reset handler fixes.
  967.   *        Alan Cox    :    Started rewriting the code based on the RFC's
  968. @@ -272,7 +272,7 @@
  969.      if(sk->debug)
  970.          printk("TCP sk=%p, State %s -> %s\n",sk, statename[sk->state],statename[state]);
  971.  #endif    
  972. -    /* This is a hack but it doesn't occur often and its going to
  973. +    /* This is a hack but it doesn't occur often and it's going to
  974.         be a real        to fix nicely */
  975.         
  976.      if(state==TCP_ESTABLISHED && sk->state==TCP_SYN_RECV)
  977. @@ -1138,7 +1138,7 @@
  978.       
  979.      if (size == sizeof(struct tcphdr)) 
  980.      {
  981. -        /* If its got a syn or fin its notionally included in the size..*/
  982. +        /* If it's got a syn or fin it's notionally included in the size..*/
  983.          if(!th->syn && !th->fin) 
  984.          {
  985.              printk("tcp_send_skb: attempt to queue a bogon.\n");
  986. @@ -1312,7 +1312,7 @@
  987.      {
  988.          /* 
  989.           *    Force it to send an ack. We don't have to do this
  990. -         *    (ACK is unreliable) but its much better use of 
  991. +         *    (ACK is unreliable) but it's much better use of 
  992.           *    bandwidth on slow links to send a spare ack than
  993.           *    resend packets. 
  994.           */
  995. @@ -1612,7 +1612,7 @@
  996.          if (copy < sk->mss && !(flags & MSG_OOB)) 
  997.          {
  998.              /*
  999. -             *    We will release the socket incase we sleep here. 
  1000. +             *    We will release the socket in case we sleep here. 
  1001.               */
  1002.              release_sock(sk);
  1003.              /*
  1004. @@ -1626,7 +1626,7 @@
  1005.          else 
  1006.          {
  1007.              /*
  1008. -             *    We will release the socket incase we sleep here. 
  1009. +             *    We will release the socket in case we sleep here. 
  1010.               */
  1011.              release_sock(sk);
  1012.              skb = prot->wmalloc(sk, copy + prot->max_header , 0, GFP_KERNEL);
  1013. @@ -2413,7 +2413,7 @@
  1014.          return;
  1015.       
  1016.      /*
  1017. -     *    If we've already sent a FIN, or its a closed state
  1018. +     *    If we've already sent a FIN, or it's a closed state
  1019.       */
  1020.       
  1021.      if (sk->state == TCP_FIN_WAIT1 ||
  1022. @@ -3355,7 +3355,7 @@
  1023.              
  1024.          /*
  1025.           *    If our packet is before the ack sequence we can
  1026. -         *    discard it as its confirmed to have arrived the other end.
  1027. +         *    discard it as it's confirmed to have arrived the other end.
  1028.           */
  1029.           
  1030.          if (before(sk->send_head->h.seq, ack+1)) 
  1031. @@ -3837,13 +3837,13 @@
  1032.           *    cope with it.
  1033.           */
  1034.  
  1035. -        if(skb->len)    /* We don't care if its just an ack or
  1036. +        if(skb->len)    /* We don't care if it's just an ack or
  1037.                     a keepalive/window probe */
  1038.          {
  1039.              new_seq= th->seq + skb->len + th->syn;    /* Right edge of _data_ part of frame */
  1040.              
  1041.              /* Do this the way 4.4BSD treats it. Not what I'd
  1042. -               regard as the meaning of the spec but its what BSD
  1043. +               regard as the meaning of the spec but it's what BSD
  1044.                 does and clearly they know everything 8) */
  1045.  
  1046.              /*
  1047. @@ -4537,7 +4537,7 @@
  1048.      sk = get_sock(&tcp_prot, th->dest, saddr, th->source, daddr);
  1049.  
  1050.      /*
  1051. -     *    If this socket has got a reset its to all intents and purposes 
  1052. +     *    If this socket has got a reset it's to all intents and purposes 
  1053.         *    really dead. Count closed sockets as dead.
  1054.         *
  1055.         *    Note: BSD appears to have a bug here. A 'closed' TCP in BSD
  1056. @@ -4698,7 +4698,7 @@
  1057.              /* Crossed SYN or previous junk segment */
  1058.              if(th->ack)
  1059.              {
  1060. -                /* We got an ack, but its not a good ack */
  1061. +                /* We got an ack, but it's not a good ack */
  1062.                  if(!tcp_ack(sk,th,saddr,len))
  1063.                  {
  1064.                      /* Reset the ack - its an ack from a 
  1065. @@ -4721,7 +4721,7 @@
  1066.                      return 0;
  1067.                  }
  1068.                  /*
  1069. -                 *    Ok.. its good. Set up sequence numbers and
  1070. +                 *    Ok.. it's good. Set up sequence numbers and
  1071.                   *    move to established.
  1072.                   */
  1073.                  syn_ok=1;    /* Don't reset this connection for the syn */
  1074. diff -u --recursive --new-file v1.1.95/linux/net/socket.c linux/net/socket.c
  1075. --- v1.1.95/linux/net/socket.c    Thu Feb 23 13:26:45 1995
  1076. +++ linux/net/socket.c    Mon Mar  6 11:22:08 1995
  1077. @@ -406,7 +406,7 @@
  1078.      }
  1079.  
  1080.      /*
  1081. -     *    We can't return errors to select, so its either yes or no. 
  1082. +     *    We can't return errors to select, so it's either yes or no. 
  1083.       */
  1084.  
  1085.      if (sock->ops && sock->ops->select)
  1086. @@ -719,7 +719,7 @@
  1087.  
  1088.  
  1089.  /*
  1090. - *    Bind a name to a socket. Nothing much to do here since its
  1091. + *    Bind a name to a socket. Nothing much to do here since it's
  1092.   *    the protocol's responsibility to handle the local address.
  1093.   *
  1094.   *    We move the socket address to kernel space before we call
  1095. diff -u --recursive --new-file v1.1.95/linux/net/unix/sock.c linux/net/unix/sock.c
  1096. --- v1.1.95/linux/net/unix/sock.c    Thu Jan 12 11:37:34 1995
  1097. +++ linux/net/unix/sock.c    Mon Mar  6 11:22:08 1995
  1098. @@ -330,7 +330,7 @@
  1099.      upd->protocol = protocol;
  1100.      upd->socket = sock;
  1101.      UN_DATA(sock) = upd;
  1102. -    upd->refcnt = 1;    /* Now its complete - bgm */
  1103. +    upd->refcnt = 1;    /* Now it's complete - bgm */
  1104.      return(0);
  1105.  }
  1106.  
  1107. @@ -430,7 +430,7 @@
  1108.              i=-EADDRINUSE;
  1109.          return(i);
  1110.      }
  1111. -    upd->sockaddr_len = sockaddr_len;    /* now its legal */
  1112. +    upd->sockaddr_len = sockaddr_len;    /* now it's legal */
  1113.      
  1114.      return(0);
  1115.  }
  1116.