Commit Graph

26934 Commits

Author SHA1 Message Date
perry e32bb7d002 fix bad size calculation for kernel memory mappings, as in when
allocating 1 byte from a page alligned address.
reported (with fix) in pr-3441 from Matthias Drochner
1997-04-02 23:44:44 +00:00
scottr aa88a240fe Fix printf() and other warnings when compiled with DEBUG defined. 1997-04-02 22:37:21 +00:00
christos 206e950042 Add netatalk netisr 1997-04-02 21:59:02 +00:00
christos e0443987e7 Add netatalk netisr 1997-04-02 21:48:55 +00:00
christos 8af1def782 move atintr prototype to the header file. 1997-04-02 21:47:01 +00:00
christos 55e1055dc3 Add netatalk glue 1997-04-02 21:34:11 +00:00
christos 5bf5cd24de Appletalk networking stack. Code based on netatalk release beta-970220
from toccata.fugue.com. Ported to netbsd by Bill Studenmund.
Changes:
    - KNF
    - remove endian.h
    - adapt to the new arp code.
    - fix small biff's with spl/splx.
1997-04-02 21:31:01 +00:00
christos 0b1d82fb18 Add netatalk stubs. 1997-04-02 21:23:26 +00:00
christos 964633009c Sync with Lite2. 1997-04-02 21:17:28 +00:00
christos ff9686fd79 Add netatalk 1997-04-02 21:14:29 +00:00
pk 0b0b9b7777 Off by 1 in PMEG comparison. 1997-04-02 21:07:03 +00:00
pk 332d00ad1d Take another register snapshot at the end of dumpsys() to refresh the PCB
which may have been altered while writing the dump. Also, save PC in
the PCB.
1997-04-02 20:56:28 +00:00
leo ff152e48d5 The atari-TT really has no IDE-interface. 1997-04-02 20:33:10 +00:00
kleink 64f12ae12a Moved the `unlocking a lock-free inode' shortcut behind
the l_whence and starting offset sanity checks.
1997-04-02 18:42:46 +00:00
kleink 5610f6e774 Like in F_SETLK, check if F_GETLK is actually called with a
valid lock type.
1997-04-02 18:22:32 +00:00
kleink 8c04785710 Remove superfluous (uio_resid == 0) check. 1997-04-02 17:14:32 +00:00
oki ecae3f3421 Add bits[64] declaration 1997-04-02 17:10:41 +00:00
kleink c1779f82c3 added advisory record locking support 1997-04-02 17:09:47 +00:00
matthias b7624c248a * Add missing & in plipioctl.
* Remove some dead code in plipioctl.
* Use splnet, not splimp to protect IF_PREPEND/IF_DEQUEUE.
1997-04-02 16:36:25 +00:00
christos 8e5e5d1667 Fix reverse test in O_NOCTTY; pointed out by Klaus Klein 1997-04-02 15:29:18 +00:00
kleink f87eccf5b4 RCSid police 1997-04-02 12:50:23 +00:00
augustss 525bca97ff Make ping obey the -n flag in places. 1997-04-02 09:22:01 +00:00
perry 3deb2910ff Add /var/log/authlog and /var/log/xferlog.
The permissions and especially ownerships of all the /var/log files
should be re-examined -- bin:bin really isn't right for these files.
1997-04-02 05:23:49 +00:00
mycroft 4df7e1dac7 Remove superfluous probe message. 1997-04-02 03:58:25 +00:00
kleink 2da2c50987 KNF glitch in last commit, pointed out by Chris G. Demetriou. 1997-04-02 03:23:01 +00:00
kleink 6b58679ffa Implement OCRNL "\r" -> "\n" tty output translation.
Fixes PR standards/3434.
1997-04-02 03:10:51 +00:00
mycroft 6d3685ab6c Add a SDEV_AUTOSAVE quirk for the Emulex SCSI<->ESDI bridge. 1997-04-02 02:36:02 +00:00
mycroft aca1dae3c4 Push the buffer cleanup code into scsi_done(), and split it so that biodone()
is called *after* the driver `done' routine.  This fixes disk I/O statistics
on SCSI devices.

