Commit Graph

20042 Commits

Author SHA1 Message Date
cgd
8f3adb03e9 lint (void returns from mem* in userland versions of FD_{COPY,ZERO}) 1997-11-05 21:32:02 +00:00
thorpej
204a7b293b Sync ISA network device section with INSTALL. 1997-11-05 19:24:27 +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
ender
e38a307461 Recognize Apple Standard Keyboard (ISO layout) 1997-11-05 08:21:47 +00:00
thorpej
1713a9fb07 is790 u_char -> int. 1997-11-05 07:15:42 +00:00
thorpej
6568739901 Add an ISA front-end to the SMC91cxx Ethernet driver ("sm"). This
supports generic SMC91cxx-based ISA cards and the built-in SMC
Ethernet found in some laptop docking stations.

Thanks much to Andrew Gillham <gillhaa@ghost.whirlpool.com> for
making this work!
1997-11-05 06:06:07 +00:00
mycroft
224cfc2d71 Fix spacing of `not connected' message. 1997-11-05 05:45:00 +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
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
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
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
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
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
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
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
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
briggs
e19ba716d0 remove an obsolete comment. 1997-11-04 04:00:18 +00:00
briggs
81a98183d1 Puma will soon be looking a bit different. 1997-11-04 03:56:09 +00:00
briggs
e658b8b476 Add in the if_mc ethernet driver for the AMD "MACE" part. This is the
internal ethernet on the Quadra/Centris 660av/840av.
Add initial support for the PSC (DMA controller) to support the above
(DMA SCSI remains unsupported).  This involved also changing the way
that several interrupts are handled.
Above from David Huang <khym@bga.com>
Since the interrupts changed somewhat, we must also make the ipls
dynamic, defaulting to their prior levels and adjusted for the AVs.
I modelled this on the hp300.
1997-11-04 03:44:42 +00:00
thorpej
15339d7ea8 Make pmap_{,de}activate() take a pointer to a proc. 1997-11-04 01:37:01 +00:00
gwr
ea35849dac More efficient implementations of:
pmap_protect_noctx()
pmap_remove_noctx()
1997-11-03 22:47:10 +00:00
pk
1abecf9a70 Deal with svr4_ulimit() return values in the same way as in
compat_43_sys_setrlimit(). (takes care of PR#4418)

Also in svr4_ulimit(): return EINVAL for unknown commands, instead of ENOSYS.
1997-11-03 22:03:31 +00:00
gwr
81ed96b224 More reordering 1997-11-03 21:55:39 +00:00
thorpej
4436625795 Delete "ed" driver, add "we". 1997-11-03 21:33:33 +00:00
pk
78ccc57a52 Fix test for NULL arg in svr4_utime() (PR#4418). 1997-11-03 21:33:07 +00:00