Commit Graph

34647 Commits

Author SHA1 Message Date
mikel ff1bdcd3f8 back out last change 1997-11-07 05:34:07 +00:00
mark ae0af9300a Fix a bug in irq_release() when searching interrupt list for the handler
to remove. The address of the pointer rather than the address of what
is pointed to was use to track the previous handler resulting in problems
when releasing a chained irq. (from John Ballance)
1997-11-07 01:04:51 +00:00
cgd 6a1e9744f2 sh makelintstub, rather than trying to execute it directly 1997-11-06 22:34:01 +00:00
phil 042114bf68 A requirement from sysinst. 1997-11-06 22:00:27 +00:00
cjs 8b57d60845 I do wish people would start including <string.h> when they use memcpy. 1997-11-06 15:47:23 +00:00
mrg 507e5c88b3 use warn not warnx to find out why the open failed (as old quot did). 1997-11-06 14:36:45 +00:00
fair 382aed35d9 correct documentation: lock contention returns EAGAIN, not EACCES, per PR#4369 and UTSL. 1997-11-06 10:44:09 +00:00
fair 994948ff88 Fix man page confusion about the -R option, per PR#4246
Add some paragraph breaks for readability,
and a traceroute(8) reference.
1997-11-06 10:07:33 +00:00
jonathan 121b2869f7 * Add merge_etc() in upgrade.c. Copies /etc.old/fstab to /etc/fstab
as last step of upgrade, so /etc/fstab exists after reboot.

