77775 Commits

Author SHA1 Message Date
wulf
8d23cb0373 Extended functionality of the trap builtin, which now closely follows
POSIX recommendations.

	- trap now accepts signal names and signal numbers
	  e.g. INT, SIGINT, 2
	- added option -l that outputs a list of valid signals
	- added signal EXIT to list of valid signals
	- a `-' in the action part will reset specified signal to their
	  default behaviour
	- changed standard output format to make it suitable as an input
	  to another shell that achieves the same trapping results
2001-03-18 04:04:23 +00:00
hubertf
648fa44a28 Add -u switch to pkg_add to do a very rudimentare form of pkg upgrading:
When invoked with 'pkg_add -u ...', and the package to be installed is
found already being installed, the old (installed) package is removed
with pkg_delete, and the new one is installed.

A very crude handling of dependencies is done (by moving the +REQUIRED_BY
file aside before pkg_delete, and back into place after the new pkg is
installed).

This needs a lot more work to TRT, but it's a first start.
2001-03-18 03:20:28 +00:00
chs
1fae55f3ae in trap(), when invoking the pcb_onfault mechanism, pass the return value
of uvm_fault() to the onfault routine via %eax.  users of pcb_onfault now
return this value to their callers rather than always returning EFAULT.
this allows i/o errors in VOP_GETPAGES() to be returned back to read(), etc.
2001-03-18 02:53:09 +00:00
bjh21
6c42a5d73a Move over to using podulebus_irq_establish. 2001-03-18 01:31:03 +00:00
bjh21
63059bd6dc Remove redundant sc_ih from struct ea_softc. 2001-03-18 01:30:30 +00:00
bjh21
b369fdfd44 Use podulebus_irq_establish().
To avoid complexity, don't bother with ea_irq_claim() and ea_irq_release() any
more.  This driver will be replaced with an MI one soon eough -- it just
happened to be convenient for me to test.
2001-03-18 00:00:43 +00:00
bjh21
f98a674d6d Add podulebus_irq_establish(), with the same spec as the arm26 one. 2001-03-17 23:58:43 +00:00
is
d7e64c2e21 Method array for a really big inter-byte offset. 2001-03-17 22:03:12 +00:00
bjh21
16198f2b92 Podulebus convergence:
pa_memc_[th] -> pa_mod_[th]
Add pa_easi_*
Add pa_*_base
Add pa_slot_flags to indicate whether EASI is supported.
2001-03-17 21:56:06 +00:00
leo
14d2d5706f Conditionalize inclusion of the interrupt handlers for 'kbd', 'zs' and
'ncrscsi' since they are not present on the Milan.
2001-03-17 20:56:31 +00:00
christos
097d846614 use fparseln() 2001-03-17 20:43:55 +00:00
bjh21
697e84ed46 Update for new location of podules.h and podule_data.h 2001-03-17 20:34:43 +00:00
bjh21
e6a3d0d5c9 Move generated files from sys/arch/arm32/podulebus to sys/dev/podulebus. 2001-03-17 20:32:00 +00:00
bjh21
255336b13c Migrate known-podules list from arch/arm32/podulebus to dev/podulebus. 2001-03-17 19:05:19 +00:00
bjh21
17b6222740 Small beginnings of podulebus convergence: Have podule drivers print colons
in attach messages, rather than doing it in podulebusprint().
2001-03-17 18:46:25 +00:00
bjh21
bfc2063e69 Create an ARM2-specific undefined-instruction handler which deals with the
undef/SWI bug and handles emulating SWP.

Untested bacuse my ARM2 machine isn't currently set up.
2001-03-17 18:12:09 +00:00
jdolecek
9ca881a33a the elmc initialization problem is hopefully fixed 2001-03-17 17:00:38 +00:00
jdolecek
bc5acf5f90 Move the code to write the interrupt number info back before the first card
reset (same place as in the Linux driver). Hopefully this would fix
the initialization problem I've seen previously (cannot repeat it
even without this change no matter how I play with the card).
Remove the comment about the initialization problem now.
2001-03-17 16:59:29 +00:00
jdolecek
e241005cd9 use 'elmc* at ...' instead of 'elmc0 at ...' 2001-03-17 16:34:29 +00:00
sato
daf7016248 * enable HPCFB_MULTI codes.
* delete unneed non HPCFB_MULTI codes.
2001-03-17 14:59:33 +00:00
simonb
618d628845 Reverse the if and else clauses for the chardata test if there is
no format string specified.

Fixes PR bin/12424 from Jim Bernard.
2001-03-17 11:43:06 +00:00
pooka
64f1971541 update for file 3.34 2001-03-17 11:32:15 +00:00
pooka
629aebf0e1 kill dupe RCS Id 2001-03-17 11:30:52 +00:00
pooka
85cfab9a41 make this compile with our warning flags 2001-03-17 11:25:32 +00:00
pooka
a2f50a2443 resolve conflicts 2001-03-17 11:21:51 +00:00
pooka
d58fff15f7 file 3.34 2001-03-17 11:06:52 +00:00
jdolecek
3261555469 bump maxusers to 8 2001-03-17 09:55:32 +00:00
jdolecek
f3d3e9a30e add elmc(4)
convert from memory disk to diskless-type config
2001-03-17 09:53:54 +00:00
pooka
6c3e28927e fix typo in comment 2001-03-17 09:38:36 +00:00
tsutsui
0409a49e97 "NOMAN= yes" -> "MKMAN= no" 2001-03-17 07:10:54 +00:00
chs
edb041f0d1 return the real error from pgo_fault(). 2001-03-17 04:01:24 +00:00
chs
19accb3d77 return the real error from VOP_GETPAGES(). 2001-03-17 04:01:02 +00:00
thorpej
79e48a7370 Regen. 2001-03-17 02:26:48 +00:00
thorpej
4628dbd48d Fixup some Intel Gig-E entries. 2001-03-17 02:26:26 +00:00
mrg
0fcd32a415 "mach cpu" is MP only. 2001-03-17 01:54:17 +00:00
jdolecek
5ff8accde5 The 3c523 now driver works (with quite acceptable performance, like 320KB/s
for ftp and like 310KB/s via nfs); since there is still issue
with the card initialization, move the entry to bugs subsection
2001-03-17 00:19:36 +00:00
jdolecek
5f6a534773 regen - 3c523 entry change 2001-03-17 00:16:38 +00:00
jdolecek
4f637b65bc adjust the 3c523 entry to fit the actual product name 2001-03-17 00:15:33 +00:00
jdolecek
aaea6fe66c add 3Com EtherLink/MC to the list of supported devices 2001-03-16 23:08:57 +00:00
jdolecek
8e16733376 add elmc(4) manpage, and xref it from ai(4), ef(4), ix(4) 2001-03-16 23:08:11 +00:00
jdolecek
668d11a549 add elmc (at MCA) 2001-03-16 23:04:01 +00:00
jdolecek
94720e3009 Add driver for 3Com EtherLink/MC (3c523) Ethernet MCA card. This beast uses
i82586-based controller, similarily to e.g. ai(4), el(4) or ix(4).
The driver was modelled after the ai(4) driver.

Due to lack of better documentation, Linux 3c523 driver was used
to find out 3c523-specific quirks. Of course, the necessary work was greatly
reduced by our decend generic ic/i82586 code :)

Finally, NetBSD supports an ethernet card on IBM PS/2!
2001-03-16 23:03:15 +00:00
tron
ba90c54610 Don't force numeirc IP address for "-h" argument when invoking "ypxfr"
because neither "ypxfr" nor the YP bits of "libc" can handle IPv6. If the
hostname is used there will be an automatic fallback to IPv4 which makes
server pushed work again in mixed IPv4 and IPv6 environments. This fixes
bin/11755 by myself.
2001-03-16 22:14:45 +00:00
atatat
4c4a0e2830 Use strtol() instead of atoi() for reading the number out of the
datagram that we received, which leads to easier support for
(ignoring) the procmail messages that specify the folder to which
the message was delivered.

When reading the mailbox, if we encounter a "From " line, we should
exit().  This can occur if there are a lot of rapidly arriving, yet
short messages.
2001-03-16 21:39:08 +00:00
leo
395516e7aa Some minor, atari only, changes to make this work on the Milan:
- Adjust for the driver to be configured as fdisa
  - Add a for the atari correct fd_types array
  - Work around the fact that the atari has no machine/conf.h
2001-03-16 21:33:33 +00:00
leo
a5fdf3f1cf Atari specific stuff to implement the Milan floppy. The Milan uses standard
ISA floppy hardware. Configure as:
    fdcisa0 at isa? port 0x3f0 irq 6 drq 2
2001-03-16 21:31:55 +00:00
christos
93b3db97f3 limit the amount of memory used, not the number of arguments used. 2001-03-16 21:09:05 +00:00
christos
46096f7161 fix comment. 2001-03-16 21:02:42 +00:00
christos
62f543d92e Use GLOB_LIMIT. Also fix a bug where gl_offs was not initialized and could
contain trash.
2001-03-16 20:42:12 +00:00
lukem
b687712e95 don't support t(erabyte) as a suffix in strsuftoll() #ifdef NO_LONG_LONG 2001-03-16 20:35:35 +00:00