Also, calling the `done' routine with a `complete' argument of 0 and actually
having it do anything meaningful loses in at least 3 ways, so just nuke the
argument altogether and don't call it this way.  If the driver needs to do
some error handling, that's what `err_handler' is for.
1997-04-02 02:29:30 +00:00
cjs 8075b68cc3 Move network interface config after programs run on boot-up, to match
the order this actually happens in at boot time. Fix a few minor typos.
1997-04-02 02:02:51 +00:00
cjs 1470f854b3 Move network interface config after programs run on boot-up, to match
the order this actually happens in at boot time.
1997-04-02 01:59:04 +00:00
scottr 40d1c295a2 Specify more aggressive warning options for C code. 1997-04-01 23:16:41 +00:00
gwr 0faac5faf2 Back-out the CWD hack... 1997-04-01 23:11:28 +00:00
gwr 1614a8ad2e Always schedule a timeout before the first occasion where
we return from the driver expecting to come back due to an
interrupt, because the interrupt might not happen...
Do the untimeout in ncr53c9x_done instead of just before
almost every call to ncr53c9x_done as was done previously.
Make ncr53c9x_sense schedule its own timeout for the new
command it is starting (request sense), separate from the
timeout for the command that just completed.
1997-04-01 22:10:04 +00:00
gwr 50b0bafbbb Allow separate control over the "per-target trace" feature
via the NCR53C9X_DEBUG value.  Add some padding for m68k.
1997-04-01 22:08:18 +00:00
perry 98a833ca5c document net_interfaces, ifconfig_* 1997-04-01 20:17:43 +00:00
leo a6f5608814 Make it possible to remove the lpt device by making it 'needs-flag'.
Remove lpt-device from the BOOT kernel.
1997-04-01 20:14:06 +00:00
scottr 6c7f504b20 Add forward declarations for struct exec_package and struct exec_vmcmd,
to minimize the number of unnecessary #includes.
1997-04-01 20:05:14 +00:00
scottr 54c4c9b37f Catch up with COMPAT_HPUX changes, and make this compile with -Wall. 1997-04-01 19:59:59 +00:00
scottr 703bcd151c Add prototypes, and make this compile with -Wall. Remove register
modifier from all declarations.
1997-04-01 19:58:58 +00:00
perry 680e326705 Change the way interfaces are configured on startup.
We no longer do /etc/hostname.* files, we do /etc/ifconfig.* files
instead, which contain lines each of which is fed to
ifconfig in turn. A new variable, net_interfaces, controls which
interfaces get brought up, by default, ifconfig -l is used to find a list.
1997-04-01 19:36:17 +00:00
scottr 5be5fe416e Relocate some prototypes needed for COMPAT_HPUX to hilvar.h 1997-04-01 19:29:09 +00:00
scottr bb2149b938 Remove trailing space from last commit 1997-04-01 18:10:01 +00:00
jonathan f7e792279e Move mountd, nfsd, nfsiod to /usr/sbin 1997-04-01 17:38:56 +00:00
cgd 044c6288bf slightly relax the block size checks; they were a bit to paranoid 1997-04-01 17:27:33 +00:00
cgd 776b6dcbca hack to fake up disklabel 1997-04-01 17:23:04 +00:00
matthias e034d53f13 * Add new sysctl "machdep.ieee_disable". This can be used to disable the
in kernel ieee trap handler. Then a usermode version of the code can be
  used for debugging. Thank's to Ian Dall for this suggestion.
1997-04-01 16:37:43 +00:00
matthias af88eb9d75 * Fixes from Ian Dall. Make the ieee handler compile with the new gcc warning
options, make it compile into a user mode library again and update the
  README.
1997-04-01 16:35:08 +00:00
matthias d0c4177d0c * Add new sysctl "machdep.ieee_disable". This can be used to disable the
in kernel ieee trap handler. Then a usermode version of the code can be
  used for debugging. Thank's to Ian Dall for this suggestion.
1997-04-01 16:33:04 +00:00
matthias d89b0839dc * Use movsdnu to copy pages.
* Just invalidate the tlbs for the affected mappings in pmap_zero_page
  and pmap_copy_page.
1997-04-01 16:32:58 +00:00
matthias 43064ade71 * Apply optimizations suggested by gwr & mycroft. 1997-04-01 16:32:52 +00:00