*  util.c: correct sense of test in sanity-check helper check_for().
   Change variable name to `found' for readability.
1997-11-06 09:02:36 +00:00
mark b2b71ad982 Added amps device (Atomwide Multi-Port Serial card). 1997-11-06 02:16:03 +00:00
mark 012044674d Add deice, attachment and file information for the Atomwide Multi-Port
Serial card.
1997-11-06 02:12:27 +00:00
mark 4c86426324 Initial commit of the Atomwide Multi-Port Serial card driver. This driver
just provides attachments to the generic 16550 IC driver.
1997-11-06 02:08:51 +00:00
thorpej 03087cb02b Fix typo in previous. 1997-11-06 01:59:21 +00:00
mark 1a05b5daa4 Cleanup and simplify the padding at the start of the mbuf chain so that
the IP packet is word aligned using the ALIGN macro.
1997-11-06 01:55:18 +00:00
mark 2b325ac968 Remove verbose printing when disabling interrupts on shutdown. 1997-11-06 01:52:43 +00:00
mark f5220ac842 MINIROOT_SIZE -> MINIROOTSIZE
Wildcard root device so that faked md device (MEMORY_DISK_IS_ROOT)
will be selected
1997-11-06 01:12:56 +00:00
mark 4245860a87 MINIROOT_SIZE -> MINIROOTSIZE
Wildcard root device so that faked md device (MEMORY_DISK_IS_ROOT)
will be selected
1997-11-06 01:01:01 +00:00
mark da3b854a7d Ignore memory disk hooks and boot args if MINIROOTSIZE is defined.
Added check for zero terminator after removing spaces in
get_bootconf_option(). This fixes a problem of matching NULL terminators
if there are trailing spaces in the boot args.
1997-11-06 00:57:02 +00:00
cgd 023cd79c6b lint stubs for functions which ports use assembly versions. When using
an assembly version of a function, add the right lint stub to the Makefile.inc
which specifies the source to build the function (see the
arch/i386/*/Makefile.inc).  Can't just lint the normal C versions of these
functions, because some of them don't _have_ normal C versions and if
that were done dependencies would get messed up.
1997-11-06 00:51:04 +00:00
mark fe47853f6f Use the soft copy of the cpu control register instead of trying to read
the cpu control register as this register is write only on some processors.
1997-11-06 00:51:02 +00:00
cgd 59846e6495 lint stubs for functions which ports use assembly versions. When using
an assembly version of a function, add the right lint stub to the Makefile.inc
which specifies the source to build the function (see the
arch/i386/*/Makefile.inc).  Can't just lint the normal C versions of these
functions, because some of them don't _have_ normal C versions and if
that were done dependencies would get messed up.
1997-11-06 00:50:36 +00:00
mark 286f2f07bb Keep a global soft copy of the cpu control register in cpuctrl as some
processors have write only control registers.
1997-11-06 00:43:41 +00:00
thorpej e22396f499 Clean up the messages displayed when either platform support is not
configured into the kernel, or when the platform is not supported.
Use the defopt'ed options, rather than NDEC_... and remove the needs-flag
hack that's existed for a while.
1997-11-06 00:41:45 +00:00
mark 426af505f2 In cpufunc_control() only write to the cpu control register if the new
value is different from the old one.
1997-11-06 00:35:41 +00:00
lukem 699d49fc00 don't ignore blank lines after a continuation backslash 1997-11-06 00:27:58 +00:00
lukem 52e679a138 fix so syslog works after chroot, by adding LOG_NDELAY to openlog.
from Andreas Wrede <andreas@planix.com>, [bin/4429]
1997-11-06 00:08:02 +00:00
cgd 435c105d59 lint stubs for assembly routines. 1997-11-05 23:37:06 +00:00
phil 483e07a88c - add TODO file for developer communication
- add user notification/response for errors during tar extraction
- twiddle ask_ynquestion()
1997-11-05 23:32:44 +00:00
cgd 4d7e773266 A foolish consistency... gen, net, and string all get MD sources
specified by including a Makefile.inc from the appropriate MD directory.
stdlib doesn't do that, but there's no reason that it shouldn't (and
it'd be nice to eliminate the 'if's from the MI stdlib Makefile.inc).
1997-11-05 22:59:37 +00:00
phil 99df3ac6f2 Add sysinst as an option in the start menu. 1997-11-05 22:58:22 +00:00
mhitch f36de6c906 Use getrawpartition() rather than a constant when creating the new fstab. 1997-11-05 22:49:06 +00:00
mhitch 174cd0f5ef Add an option to install or upgrade from a local disk filesystem. Upgrade
still needs an option to specify the distribution sets from a filesystem
present in fstab.
Add "ados" to the list file recognized filesystems.
Increase label information table size to 16 to allow for 16 partitions.
1997-11-05 22:45:53 +00:00
cgd 0f191bd9d2 remove these, they are no longer necessary or appropriate 1997-11-05 22:33:28 +00:00
bouyer f7c6e141e6 Various bug fixes for atapi part:
- clean up debug code
- Don't check ATAPI signature when probing ATA drives, ATAPI devices were
  detected before
- Reset controller after disks probes. The probe, with some combinations of
  ATA/ATAPI device keep it in a mostly working, but strange state (with busy
  led on)
- The WDCF_IRQ_WAIT flag is now cleared by wdc_ata_intr and wdc_atapi_intr
  when appropriate (helps recover from failure conditions)
- In wdcunwedge, send ATAPI_SOFT_RESET to non-ata drives
  (helps recover from failure conditions)
- in wdctimeout be a bit more verbose when we missed an interrupt
- Always Increment xfer->c_skip where it should be
- Set the ITSDONE flag when a polled command completed.
1997-11-05 22:19:07 +00:00
scottr 0b1a63b86b When deciding which md set lists to use, prefer $MACHINE over
uname -m
1997-11-05 22:08:22 +00:00
bouyer 5e5babfbdc Add a quirk for a sanyo CD (From OpenBSD). 1997-11-05 22:02:41 +00:00
thorpej 8fc6835062 The bus width probe doesn't always work properly, producing a false positive
for 12-bit addresses.  This causes PCMCIA cards mapped at 0x400 and higher
to not function properly.  However, the range 0x300-0x3ff causes some
laptops (e.g. the NEC Versa 6030X) to hang if cards are mapped there.

So, after some experimentation, we compromise.  If the probe discovers
a 12-bit address bus, don't trust it.  Instead, use the range 0x330-0x3ff.
This has been shown to work on the laptops that the 0x300-0x3ff range is
known to fail on.
1997-11-05 21:41:36 +00:00
cgd 446696d688 include sys/types.h rather than sys/param.h+sys/systm.h 1997-11-05 21:40:21 +00:00
cgd 7ff54a795e lint 1997-11-05 21:37:27 +00:00
cgd 8f3adb03e9 lint (void returns from mem* in userland versions of FD_{COPY,ZERO}) 1997-11-05 21:32:02 +00:00
cgd 1c9d9590f6 lint 1997-11-05 21:29:29 +00:00
cgd bad15fd37f lint 1997-11-05 21:17:14 +00:00
perry 16de89f71a small (1.2M) bootfloppy Makefile 1997-11-05 19:46:37 +00:00
thorpej 204a7b293b Sync ISA network device section with INSTALL. 1997-11-05 19:24:27 +00:00
fair f97bb69df7 grammatical errors fix from PR#4409 1997-11-05 18:46:07 +00:00
thorpej 51460546c8 Add sm0 at isa? port 0x300 irq 10 1997-11-05 18:13:10 +00:00
kleink 65d2bd9046 Per XPG4, the symbolic values for mode_t must be visible after the inclusion
of <fcntl.h>; since all symbols from <sys/stat.h> may be made visible by
including <fcntl.h>, just #include <sys/stat.h>.
1997-11-05 15:44:17 +00:00
kleink 3780e6aa5d Per 1003.2, the (builtin) read utility shall treat the backslash as an
escape character (including line continuation), unless the `-r' option
is specified:
* adopt to this behaviour, add the `-r' option to disable it;
* remove the `-e' option, which was previously necessary to get this behaviour.
1997-11-05 14:05:28 +00:00
lukem ad5a9cf050 document non-zero exit status if -m fails 1997-11-05 13:36:31 +00:00
agc d8ac6639ac Let make do the work:
+ set MAKE_PROGRAM variable in bsd.port.mk to either ${GMAKE} or
${MAKE}, and use it in do-build and do-install targets

+ if X11 package, and man pages are installed, add install.man to
${INSTALL_TARGET}, rather than using a separate command to do this.

Also added CATn= blah.0, similar to MANn= blah.1, which installs
pre-formatted man pages, like the ones imake produces.
1997-11-05 13:36:30 +00:00