Commit Graph

74708 Commits

Author SHA1 Message Date
bjh21
4cb97060e6 Use SYSTRAP() everywhere rather than coding SWI instructions directly. 2001-01-09 19:47:27 +00:00
jdolecek
c8093bd336 term_beep(): use ordinary bell, don't attempt to use visual bell - if user wants
visual instead of ordinary bell, they should set their environment
appropriately
2001-01-09 19:43:15 +00:00
garbled
009ea1962a Fix a segfault when the user hits ESC inside the F4 selection box for a
list field.
2001-01-09 19:32:35 +00:00
bjh21
f5fadef6d9 Add some explanatory comments. 2001-01-09 19:30:38 +00:00
jdolecek
7be4ef2ff0 make array of functions and help array const 2001-01-09 19:22:31 +00:00
garbled
f6177aaaba When dropping out to a shell for the user via F9, use $SHELL if it's
available, rather than hardcoding /bin/sh.  Problem noted by itojun on
tech-userlevel
2001-01-09 19:01:57 +00:00
mjacob
442e2e73a9 ISPASYNC_PDB_CHANGED -> ISPASYNC_LOGGED_INOUT. 2001-01-09 18:56:24 +00:00
mjacob
64c3b7f881 Add some 2X00 specific state flags for status response entries. Add the
defines necessary for the REGISTER FC4 TYPE SNS subcommand.
2001-01-09 18:56:06 +00:00
mjacob
5599d31360 ISPASYNC_PDB_CHANGED->ISPASYNC_LOGGED_INOUT. And also, ISPASYNC_CHANGE_NOTIFY
is for both local loop and fabric cases now.
2001-01-09 18:54:53 +00:00
mjacob
81df08ddef Use a SNS REGISTER FC4 TYPE subcommand to register with the name server.
This means we should be able to work with McData switches now. Change
ISPASYNC_PDB_CHANGED to ISPASYNC_LOGGED_INOUT (more descriptive). Allow
F-Port topologies to use target ids 0..125 to log into fabric devices.
Yet again fool around with defaul WWN stuff.
2001-01-09 18:54:06 +00:00
garbled
12a0ea436c Fix a problem in these widgets where they uncondititonally set the
exitType to either vEARLY_EXIT, or vESCAPE_HIT when returning from a bound
function.  This had the unfortunate effect that when you hit F2 to refresh
the screen in sushi, it would exit out immediately after refreshing the
screen.

This modification allows the programmer to still create an exit-causing
bound function, by simply setting the exitType in the function, as was likely
intended by the author.  Many thanks to Charles Hannum for helping me figure
this out.

This should fix problems noted by itojun on tech-userlevel with the function
keys.
2001-01-09 18:41:53 +00:00
augustss
54f9960ad3 Update usage message. 2001-01-09 17:35:45 +00:00
jdolecek
417c215317 make constant arrays a const 2001-01-09 17:31:04 +00:00
abs
6258e0bf60 Add a new variable 'backup_dir', which can be used to change the backup
directory from /var/backup (useful for those of us who have a separate /var
and would like to have our backup disklabels on the root filesystem).
Default behaviour unchanged. backup_dir being unset is taken as /var/backup.
2001-01-09 17:30:29 +00:00
jdolecek
a76c617ce5 make constant arrays a const 2001-01-09 17:22:09 +00:00
augustss
d56c24a854 Make this compile again.
(Compile before commit...)
2001-01-09 17:08:47 +00:00
ad
1b4eef2721 - Make VDAC state per-board.
- Add an ioctl to reset the STIC.
- Add an ioctl to restore the screen contents from backing.
- Other tweaks.
2001-01-09 16:04:03 +00:00
augustss
b115d1fc2e Make this compile again.
(What happened to the old custom of compiling before committing?)
2001-01-09 15:59:47 +00:00
lukem
71facf0307 sprinkle in more _DIAGASSERT() 2001-01-09 14:29:22 +00:00
pk
f134ba4486 atop(): cast argument to paddr_t' (instead of u_long') to avoid
truncating the address.
2001-01-09 13:55:20 +00:00
fvdl
c99aee0084 Add emulation of KIOCSOUND. 2001-01-09 13:01:03 +00:00
bjh21
84a9223126 Add APCS-32 return instructions, though not used yet. 2001-01-09 12:11:57 +00:00
wiz
c9be164d2f Fix date (22/Jul/2000 instead of 22/Jul/100).
(pod2man problem?)
2001-01-09 12:11:27 +00:00
fvdl
5395f63f35 Revert apparently accidental commit. 2001-01-09 12:03:15 +00:00
bouyer
ca405f6d8e Update for Ultra/100, and add ICH2 2001-01-09 11:39:35 +00:00
minoura
8a3a316883 Do not range_test() unless DIAGNOSTIC.
Suggested by Tetsuya Isaki <isaki@v6.ipc.hiroshima-u.ac.jp>.
2001-01-09 11:38:32 +00:00
bouyer
39ad4913b6 Update for Ultra/100 support, and add ICH2. 2001-01-09 11:38:27 +00:00
mycroft
d722519e03 Make sure the rotor values are non-negative. 2001-01-09 11:20:00 +00:00
mycroft
7f2aa054f1 ffs_reload(): Copy fs_ronly into the new superblock, too, as it may have been
modified on disk (e.g. by fsck(8)).  This flag should really be elsewhere.
2001-01-09 10:44:19 +00:00
garbled
4ce5fb6f63 Handle finding help for F1 better in the toplevel menu.
TODO: print a dialog message if help cannot be found.
2001-01-09 09:41:41 +00:00
mycroft
a48409305d A minor tweak. 2001-01-09 09:25:32 +00:00
enami
6c06fd4f9f Don't swap cg_clustersum(cg)[0]. It doesn't actually exists and it's
actually tail of free block bitmap.

