Commit Graph

115478 Commits

Author SHA1 Message Date
is
8d936d4ca8 This was missing pseudo-device ksyms. Pointed out by J. Andberg. 2003-07-27 20:36:18 +00:00
dsl
d0bba60fad Default boot blocks to those used to install the system.
Add 19200 baud and serial ports com1, com2 and com3.
Fixes PR install/21418
2003-07-27 20:25:07 +00:00
jdolecek
a2d0517af5 More complete sendmsg(2) and recvmsg(2) emulation:
* translate MSG_* flags
* rewrite CMSG level/type to appropriate NetBSD value on input, and to Linux
  value on output
* handle different CMSG_DATA alignment for some archs

This fixes SCM_RIGHTS passing. Other SCM_* types are not supported -
the set is different on NetBSD and Linux. SCM_TIMESTAMP doesn't seem
to be actually implemented in Linux 2.5.15, so it's not supported
for Linux binaries either (for now).

PR: 21577 by Todd Vierling
2003-07-27 19:30:03 +00:00
uwe
a82a596a31 Conditions for sh5 when setting DBG to be empty were deleted (moved)
in 1.72, but brought back accidentally in 1.73.  That was harmless,
anyway, as sh5 conditions in their new place get matched earlier.
2003-07-27 19:08:03 +00:00
mrg
30e5f75620 rework an expression to avoid 32 bit overflow 2003-07-27 15:16:54 +00:00
mrg
127fd99434 avoid redefining a symbol differently 2003-07-27 15:13:39 +00:00
mrg
6c4963a6f9 document how to generate GCC3.3 bootstrap info with mknative 2003-07-27 15:00:52 +00:00
mrg
96d9a01177 introduce a new $CPPFLAG_ISYSTEMXX that is used to reference c++ system
includes.  for GCC3, set this to -I instead of -isystem.

XXX this should really be either not required or a -isystem-cxx, but for
now this is required to build libstdc++-v3, which otherwise complains
heavily about STL headers not being C code(!)
2003-07-27 14:49:22 +00:00
mrg
efee205c6f don't configure with multilibs when doing mknative 2003-07-27 14:44:00 +00:00
mrg
57dc195231 build-tested support for m68000, m68k, sh3el and sh3eb.
XXX: sun2 seems to be currently generally busted but most of the world
     builds.  of course it is untested..
XXX: sh3* and -pg goes BOOM with gcc3.3... it generates code that uses
     the same labels twice... need to set NOPROFILE for now.
2003-07-27 14:41:32 +00:00
mrg
5a8170433a actually build libstdc++-v3 now.
XXX NOPROFILE has been set as for some very very very strange reason i
don't understand yet this is causing the compiler to barf...
2003-07-27 14:38:57 +00:00
mrg
0d07d92566 regenerate 2003-07-27 14:34:43 +00:00
itojun
3f14c71f75 reserve cdev major # for PF. ok'ed by technical-exec 2003-07-27 14:17:57 +00:00
mrg
a2a84f63a0 regen 2003-07-27 14:17:02 +00:00
mrg
62260183e7 some casts to appease gcc3.3 2003-07-27 14:14:44 +00:00
lukem
422b438b9f Ensure the first word of ${CC} exists before attempting to invoke ${CC}
to determine TARGET_ENDIANNESS.

This should fix problem reported privately by Matt Green <mrg@>.

