mycroft
5869b743c7
Rearrange *param() slightly to eliminate a spl.
...
Also fix another comment regarding DTR.
1997-11-02 09:15:41 +00:00
mycroft
76b7dd52df
Add another splserial()/splzs().
1997-11-02 08:55:52 +00:00
mycroft
acd97c6676
Minimize some spl regions slightly.
1997-11-02 08:50:31 +00:00
mycroft
8914537568
If we lose HFC, assert RTS.
1997-11-02 08:29:51 +00:00
mycroft
ec5fd4954e
Set rr0_dcd.
...
Don't set DCD_IE and CTS_IE here; let the MI code do it.
Handle MDMBUF.
1997-11-02 08:05:06 +00:00
mycroft
b000ee5105
Set the state of DCD_IE and CTS_IE based on what's in rr0_mask.
1997-11-02 08:02:40 +00:00
scottr
c35524f0a1
Fix a serious problem in dp8390_write_mbuf(), noticed by Jason Thorpe:
...
after we've written out the contents of the mbuf, increment the transmit
buffer offset by m->m_len.
1997-11-02 06:18:27 +00:00
thorpej
892b0c409e
Fix a slight brain lapse.
1997-11-02 05:17:32 +00:00
gwr
395f27b052
Give the kernel pmap a soft copy of its segmap (like user pmaps)
...
so we can optimize away calls where pm_segmap[x] == SEGINV.
1997-11-02 05:16:25 +00:00
gwr
0270c30b3d
Change some debug prints to db_printf(), other minor stuff.
1997-11-02 03:19:18 +00:00
thorpej
540caf5a8f
Add "ec" driver.
1997-11-02 01:02:23 +00:00
thorpej
2497f4a8da
Garbage-collect the 3Com 3c503 support from the "ed" driver. The ISA "ec"
...
driver now handles the 3c503.
1997-11-02 00:57:24 +00:00
thorpej
a945a24322
Front-end to the dp8390 chip driver for the 3Com 3c503 Ethernet interface.
...
Supports changing media with ifconfig's "media" directive.
This splits the 3c503 functionality out of the ISA "ed" driver, much the
same way NE2000 support was split out.
1997-11-02 00:44:25 +00:00
thorpej
7438e6c882
Adjust for ifmedia-related changes to dp8390 driver.
1997-11-02 00:25:11 +00:00
thorpej
18636a8934
Add ifmedia support via callbacks to the front-end.
1997-11-02 00:23:54 +00:00
gwr
56008e767b
Clean up spl* handling a bit (move some spl* calls up a level,
...
and have the callee do a CHECK_SPL for debugging).
Get rid of some private TAILQ_* macros.
some cosmetic stuff.
1997-11-01 23:56:25 +00:00
pk
f00f5d9428
Start an MI VMEbus framework.
...
Includes two sample drivers: IE ethernet driver (VME front-end to
dev/ic/i82586.c) and the XD disk driver, both converted from the
sparc versions.
1997-11-01 22:56:19 +00:00
scottr
59498b56f8
From i386: initialize nfs_boot_rfc951 if either NFS_BOOT_BOOTP or
...
NFS_BOOT_DHCP are defined.
1997-11-01 21:11:07 +00:00
mycroft
74df2cee60
Correct a comment regarding our behaviour with DTR.
1997-11-01 20:40:36 +00:00
mycroft
d0df1f96f4
Add additional splserial()s in comopen() and comclose(). These are not
...
necessary on the i386 port, but may be on others.
1997-11-01 20:31:57 +00:00
mycroft
8475e6c0ba
Fix minor omission; write back reg 1 earlier in zsopen().
1997-11-01 20:23:50 +00:00
mycroft
386d55a1ca
Need some additional splzs() in zsopen(), and nuke one that's no longer
...
needed.
1997-11-01 20:15:10 +00:00
scw
d0d3cc7965
Remove paragraph describing problem with initialising VMEbus RAM cards'
...
parity bits. Initialisation now handled during kernel startup.
1997-11-01 19:18:39 +00:00
mycroft
8ffb1f6b84
Nuke the special case of heldchange for reg 5. We don't use it for flow
...
control any more, and the speed of changing DTR isn't really an issue. Also,
the old code created a bug where zsparam() might have failed to set some
registers.
1997-11-01 18:15:12 +00:00
mycroft
75dc31c41d
Yet more changes imported from com driver:
...
Change the interface to zs_hwiflow(); just have it use zst_rx_blocked.
Make zs_modem() a tiny bit faster.
Do RTS updates immediately; do not allow them to be held.
1997-11-01 17:57:14 +00:00
scw
cb8172bce4
Chnage MACHINE_NONCONTIG implementation such that the message buffer is
...
always located at the end of onboard RAM. This allows locore.s to zero
any offboard RAM to initialise the parity bit which most VMEbus RAM cards
have. Without this, many cards buserr on the first read access.
Thanks to Herb Peyerl for the idea.
1997-11-01 17:56:47 +00:00
mycroft
eb0f6686d2
Make zst_tba a u_char *.
1997-11-01 17:12:54 +00:00
mycroft
4377152a4b
More changes taken from com driver:
...
Stop output as fast as possible when DCD is deasserted.
Do *not* automatically drop DTR when DCD is deasserted.
Only check for rr0 bits that we care about (DTR and DCD).
1997-11-01 17:09:06 +00:00
mycroft
deb1d9f40a
GC some unused bits.
...
Also, part of the previous was copied from the com driver, so DTRT.
1997-11-01 15:59:26 +00:00
mycroft
8008239563
Rearrange open sequence to make sure we catch all line status changes.
...
Make sure we turn on DTR and/or RTS as appropriate during open.
Rearrange close sequence so the tty is flushed before turning off interrupts.
Deal with `softcar' and the console device by silently asserting CLOCAL and
|HUPCL, as in com driver.
Do *not* fiddle with DTR when changing the line speed.
Make sure we update the tty's carrier status when CLOCAL or MDMBUF is changed.
Only change rr1 when we actually need to turn on or off TIE.
1997-11-01 15:51:23 +00:00
lukem
3e8e744696
getopt returns -1 not EOF
1997-11-01 06:49:14 +00:00
jonathan
ba6431afae
Incorporate a 4.4BSD-Lite workaround for a bug in cache invalidation.
...
From /sys/news3400/news3400/locore.s, with id
@(#)locore.s 8.3 (Berkeley) 9/23/93
Kazumasa Utashiro notes that the pmax cacheflush routines don't work:
#ifndef NOTDEF /* I don't know why Ralph's code doesn't work. KU:XXX */
It's because pmax hardware wries the COP0 bit to external branch
logic. news3400s don't, and so the bc0f loop fails. It will also
fail on some other models of pmax, but we dont' support them.
Surround the relevant framgents in locore_r200.S with "#ifdef pmax".
Longer-term, the cacheflush entry in the locore callback may have
to be a CPU baseboard-specific entry, not just CPU-version specific.
1997-11-01 06:34:07 +00:00
pk
97128ca91e
Header magic is now done in stand/boot/Makefile.
1997-10-31 22:12:21 +00:00
pk
b5d7e8f444
Install a version of the secondary boot block in /usr/mdec that is
...
suitable for use on a server for diskless booting. Done mostly to
simplify the installation notes and avoid questions ...
1997-10-31 22:05:17 +00:00
gwr
4dcb8c7d34
More movement.
1997-10-31 19:52:09 +00:00
drochner
bdf1b13477
-Don't try to parse the bootfile path in DOS mode.
...
-Take "dev" command from "biosboot" for consistency.
1997-10-31 18:50:09 +00:00
bouyer
ce0da80741
Add NOCAPACITY quirk entry for MATSHITA CR-574, rev 1.02.
1997-10-31 09:11:06 +00:00
mycroft
9870971b35
Format police.
1997-10-31 07:59:52 +00:00
jonathan
7fb01f01ae
Print TC bus speed properly when attaching device, since the SCSI
...
clock is taken (and computed) from the TC bus clock. See PR 4380.
1997-10-31 06:29:59 +00:00
gwr
f503ff3765
Move things aroun a little (group by purpose, etc.)
1997-10-31 03:04:42 +00:00
gwr
011d063b25
Get rid of the messages: "arp: zero IP addr from ..."
...
If one really wants to know about those confused PCs
trying to use IP address zero, they can use tcpdump.
1997-10-31 02:54:08 +00:00
enami
4589c896eb
Conditionalize the recognition of symbolic link permission by
...
per fs mount option `symperm'.
1997-10-30 22:47:06 +00:00
gwr
eca45d868a
Replace PMAP_LOCK/PMAP_UNLOCK with splimp/splx
1997-10-30 20:14:45 +00:00
mrg
60c28e1f95
sigh. merge ipfilter 3.2 onto the trunk. merge to the branch was a mistake.
1997-10-30 16:08:54 +00:00
mrg
3f0ebb2220
sigh. merge ipfilter 3.2 onto the trunk. merge to the branch was a mistake.
1997-10-30 15:39:56 +00:00
mycroft
d24c4d31e1
Make the curproc link executable.
1997-10-30 09:14:07 +00:00
jonathan
84dcba44e2
Add missing `(void)' cast to big-endian variant of {NTOH,HTON}{L,S}().
1997-10-30 09:07:50 +00:00
mrg
44c002beb1
import ip-filter 3.2
1997-10-30 05:27:24 +00:00
gwr
328968b54e
Print out the real/avail memory like this:
...
real mem = 8192K (0x800000)
avail mem = 6392K (0x63e000)
1997-10-30 01:02:53 +00:00
gwr
ad4db27bc3
Move some variables from _startup.c into pmap.c (used only there).
...
Re-organize pmap_bootstrap, and shorten some function names.
1997-10-30 00:59:40 +00:00