XXX swap_cg() should be shared with newfs.
2001-01-09 09:08:35 +00:00
enami
5d9e26fa5b - Use PRINTOBJDIR and .WAIT where appropriate.
- Define PARALLEL in gdb/Makefile since multiple yacc might run.
2001-01-09 08:52:56 +00:00
enami
6ebf26b574 Define variables before it is used. 2001-01-09 08:33:46 +00:00
garbled
74db0945af Backout the addition of timeout(). This did not have the desired effect
at all.  problem noted by itojun on tech-userlevel.
2001-01-09 08:06:22 +00:00
tsubai
3efddcd88e Configure PCI_INTERRUPT_LINE on the other side of the pci-bridge on OF3 too. 2001-01-09 08:04:53 +00:00
lukem
c9578df033 sprinkle some _DIAGASSERT()s in 2001-01-09 07:18:49 +00:00
lukem
0ed2fcf9fb *minor* knf 2001-01-09 06:36:13 +00:00
itojun
6e46d0e389 ensure replydirname() do not truncate the names.
From: Paul Janzen <pjanzen@foatdi.harvard.edu>
2001-01-09 06:07:01 +00:00
mycroft
c4c9a7ecc0 Remove a bogus piece of code that was never used. 2001-01-09 06:05:10 +00:00
mycroft
66418680d4 The reconnect algorithm was historically O(n^4).
Some years ago I made it O(n^2).
Someone helpfully made it O(n^4) again.
Today I'm making it O(n).
If that's not good enough, I don't know what else to do.  B-)

Technical details:
* The graph traversal in propagate() is modified to be able to start from any
  point in the tree.  To handle certain exceptional cases, it is also modified
  to work in two passes, marking the tree with a special tag and then changing
  it to DFOUND.
* The reconnect case now modifies the child/sibling pointers and calls
  propagate() to propagate the connection state starting with the reconnected
  directory.

Pray that you never encounter a file system trashed enough for this to matter.
2001-01-09 05:51:14 +00:00
mycroft
3f2ff10f4c Try to cope with cs_ndir being wacky (too large or, particularly when using -b,
too damn small) by setting a minimum (1024) and maximum (maxino + 1).  This
prevents certain operations getting REALLY slow when -b is used, and also
avoids overallocating memory if the superblock is hosed.
2001-01-09 05:39:27 +00:00
itojun
b32589e180 make sure we do not return stray " at the end of stirng, like bla"\0.
From: "William C. Allen" <allenwc@home.com>
2001-01-09 05:06:14 +00:00
joff
a6ef389457 If DIAGNOSTIC and the segment writer gets a badly sized buffer, panic()
instead of silently corrupting the filesystem.
2001-01-09 05:05:35 +00:00
thorpej
efed547b78 Once we have a complete frame, schedule a SLIP software interrupt,
and manipulate ipintrq from there.  This will allow us to clean up
the use of splimp() in this file later.
2001-01-09 05:04:23 +00:00
thorpej
30be6aa8b6 Add NETISRs for SLIP and STRIP. (Geez, I wish we had the softintr
API everywhere...)
2001-01-09 05:03:10 +00:00
thorpej
692a2bc939 Make the buffer management in SLIP just a little less evil. 2001-01-09 04:42:48 +00:00
joff
d68ab23851 Don't qsort() by the segcreate field. Prevents potentially serious filesystem
corruption if the clock jumps backwards.
2001-01-09 04:31:18 +00:00
enami
7a36660307 If there remains no memory in a segment after we chopped off ``the last
page,'' skip the segment.  Fixes boot problem on Compaq ProLiant ML370
reported at current-users by Mark Davies.
2001-01-09 03:45:49 +00:00
lukem
443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00