This uses  exists(${CC:ts::C/:.*$//})  as we don't expect the command name to
contain `:'.  (The ":ts" trick is from a discussion with Simon Gerraty <sjg@>.)
2003-07-27 11:16:30 +00:00
lukem
b7ebff3038 be consistent: use ${.TARGET} for $@ and ${.PREFIX} for $* 2003-07-27 09:35:47 +00:00
lukem
30872ad6e0 be consistent about using ${.TARGET} for $@ and ${.IMPSRC} for $< 2003-07-27 09:27:18 +00:00
dsl
faefcd3805 Force localfs_dir to be an absolute path - fixes PR install/14130.
Put disklabel info into /tmp/disktab in case / isn't writable,
fixes PR 17347.  Note the /etc/disktab isn't the target /etc anyway...
2003-07-27 08:57:27 +00:00
lukem
deeae012af If HAVE_SYS_ENDIAN_H, pull in <sys/endian.h>. Fixes build.sh on FreeBSD 5.1.
Fix from Grant Beattie <grant@>
2003-07-27 07:56:37 +00:00
lukem
0283225f29 Explicitly pull in <sys/endian.h> #if !defined(HAVE_CONFIG_H).
(I prefer to be explicit about this, since installboot uses the endian
macros a lot)
2003-07-27 07:53:26 +00:00
lukem
4e59fb5bab rcsid 2003-07-27 07:51:40 +00:00
dsl
96ace5d58c Remove 'menu_ent' parameter from action routines.
Add menu for all disklabel partition types.
Default 'partition type' and 'sizechoice' menus to current value.
Change 'standard/use existing' to 'set sizes/use existing'.
2003-07-27 07:45:08 +00:00
dsl
048dfb4fde More tweaks for sysinst.
Let 'display action' routine set menu->cursel (ie default menu item).
Remove 'opt' parameter I added to action routine (not that useful).
Make man page slightly closer to reality.
2003-07-27 07:21:57 +00:00
mrg
fcd3befc1c labels needs statements 2003-07-27 07:09:17 +00:00
mrg
3cfc71fc33 rewrite an undefined assignment 2003-07-27 07:04:46 +00:00
mrg
fcbce53483 #undef takes just a name, no params 2003-07-27 07:02:18 +00:00
mrg
354caa5839 add working alpha support - including working cross builds from x86 2003-07-27 05:10:47 +00:00
mrg
7f6765697c need -ffreestanding 2003-07-27 05:04:43 +00:00
mrg
05602c761d add a cast appease gcc3.3 2003-07-27 05:04:02 +00:00
mrg
6a0101cabe #if 0 an assert that is always false. XXX not really always... 2003-07-27 05:03:51 +00:00
thorpej
472c98cf7a Fix think'o in last. Pointed out by Izumi Tsutsui. 2003-07-27 04:52:28 +00:00
tsutsui
b161c7f8d3 Remove declaration of hilkbdcnattach() which is declared in dev/hilvar.h. 2003-07-27 04:38:06 +00:00
jonathan
f3193a1cc9 Add a csum_flags quirk for devices (like the bcm570x) which hand back
Rx-offloaded TCP or UDP checksums which do not include the transport-layer
pseudo-header. As discussed with Jason Thorpe circa 2003-03.
2003-07-27 04:16:23 +00:00
tsutsui
fddebe9b9c There is a report that x68k SCSI no longer works after the previous changes.
It seems x68k SPC SCSI has several hardware quirks, so add some (a bit ugly)
#ifdefs for workaround.  (XXX - needs revisiting)
2003-07-27 03:51:28 +00:00
jonathan
cfb7c62413 Cleanup traces of previous standalone m_apply()/m_getptr(). 2003-07-27 03:34:39 +00:00
jonathan
f07336a03e regen from pcidevs rev 1.556 with vendor Cavium and product Nitrox. 2003-07-27 02:39:15 +00:00
jonathan
5eef6dfd20 Add PCI vendor Cavium and product code for their Nitrox XL crypto device. 2003-07-27 02:34:38 +00:00
jonathan
8a1b964b6b Regen from pcidevs 1.555 (Bluesteel,Broadcom security coprocessors) 2003-07-27 01:41:46 +00:00
thorpej
063033a023 Since everyone uses clock_subr.c (or should, if they don't currently),
list it in conf/files instead of in every port's files.*.
2003-07-27 01:17:37 +00:00
jonathan
52fc5b6eec Add PCI vendor code for BlueSteel Networks (now part of Broadcom),
and PCI product codes for the Bluesteel/Broadcom family of security processors.
2003-07-27 01:16:10 +00:00
jonathan
66b119262b Add DTYPE_CRYPTO, for userspaace access to the crypto framework,
which wants close-on-exec semantics (in addition to cloning).
2003-07-26 23:08:00 +00:00
jonathan
de6bc09ee1 Fix authentication hashes requested via /dev/crypto. The handler for
userland hashes case was partly omitted in the OpenBSD -> FreeBSD port.
2003-07-26 22:53:44 +00:00
salo
0f5a0c156d netbsd.org->NetBSD.org 2003-07-26 20:34:11 +00:00
salo
22a0ae4298 netbsd.org->NetBSD.org 2003-07-26 20:17:31 +00:00
jdolecek
21f695a1ae add LINUX_SO_PEERNAME, LINUX_SO_TIMESTAMP where it has been missing
fix value for LINUX_SO_DETACH_FILTER on couple places (unused anyway)

g/c LINUX_SCM_TIMESTAMP definition for some archs, it will be defined
in generic linux_socket.h
2003-07-26 19:59:29 +00:00
salo
b75abedac4 netbsd.org->NetBSD.org 2003-07-26 19:38:45 +00:00
salo
99410184e7 netbsd.org->NetBSD.org 2003-07-26 19:24:24 +00:00
mrg
5e6550b28e working mips support (mipsel runs fine, mipseb compiles, untested so far) 2003-07-26 18:41:26 +00:00
mrg
a25b9da024 don't need -mno-half-pic with gcc3 2003-07-26 18:33:51 +00:00