Commit Graph

84853 Commits

Author SHA1 Message Date
itojun 7cdedd5c84 use strlcpy. from openbsd 2001-08-30 00:53:53 +00:00
itojun c9e786ce9e security fix from openbsd:
Fix buffer oflow reading from queue file.  While we are at it, crank
the size of buffers that can hold filenames to MAXPATHLEN.
2001-08-30 00:51:50 +00:00
simonb 352f878e45 Gah, fix a number of channel status/select bitfields. 2001-08-29 23:32:21 +00:00
jsm 67d5106d8a Remove documented bug with long worm lengths, and improve handling of
non-standard screen sizes.  From OpenBSD.
2001-08-29 23:25:58 +00:00
he 54b81ce0d6 Provide minimal versions of thse to make "make release" work. 2001-08-29 20:32:30 +00:00
nathanw 4666070137 Correct a comment: The address of the signal handler is passed to the
sigcode trampoline in pv (t12), not a3, and has been since the
beginning of time.
2001-08-29 20:17:08 +00:00
jsm e816d70051 Add AIUI, suggested by Adam Olsen <adamolsen@technologist.com>. 2001-08-29 18:24:17 +00:00
jsm 312e8e64e5 Include <time.h> for declarations the Single Unix Specification says
are there but not in <sys/time.h>.
2001-08-29 18:23:44 +00:00
jsm d929aa8aeb Ensure trailing newline is present on error and warning messages (lost
in previous conversion from <err.h> functions to ISO C ones).
2001-08-29 18:22:56 +00:00
briggs c50646a1f3 Add adw 2001-08-29 17:37:47 +00:00
briggs 665cc59e75 Ensure that data accessed by the ADW driver in memory is in
little-endian byte-order.  This should work out to be a no-op
for LE systems, and allows BE systems to use the board.

Tested on PPC, reviewed by Dante.

NOTE: The board/microcode does have a BIG_ENDIAN mode of operation,
but it's not well-documented.  That might be interesting to investigate
at some point in the future, though.
2001-08-29 17:25:03 +00:00
itohy a0f0f74348 Print extra information on machine check (AS500, AS600). 2001-08-29 14:14:33 +00:00
chuck 1b6311c365 make 4.3 binaries run once again on the vax. tested with
omagic/nmagic/zmagic binaries from guest account on
Lord Isildur's tahoe system (thanks).   enabled if both
COMPAT_43 and COMPAT_VAX1K are defined.

basically rewrote exec_vax1k_prep_anymagic() to handle more
file formats.  we remove vax1k_subr.c because we now use the
standard vmcmd_readvn function.

XXX: suspect the code for MID_VAX1K NMAGIC binaries is wrong,
need a binary to confirm this...  the old code did not pad the
end of the text segment to a page boundary, and that seems wrong.
you definitely need to pad it on a 4.3BSD NMAGIC binary and i
don't see why MID_VAX1K should be different?
2001-08-29 03:43:53 +00:00
mrg 058f9756b8 it is "boot net netbsd" for OBP2, from tron in private email. 2001-08-29 03:26:07 +00:00
wiz be3b9c2ec5 Cray-only patch (sync with cray). Patch by Brian Ginsbach in private mail. 2001-08-29 00:32:26 +00:00
tsubai de0feee64b Regen. 2001-08-28 23:54:14 +00:00
tsubai 7cba152e7c Add more Apple devices. 2001-08-28 23:53:14 +00:00
ad 3839890ed7 errx() prints the newline for you. 2001-08-28 15:36:54 +00:00
thorpej 14f612c5b3 - Swap the bytes OR'd into init_ladrf[], for big-endian machines.
- Make sure to sync the init block.

