Commit Graph

34435 Commits

Author SHA1 Message Date
mycroft 224cfc2d71 Fix spacing of `not connected' message. 1997-11-05 05:45:00 +00:00
thorpej 42b5acd98e Fix .c.ln rule: use CPPFLAGS, not CFLAGS. 1997-11-05 05:34:24 +00:00
thorpej 0b04d28454 Mark uses of long long with /* LONGLONG */ for lint. From
Chris Demetriou <cgd@pa.dec.com>.
1997-11-05 04:36:08 +00:00
thorpej 4942b96bf8 Don't provide a prototype for ether_hostton() if __NetBSD__. 1997-11-05 04:28:29 +00:00
thorpej cc1f5b65c9 asm -> __asm__ 1997-11-05 04:23:35 +00:00
thorpej aefc208b70 asm -> __asm__, volatile -> __volatile 1997-11-05 04:19:04 +00:00
thorpej c7546c77a5 asm -> __asm__, inline -> __inline 1997-11-05 04:16:06 +00:00
thorpej 53a8f81b2f inline -> __inline 1997-11-05 04:13:24 +00:00
thorpej 6e1637f157 asm volatile -> __asm__ __volatile 1997-11-05 04:05:00 +00:00
thorpej a15938129d asm -> __asm__ 1997-11-05 04:02:26 +00:00
thorpej b868a7c2ab asm -> __asm__, volatile -> __volatile 1997-11-05 03:57:52 +00:00
thorpej 023d8288ee asm -> __asm__ 1997-11-05 03:53:20 +00:00
perry da801e20c2 Change default bootfloppy to 1.44M, and add a 1.2M "small" bootfloppy. 1997-11-05 03:39:51 +00:00
briggs fde9e5e6c3 A first cut at faster SCSI for non-AV quadras. Could probably perform better,
but is a marked improvement.  This takes advantage of a pseudo-DMA hardware
hack of Apple's that exposes a 16-bit register that the Apple-designed
memory controller acts like a DMA controller and handshakes into or out
of the FIFO.  Wierd.
1997-11-05 03:33:35 +00:00
briggs 6683847f3b For the LC575/Q630 (comm-slot machines), try to derive the card settings.
Unfortunately, there does not seem to be a good way to determine what
variety of comm-slot card is present in a machine.  There is still an
interrupt issue preventing these cards from working--hopefully that will
be ironed out shortly.
1997-11-05 03:27:29 +00:00
perry ba2ee23103 Small installation kernel for older machines; fits on 1.2M floppy but
doesn't support PCI or PCMCIA.
1997-11-05 03:25:52 +00:00
briggs 138956b074 For level 4 (serial) interrupts: If the handler returns 0, take the
normal rei course.  If the handler returns non-zero, just rte.
This should allow better MACE response-time and still keep serial
interrupt overhead to a minimum on older, slower machines.
1997-11-05 03:23:20 +00:00
briggs 9daaf978aa Check for machine class, not for PSCBase as initial check in mc_obio_match(). 1997-11-05 01:56:27 +00:00
phil 443efc08d3 Complete -r flag addition, info was static, now path names are runtime
constructed so -r flag makes a diffference in the distribution directory.
1997-11-05 01:23:06 +00:00
thorpej 2a6efb2e3e Define ___CONCAT() and ___STRING() before including <machine/cdefs.h>
so that the appropriate CPP evil takes place.
1997-11-05 00:50:29 +00:00
thorpej ffa392cb7e asm volatile -> __asm__ __volatile 1997-11-05 00:38:37 +00:00
thorpej fdcd077928 asm -> __asm__ 1997-11-05 00:34:15 +00:00
gwr 7a33a8aaef Silence collisions 1997-11-05 00:02:51 +00:00
thorpej 2a43f22095 __warn_references and __indr_reference semicolon fixups. From
Chris Demetriou <cgd@pa.dec.com>.
1997-11-04 23:52:05 +00:00
thorpej 42066a4aa4 Fix __RENAME quoting lossage (don't pass it a quoted string). From
Chris Demetriou <cgd@pa.dec.com>.
1997-11-04 23:36:19 +00:00
thorpej a119d347a5 Fix __RENAME quoting lossage (don't pass it a quoted string). From
Chris Demetriou <cgd@pa.dec.com>.
1997-11-04 23:25:02 +00:00
thorpej a3c568f9db - define ___STRING() and ___CONCAT() macros which invoke
their double-underscore counterparts (cpp evil).
- define __RENAME() to do what lint expects, so that
  renamed functions are handled properly.

From Chris Demetriou <cgd@pa.dec.com>.
1997-11-04 23:22:40 +00:00
thorpej 4730a8cbec Bug fixes and cleanup from Chris Demetriou <cgd@pa.dec.com>:
- fix _C_LABEL so that it actually works.
- make __RENAME use _C_LABEL.
- fix __RENAME so that it expects an unquoted argument.
- fix __indr_reference and __warn_references so that they
  supply their own final semicolon.
- define __warn_references to nothing if not GNU C (required
  by the way it's used).

The __warn_references semicolon change has to be made
so that __warn_references can be defined into nothing.
(A ; all by itself isn't a great idea.)  The __indr_reference
change was made for consistency.
1997-11-04 23:09:23 +00:00
ragge 8f6ac836dd Move some interrupt routines out to assembler.
Optimize (slightly) pmap_clear_modify.
1997-11-04 22:59:20 +00:00
gwr 58ec6c7794 Add u?random (also use the mk function a couple more places). 1997-11-04 22:16:16 +00:00
thorpej e51d1d566c Regen - syscalls.master changed. 1997-11-04 21:26:18 +00:00
thorpej 97d2a58201 Fix slight argument bogosity with getgroups(), setgroups(), select(),
and swapctl().  For the former three, they use an 'int' in their user-land
prototype which was a 'u_int' in the kernel, which screwed up automatic
generation/checking of lint syscall stubs.  For the latter, the user-land
prototype uses a "const char *", but the syscall just used "char *".

From Chris Demetriou <cgd@pa.dec.com>.
1997-11-04 21:24:14 +00:00
gwr 5e82d82867 Pass down the values of: AR NM RANLIB
(Fixes PR#4426 from SAITOH Masanobu)
Also pass down LORDER TSORT.
1997-11-04 21:18:24 +00:00
gwr 5c8e26aed2 Move definitions of: NM, LORDER, TSORT from bsd.sys.mk to sys.mk
so they are more easly used by things like sys/libkern/Makefile.inc
(Besides, all the other tool definitions are in sys.mk)
1997-11-04 21:12:41 +00:00
thorpej 3cac099fca Don't do function CSE; it tickles a bizarre bug in other parts of the
toolchain.

This is only a temporary work-around until we either fix the other toolchain
bug or switch to a different toolchain.
1997-11-04 20:59:11 +00:00
ragge fb4298e98c Optimized copy/fetch/store routines; rewritten in assembler. 1997-11-04 20:52:27 +00:00
gwr d68fdf7187 Oops... That was meant for the head. 1997-11-04 20:45:22 +00:00
gwr 0919e2346b Use LORDER, TSORT 1997-11-04 20:33:11 +00:00
gwr dff2b93f7d Define LORDER, TSORT 1997-11-04 20:31:56 +00:00
is eae488f7bb Fix typo, which resulted in always compiling the M68040/M68060-version
of ldexp.
1997-11-04 15:23:23 +00:00
jeremy bb2b303079 Added lkm [PR/4421]. <nathanw@mit.edu> 1997-11-04 15:21:00 +00:00
briggs cb6760281d Raise the number of transmit and receive buffers. 1997-11-04 13:03:48 +00:00
briggs 2ed7cf086f Fix a space-wasting bug found by David Huang in his work on the MACE driver. 1997-11-04 13:02:45 +00:00
lukem 71d53f5fd6 use in-house localhostname instead of gethostname - returns FQDN 1997-11-04 11:43:49 +00:00
lukem 3eff4309d8 ypwhich(1) totally rewritten by Chuck Cranor <chuck@ccrc.wustl.edu>.
fixes various nits in the behaviour of the '-m' option, amongst
other things. update the docco to suit.
1997-11-04 11:36:26 +00:00
lukem 1140eceb13 add { } in the right place; indentation alone isn't sufficient for
if (test1)
		if (test2)
			error()
	else {
		...
	}
this happened when i changed test2 from a void statement to actually
checking its return value.

the effect of this? a YP_MASTER_KEY value wasn't being added to the
generated databases, which was Not Good.
1997-11-04 11:28:46 +00:00
pk 9eb2a49d4b Include copyright statement for the bus_dma implementation added in
the previous revision.
1997-11-04 10:37:37 +00:00
ross 6f6bb84844 Check for null curproc in pmap_changebit. Fixes the IDE-on-alpha crash
problem reported by Chris Csanady <ccsanady@bob.scl.ameslab.gov>.
this
1997-11-04 07:16:25 +00:00
thorpej 03a0c2d900 Implement a simple queueing mechanism that makes these drivers much
more robust in resource shortage situations, basically identical to
code I added to the "ahc" driver some time ago.

Thanks to Brad Spencer for the testing help.
1997-11-04 05:58:22 +00:00
explorer 59a2ae9aed add experimental warning 1997-11-04 05:50:54 +00:00