pk
a05df4e228
* finish off support for the 82077 chip as found on sun4m machines.
...
* add non-dma mode bit to `specify command', so formatting disks starts
working (thanks to Jeremy Cooper for finding out about this).
1997-05-02 13:03:44 +00:00
pk
3e9d89dcd0
Switch to copy of file in /sys/dev/ic.
1997-05-02 08:30:42 +00:00
jeremy
e5380025ac
Now in dev/ic.
1997-05-02 06:31:16 +00:00
jeremy
3aa6ce0369
Moved from arch/sun3/sun3 and changed according to implied references
...
in recent commits to sun3/clock.c and sun3x/clock.c by Gordon Ross.
1997-05-02 06:15:28 +00:00
thorpej
a3c7a8f71a
Deal with an alignment problem on the Alpha port. The maximum required
...
alignment of any field in a struct sockaddr is 1, since all members are
chars or char arrays (as noted by Ross Harvey on port-alpha). This causes
the possibility of unaligned access faults when a sockaddr is cast to
e.g. a sockaddr_in. Solution: explicitly direct the compiler to
longword-align the start of a struct sockaddr.
1997-05-02 01:01:43 +00:00
briggs
1b2e317732
Thanks to Tobias Beal <tbeal41@maine.maine.edu>, we can clear interrupts
...
on at least one Radius Precisioncolor 8 board.
1997-05-02 00:54:28 +00:00
christos
964a864dac
Bring back to life struct frmrinfo and llc_frmrinfo; these are used in netccitt
1997-05-01 23:07:13 +00:00
gwr
7a80e420ed
Remove unused part of sun3_kcore_hdr.
1997-05-01 22:48:09 +00:00
pk
31b943b8ac
Preliminary support for ESP406 and FAS408 variants (from Eric Hvodza; PR#3559)
1997-05-01 22:16:24 +00:00
marc
8f6ec1a681
wds_find has the sense of its return value backwards (0 vs 1). This
...
caused the probe to succeed when there was no device present.
1997-05-01 20:10:57 +00:00
briggs
aba671db48
Treat drhw 118 and 119 the same for Apple ethernet cards.
1997-05-01 18:17:13 +00:00
thorpej
766d429d62
Correct a comment long since outdated.
1997-05-01 16:24:26 +00:00
gwr
24af362f60
Implement pmap_pa_exists() so that /dev/mem works.
...
This was the reason ps (kvm_getargs) did not work.
1997-05-01 15:00:11 +00:00
gwr
b9a0ca59bb
oops...
1997-05-01 14:58:20 +00:00
gwr
887d5be03e
Forgot to import this. (Thanks, der Mouse)
1997-05-01 14:57:17 +00:00
christos
9dfe73a161
PR/3462: William Studenmund: sizeof(struct llc) returns 10 on m68k instead
...
of 8. Since structure padding on the m68k is 16 and on the arm is 32, we
rearrange the frmrinfo portion of the union not to contain a second structure.
1997-05-01 14:42:24 +00:00
kleink
269ccaa71b
Fix typo in last commit; from Thorsten Frueauf <frueauf@ira.uka.de>
...
in PR/3566.
1997-05-01 12:27:10 +00:00
cjs
4072012b2b
Ep driver on ISA bus is no longer untested. Also optimistically
...
removed the `untested' designation from the EISA-bus version, since
there's no reason at all why it won't work.
1997-05-01 07:11:11 +00:00
thorpej
989ed431e1
Oops, the numbers for "t" and "s" got swapped around. No functional
...
difference, just correct now.
1997-05-01 05:26:48 +00:00
briggs
a64bc3c19c
Clear the interrupts properly on an E-Machines Futura II LX and make a wild
...
guess at clearing them on a Futura II SX/DSP and RasterOps ColorBoard 364.
Thanks to Michel Chalufour <michelc@tiac.net> for loaning me the II LX.
1997-05-01 03:34:07 +00:00
briggs
ef185efb22
Add in a couple more board types.
1997-05-01 03:31:07 +00:00
gwr
5e11440dae
Fix printf format vs. arg type warnings (in DEBUG sections).
1997-04-30 23:28:03 +00:00
scottr
19f1b8dd3f
Remove dependency on if_aereg.h for vendor constants; these are really
...
driver-, not architecture-specific.
1997-04-30 19:47:11 +00:00
scottr
b28e1b9459
Fix typo in last change.
1997-04-30 19:32:32 +00:00
kleink
29c5707479
* Make chown()/fchown() use a piece of common code to set ownership.
...
* Setting the ownership of a file now implies clearing its set-{group,user}-id
bits.
1997-04-30 19:29:43 +00:00
scottr
cd3abdf098
Fix typo in last change.
1997-04-30 19:16:23 +00:00
scottr
4a36cdfd19
Adjust to use16bit -> dcr_reg change in MI driver.
1997-04-30 18:10:37 +00:00
scottr
c0d7fd03ae
Remove the use16bit softc field, replacing the functionality with dcr_reg.
...
This allows the front end to override the default DCR (byte-wide DMA,
x86 byte order, 8-byte FIFO) with different transfer size, byte order, DMA
parameters, and FIFO threshhold. If the loopback select bit is not set for
normal operation, the default is used instead.
Inspired by thoughts from Bernd Ernesti.
1997-04-30 18:09:14 +00:00
mycroft
19c4f04eeb
Sync with GENERIC, and nuke procfs and kernfs.
1997-04-30 06:06:02 +00:00
augustss
2fb1d088c5
XXX Pretend that all SB cards are of model 1.
...
XXX This way you can at least use SB cards until the real fixes go in.
1997-04-30 02:08:12 +00:00
thorpej
60ad2f6582
Use the md5 implementation in libkern, not our own.
1997-04-30 00:54:34 +00:00
thorpej
13f5393c88
Build md5c.c
1997-04-30 00:53:38 +00:00
thorpej
f2afed0bb1
Add the libc md5 implementation to libkern.
1997-04-30 00:53:02 +00:00
thorpej
305210fdb3
Don't provide userland-only prototypes to the kernel.
1997-04-30 00:50:10 +00:00
thorpej
434fd59c86
Make an <md5.h> -> <sys/md5.h> symlink.
1997-04-30 00:49:09 +00:00
thorpej
108c42305c
- Move md5.h to <sys/md5.h> so that it may be included by the kernel.
...
- Liberal application of suggestions in /usr/share/misc/style.
- Protect function prototypes with __BEGIN_DECLS/__END_DECLS
1997-04-30 00:47:30 +00:00
augustss
526ef2f618
Change the interface between the high and low level audio drivers
...
so that all audio encoding parameters are set at once. This simplifies
the interface and make error checking easier.
1997-04-29 21:01:33 +00:00
christos
fd4644d9e8
Increase the receive space to improve write performance. From Bill Studenmund
1997-04-29 13:44:47 +00:00
scottr
0852aa1f1a
Use the new 8390 driver back end.
1997-04-29 05:17:13 +00:00
scottr
187f2e6235
Add the dp8390 driver back end/attribute.
1997-04-29 05:11:32 +00:00
scottr
63ac9ee6e0
Use the new MI 8390 driver, and garbage collect.
1997-04-29 04:40:22 +00:00
scottr
ad24724cbc
Machine-independent driver for DP8390/WD83C690-based Ethernet controller.
...
Derived from the ISA if_ed driver and the mac68k if_ae driver.
1997-04-29 04:32:07 +00:00
jonathan
d6611ebcef
* Add fixes for possibly-uninitialized variables from rev 1.11.
...
(The operator-precdence changes in 1.11 were pulled up in rev 1.14).
* If the chip asserts a SCSI-bus error (SII_BER) in sii_intr,
reset the SII_BER bit instead of ignoring it.
XXX SII_BER May need checking and resetting elsewhere.
1997-04-29 01:58:38 +00:00
gwr
42f8cf900b
Use unsigned when doing copy/xor check.
1997-04-28 23:43:56 +00:00
gwr
cb96a536e4
Add a comment about obio_mapin().
1997-04-28 23:38:47 +00:00
gwr
1046c915b6
Drivers that use obio_mapin should enforce OBIO attachment
...
(just to be paranoid).
1997-04-28 23:30:19 +00:00
gwr
304d49b554
include <machine/leds.h>
1997-04-28 23:21:01 +00:00
gwr
712f2e8d93
Moved leds_* declarations into leds.h
1997-04-28 23:19:39 +00:00
gwr
589bdf49d5
si_intr: if our CSR indicates an interrupt, return 1.
1997-04-28 22:10:41 +00:00
gwr
445e244536
Do console initialization earlier (see obio_init).
...
Document initialization order dependencies.
1997-04-28 22:08:36 +00:00
gwr
2e1c5c36ad
Be quiet in _save_symtab() unless there is a problem.
...
Improve some comments (and sync with sun3x code).
1997-04-28 22:06:20 +00:00
gwr
2223431f0a
No longer needs an early init call (just normal autoconfig).
...
Only animate the LEDs when we were idle (like SunOS).
1997-04-28 22:04:29 +00:00
gwr
df35245ac0
Fix a bug where OBIO locators were not presented to the children.
...
Rename obio_alloc to obio_mapin; add comments, etc. (like sun3x)
1997-04-28 22:02:43 +00:00
gwr
388bf0e0e0
Rename obio_alloc/obio_mapin and check for obio in match functions
...
for attachments that will use obio_mapin.
1997-04-28 21:59:19 +00:00
gwr
a5efc65699
Sync. up with the sun3x version.
1997-04-28 21:55:59 +00:00
gwr
479d3fa66d
No longer needs an early init call (just normal autoconfig).
1997-04-28 21:51:49 +00:00
gwr
3c841dcb79
Export the symbol _Idle for clock.c (and fix some comments).
1997-04-28 21:49:38 +00:00
gwr
dcd4fae823
Use AUTOVEC_BASE instead of 0x18.
1997-04-28 21:48:25 +00:00
gwr
46cd1d0fec
Add a kernel declarations section.
1997-04-28 21:47:10 +00:00
gwr
52e455e8ba
Fix declaration of get_control_byte().
1997-04-28 21:46:31 +00:00
gwr
236a126750
Declare peek_long().
1997-04-28 21:45:47 +00:00
gwr
a0d8cf3b65
Kill an obsolete comment.
1997-04-28 21:44:53 +00:00
scottr
c69d32662f
From Mycroft: Oops; forgot to GC the last mbuf allocated when
...
out of clusters.
1997-04-28 20:31:16 +00:00
mycroft
df082e3c8d
A handle of 0 means the open failed...
1997-04-28 18:46:15 +00:00
mycroft
37cb09ba66
DTRT if OF_read() returns 0 when no data is available.
1997-04-28 18:33:57 +00:00
mycroft
d8615e4fb9
Oops; forgot to GC the last mbuf allocated when out of clusters.
...
Also, DTRT if OF_read() returns 0 when no data is available..
1997-04-28 18:32:58 +00:00
mycroft
bc66bb3e6e
Oops; forgot to GC the last mbuf allocated when out of clusters.
...
Also, remove the internal mbuf queue, which is not needed by this driver.
1997-04-28 18:30:20 +00:00
mycroft
103c7d360d
Oops; forgot to GC the last mbuf allocated when out of clusters.
1997-04-28 17:03:58 +00:00
scottr
70dcf0b5f6
Undo a hack added in the last overhaul (which caused an extraneous byte
...
to be written to the target). Also, use the sc_min_dma_len field
to determine whether to use PDMA or PIO.
1997-04-28 15:59:20 +00:00
mjacob
b3192632db
On alpha, sizeof (long) != sizeof (int) and sizeof (int) != sizeof (ptr_t)
1997-04-28 15:52:44 +00:00
mjacob
ac6fbba3ac
On alpha size_t is not an int, ergo last argument to dma setup glue
...
function can't be a pointer to an int.
1997-04-28 15:43:47 +00:00
mycroft
2b65c6c346
Delay turning off P_TRACED until the process is actually waited on. It can't
...
have any signals delivered while exiting, so this should be okay. Change the
test for a traced process in wait4() to exclude a process that was started by
the debugger; in this case, only one SIGCHLD should be delivered.
1997-04-28 13:17:05 +00:00
mycroft
701f15db33
Reinstate P_FSTRACE, with different semantics:
...
* Never send a SIGCHLD to the parent if P_FSTRACE is set.
* Do not permit mixing ptrace(2) and procfs; only permit using the one that
was attached.
1997-04-28 04:49:27 +00:00
mycroft
8a33a13c65
Minor code cleanup.
1997-04-28 03:49:57 +00:00
mycroft
43a0dc8b74
Remove remnants of P_FSTRACE, which is no longer used.
1997-04-28 02:51:41 +00:00
mycroft
ead5e1a6f7
When stopping a process being traced through procfs, wake up the *parent* (in
...
case it happens to be doing a WAIT.
1997-04-28 02:36:05 +00:00
mycroft
e725c03060
When checking for init, compare against initproc, rather than comparing the
...
PID. No functional difference.
1997-04-28 02:29:52 +00:00
mycroft
217c4e14ea
Fix several deficiencies, as compared to ptrace(2):
...
* Did not check for P_SUGID on ATTACH.
* Did not check for tracing of init on ATTACH.
* Did not turn off single-step mode on RUN or DETACH.
* Might have screwed up reparenting in some cases.
* Allowed anyone to detach the process.
1997-04-28 02:28:39 +00:00
pk
547d95a029
Remove esp FLUSH when residual bytes are present in FIFO, the ncr53c9x
...
driver will flush when necessary. Doing the FLUSH here interferes
with DMA-enabled target selection.
1997-04-27 22:12:40 +00:00
pk
94eaf1bb04
Implement target selection using DMA.
...
To allow a period of testing the variable `ncr53c9x_dmaselect' is used to
enable this feature (default is 0, i.e. the old behaviour).
1997-04-27 22:08:51 +00:00
thorpej
70ce55d5d7
Update for changes in machine-dependent COMPAT_HPUX code.
1997-04-27 21:40:47 +00:00
thorpej
97a6c32e58
Garbage-collect a bunch of _very_ hp300-specific code, most of which
...
doesn't work anyhow (due to current and future fundamental differences
between NetBSD and HP-UX device semantics). This can probably be shared
with other m68k ports now.
1997-04-27 21:38:57 +00:00
thorpej
ba0a5d5c58
Bump version: Better SPU detection code
1997-04-27 21:18:31 +00:00
thorpej
8b4cae0516
CPU -> SPU
1997-04-27 21:17:13 +00:00
thorpej
3cb561ed9f
Don't define our own machineid values - pull in <machine/hp300spu.h>
1997-04-27 21:15:14 +00:00
thorpej
fbad957c52
Update getmachineid() for new machineid values.
1997-04-27 21:13:55 +00:00
thorpej
767517edcc
Don't even look for a Domain keyboard if we're not a 400, 425, or 433.
1997-04-27 21:12:43 +00:00
thorpej
5b511796c1
Uniquely identify 345 vs. 375 vs. 400 and 380 vs. 425. Adapted by me from
...
code provided by Mike Smith. While I'm here, convert this file to use
macros from <machine/asm.h> rather than making assumptions about how
C labels are handled.
1997-04-27 21:10:06 +00:00
jonathan
dbf4f7b71f
* Tidy PHY [sic] selection code in epsetmedia().
...
* epinit() had both explicit xcvr selection for 3c589 and a call
to epsetmedia(). The first is redundant; delete it, and EP_COAX_DEFAULT.
* Update comments to reflect 3c589 and 3c509B fixes. Fix typos.
1997-04-27 21:09:56 +00:00
thorpej
cdb54b8d65
Update for new SPU options.
1997-04-27 21:06:29 +00:00
thorpej
b27a863b02
Generate option headers for SPU type options, so that we may generate
...
dependencies on them.
1997-04-27 21:05:49 +00:00
thorpej
772891accd
Use information provided by <machine/hp300spu.h> to determine if we
...
might have a physical address cache.
1997-04-27 21:02:34 +00:00
thorpej
650df29d4d
These files depend on things in <machine/hp300spu.h>
1997-04-27 20:58:55 +00:00
thorpej
18a931000e
Use <machine/hp300spu.h> to determine if we might have a physical address
...
cache.
1997-04-27 20:54:39 +00:00
thorpej
544f501d29
Rewrite identifycpu() to be partially table-driven, and to be more
...
sane in general. Since we can uniquely identify each SPU type
(except for 318/319/330, because there _are_ no differences, really),
require that the appropriate SPU option be configured into the kernel.
1997-04-27 20:53:30 +00:00
thorpej
d62e267a0c
Uniquely identify 345 vs. 375 vs. 400 and 380 vs. 425, useful when
...
looking for hp4xx-only hardware during autoconfiguration. Code
mostly from Mike Smith, with a few changes by me.
1997-04-27 20:50:01 +00:00
thorpej
9d4c5c9106
- Define new machineid and mmuid constants.
...
- Rearrange slightly.
1997-04-27 20:47:23 +00:00
thorpej
fc79829eab
#include <machine/hp300spu.h>
1997-04-27 20:43:37 +00:00
thorpej
80ff0f0f2f
- Move a bunch of hp300 SPU-specific stuff out of cpu.h, and place it
...
in new hp300spu.h file. This includes the code that associates
model number with cpu/mmu/cache combinations.
- Define "mmuid" constants for several models, derived from code
provided by Mike Smith.
1997-04-27 20:37:07 +00:00
thorpej
f5ccce44c8
srt0.s renamed to srt0.S via repository copy Magick - we want this
...
file to be preprocessed before it is assembled.
1997-04-27 20:29:43 +00:00