Pointed out by Izumi Tsutsui.
2001-08-28 15:22:30 +00:00
tsutsui ab8b3ce5d3 Remove descriotion about homegrown sonic driver from TODO list
since it has been replaced with the MI driver.
2001-08-28 15:17:47 +00:00
thorpej 2e4bdfe678 Add a TODO item: Do this in 2 passes. One pass that configures the
bus (and optionally maps expansion ROMs), and an optional second
pass to disable expansion ROMs that are mapped.  This would allow
MD code to possibly execute the expansion ROMs (possibly in an x86
emulator) to configure a device (e.g. a VGA card, which pretty much
needs to be configured by its ROM).
2001-08-28 15:13:48 +00:00
thorpej cdf824bfb6 If MD code doesn't provide pci_conf_hook(), then default to not mapping
the expansion ROMs on cards, since address decoders may be shared between
the ROM and PCI memory space on some cards (i.e. "only map the ROM if you're
going to use it, and then unmap it when you're done" is the intended
usage).
2001-08-28 15:09:10 +00:00
eeh b14bf2ceef Fix incorrect parentheses. 2001-08-28 14:51:28 +00:00
thorpej fdb02063d2 Print "auto-FDX" for the second "autoselect" instance. Pointed out
by Izumi Tsutsui.
2001-08-28 14:15:18 +00:00
ad d46bbf4926 In the absense of any objection, move the rbus I/O range to 0x600-0x700
in the ARMADA config. On the M700 at least, the SMBus host controller lies
it 0x4000 (the beginning of the range allocated by default to rbus), and
stomping all over it causes bad things to happen.
2001-08-28 09:25:52 +00:00
aymeric 8ac7d728a3 Change nvi version from 1.79 to 1.79nb1
This added version number will help us for future bug reports
2001-08-28 07:36:42 +00:00
matt 61cb93c98c Commit NEW_TOOLCHAIN files. Do not attempt to use these unless you know
what you are doing!
2001-08-28 07:08:54 +00:00
matt df0327518e Add evbarm, ibmnws, mvmw88k, m88k 2001-08-28 05:59:48 +00:00
matt dfbb14ad68 __syncicache needs to be exports to userspace as well as the kernel. 2001-08-28 03:03:43 +00:00
eeh 2879b54794 Enable some additional useful options like NFS_SERVER and RAID. 2001-08-28 02:43:49 +00:00
simonb 2d4d9f7fdc Stop pci_configure_bus() from mapping PCI expansion ROMs. Fixes problems
with at least some sip (and possibly siop) cards on the walnut.
2001-08-28 01:35:06 +00:00
eeh 8949c133a4 Get rid of debug printf. 2001-08-27 22:38:34 +00:00
augustss 8afb9f3591 Use #include <machine/intr.h> instead of #include <machine/cpu.h> to
improve portability.
2001-08-27 22:37:33 +00:00
augustss 494454a87d Comment out the hme driver; it's not totally MI yet. 2001-08-27 22:25:42 +00:00
augustss b5937bf1d0 Add some missing network drivers. 2001-08-27 22:23:47 +00:00
augustss 7b55182d7d Remove an unneeded #include. This makes the file compilable on more
platforms.
2001-08-27 22:18:49 +00:00
augustss 3346d43a5b Make it compile. 2001-08-27 22:17:29 +00:00
thorpej 23bd667cdf Xref pcn(4). 2001-08-27 20:04:24 +00:00
thorpej 55e8a6f76f Add pcn(4) manual page. 2001-08-27 19:52:47 +00:00
thorpej 4bb94a2389 Manual page for the new pcn driver. 2001-08-27 19:51:29 +00:00
thorpej 1930fec887 New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.
2001-08-27 19:42:18 +00:00
eeh 228006bcc3 Add the driver for the LMC WAN adapter. 2001-08-27 18:52:09 +00:00
eeh b22154dd79 Make the LMC driver bus_dma and endian clean (big-endian mode does not appear
to work on LMC cards).
2001-08-27 17:47:35 +00:00
matt 9969d4398b Ansi'fy. (to make this compile under -Wstrict-prototypes) 2001-08-27 16:46:43 +00:00
enami 97e7cd9cf9 For hayes esp card, set prescaler if specified rate is grater than 115200. 2001-08-27 14:27:01 +00:00
enami 4f924773b7 Regen. 2001-08-27 14:10:20 +00:00
enami 02d004f2c8 Sort Intel products by id and kill duplicated entries. 2001-08-27 14:04:47 +00:00
enami 405f874060 extent_alloc_subregion shouldn't allocate a region pasts the end of subregion. 2001-08-27 13:35:44 +00:00
fredette 1676190cef adjust the hack to build the SRT*.o files. 2001-08-27 13:07:03 +00:00
kanaoka 3b4f143fd8 - Correct a value of subend.
Pointed out by enami tsugutomo <enami@but-b.or.jp>.
2001-08-27 13:02:12 +00:00