Commit Graph

159556 Commits

Author SHA1 Message Date
tsutsui 04776a47dd Remove another #ifdef PCB_CMAP2 portion. 2007-06-02 23:51:37 +00:00
alc 3a676de695 don't increment `ip6stat.ip6s_noroute' here, it has already been done in
in6_src:in6_selectroute().

ok dyoung@
2007-06-02 23:26:26 +00:00
njoly df2c7d05e6 Revert fs/gs changes for now.
This make clone(2) work again under NPTL compat linux emulation.

ok by fvdl.
2007-06-02 22:59:03 +00:00
dsl 44250a9038 Add some 'magic' defines so that we can build the svr4_32 version of this
code from the same source file as the svr4 copy.
I suspect this cpuld be done in other places....
2007-06-02 21:39:27 +00:00
pavel 9188cd99a0 Separate postinstall checks in two groups: enabled and disabled by
default. Only the former checks/fixes are done if no items are given
on the command line. The latter must be requested explicitely.

Intended for "fixes" that are dangerous in some way, because they might
remove files that are still in use, for example.

Make the "sendmail" item disabled by default, it removes sendmail
configuration. Partly addresses PR install/36180.

Proposed on tech-userlevel, review and spelling fixes from lukem@.
2007-06-02 21:25:08 +00:00
uwe cc652c9405 Add COMPAT_40. While here, make COMPAT_30 comment match other COMPAT_*. 2007-06-02 17:16:12 +00:00
dsl 21d1d4f346 Instead of unconditionally initialising the ktriov and conditionally
copying in aiov, just unconditionally copy in aiov.
Probably saves a mispredicted branch and a data cache miss - as well as
removing some code.
2007-06-02 13:38:31 +00:00
yamt a15e4b5b1b wrap #include "opt_ktrace.h" by #ifdef _KERNEL_OPT. 2007-06-02 13:16:19 +00:00
blymn a5879e5845 Added new driver smsc(4) 2007-06-02 12:19:28 +00:00
tsutsui 0264c643f5 Rather than attaching fpu as a usual device during cpu_configure(9),
initialize it explicitly in identifycpu() (before cpu_configure(9))
because after yamt-idlelwp merge savectx() is called before
cpu_configure(9) and it requires fputype initialized properly,
otherwise a kernel fails in savectx() if a machine doesn't have an FPU.
2007-06-02 12:07:03 +00:00
dsl 3d0e15d3b2 Call selcommon() directly instead of using the stackgap... 2007-06-02 11:51:42 +00:00
tsutsui 5044d1542d Fix bus_dmamap_sync(9) to do more proper cache flush operations.
Mostly taken from mvme68k.

Tested on (not yet integrated) mac68k SONIC Ethernet with MI dp83932.c.

XXX: should we also enable _pmap_set_page_cache{able,inhibit}()
XXX: functions in m68k/pmap_motorola.c for BUS_DMA_COHERENT support?
2007-06-02 11:13:45 +00:00
he 71da552ff1 If HAS_SSP == "no", don't descend into the ssp subdirectory, because
building there will fail.
2007-06-02 11:09:22 +00:00
tsutsui a2d77b96dc In sonic_reset(), make sure to stop TX, RX and timer
and clear and disable all interrupts.
Required by mac68k obio sonic cards, and
no bad side effect on arc jazzio sonic.
2007-06-02 10:48:24 +00:00
dsl e12ac31b52 Remove an unsed call to stackgap_init() 2007-06-02 10:09:05 +00:00
tsutsui 8964fdca7a Sync tda_status and rda_status DMA descriptors also after they are polled
in interrupt handlers for systems which don't have BUS_DMA_COHERENT support.
2007-06-02 06:41:34 +00:00
tsutsui 9955baccd9 Add #define __NO_STRICT_ALIGNMENT. 2007-06-02 06:34:21 +00:00
tsutsui 59a3d07b9a Don't try to clear BSS if bootinfo is passed
(i.e. running kernel is loaded by the native bootloader).
2007-06-02 06:30:17 +00:00
tsutsui f4ba139f1a Use some more ANSI character escape sequences in keymaps. 2007-06-02 06:27:12 +00:00
tsutsui b1102490c5 Sort some keymap entries. 2007-06-02 06:24:56 +00:00
tsutsui c0f042edea - Don't refer fputype before FPU is probed.
- Call m68k_make_fpu_idle_frame() from initfpu().
2007-06-02 06:23:56 +00:00
tnozaki 05df4b4fef add following encoding suuport of iconvdata:
CP1046(Arabic Extended)
	CP1124(Cyrillic, Ukraine)
	CP1125(PC, Cyrillic, Ukrainian)
2007-06-02 06:09:08 +00:00
yamt 326517bd8d add some #include. 2007-06-02 03:32:51 +00:00
nisimura 404200bf24 - add MPC8245 to cpuname table. 2007-06-02 02:41:41 +00:00
enami 0c8f6382c6 Reduce difference between compat_ifconf() and ifconf():
- exit on error rather than proceeding to next interface.
- make code simpler.
2007-06-02 01:29:25 +00:00
enami d35ef328a7 - Fix obvious typos so that sendto(2) works.
- Wrap lines again.
2007-06-02 01:24:34 +00:00
dogcow 0023297d28 it seems like a good idea to include <sys/condvar.h>, as we're using them... 2007-06-01 23:16:33 +00:00
uwe af961e8aed Bring back static and lint ssp libs and mark them obsolete. 2007-06-01 22:54:52 +00:00
dsl d7f93c5c67 Split sys_bind() and sys_connect() so that compat code can use common code
once the 'address' has been copied into an mbuf.
Add extra flags for 'struct msghdr.msg_flags' to indicate that the address
  and control are already in mbufs, and that the uio structure is in userspace
  for sending data, rename sendit() to do_sys_sendmsg() to ensure no old code
  passes in random flags.
Changes to compat code to use new functions - removing some stackgap use.
Fix a 'use after free' in compat_43_sys_recvmsg.
I ***THINK*** the code that converts 'cmsg' formatted data is borked!
svr4_stream.c ought to be generated from svr4_32_stream.c during the build.
2007-06-01 22:53:52 +00:00
dsl d95fed7315 (Ab)use a KTR_USER trace entry for the linux socket command and arguments. 2007-06-01 22:42:47 +00:00
dsl 79b4d16759 KNF and layout changes to match (my copy of) svr4/svr4_stream.c 2007-06-01 22:15:38 +00:00
dyoung 0bb998a3f7 Bring the example concerning a bootable ISO9660 for i386 up-to-date,
demonstrating the -e option.
2007-06-01 20:56:23 +00:00
dsl d23c3b01a0 Add a ktrkuser() function that can be used to generate a KTR_USER trace
entry from kernel-resident data.
Mainly so I can (ab)use the KTR_USER entry for extra info.
2007-06-01 20:24:21 +00:00
dsl 5a557927e4 When displaying 'KTR_USER' data, exclude the header from the length, don't
enclose in ", and output using the hexdump function if -x (or -X) given.
2007-06-01 19:05:50 +00:00
agc 45743840cb Add /usr/pkg/{,s}bin to the default path for the default class for login.conf. 2007-06-01 19:01:51 +00:00
uwe 4a747421e0 Rename j6x0tp_set_enable to j6x0tp_enable_child which better reflects
what this function does and is way less confusing too.
2007-06-01 18:23:46 +00:00
uwe 7390dfc401 Add smsc.4 (hi, brett!) 2007-06-01 18:10:00 +00:00
jmcneill 58b50f5359 Regen. 2007-06-01 17:49:19 +00:00
jmcneill 635fbd63e1 Add RIM BlackBerry. 2007-06-01 17:48:56 +00:00
uwe aa1315c604 Cosmetic. Use device_xname. Don't compile debugging support. Drop
out-of-date comment for j6x0tp_attach (we haven't been using submatch
for quite a while).
2007-06-01 17:44:46 +00:00
ginsbach 3d6fea5a84 Add arguments to option descriptions for options that require arguments.
Document all of the NFS specific -o options.
2007-06-01 17:43:19 +00:00
martin e26aa3fe3e backout previous - needs more investigation 2007-06-01 17:15:19 +00:00
martin 0b39ba0208 This LDFLAGS setting looks like a copy&pasto 2007-06-01 16:54:11 +00:00
yamt 7e6f80a234 \xa0 -> space. 2007-06-01 15:59:37 +00:00
christos 89734304c6 - fix unused variable when none of the compat options are defined.
- remove debugging
2007-06-01 15:41:15 +00:00
yamt 63abe2b629 nfssvc_nfsd: check SPCF_SHOULDYIELD and yield cpu. 2007-06-01 14:43:17 +00:00
uwe 6542efa4c8 Add COMPAT_40. 2007-06-01 14:30:32 +00:00
blymn 12de420234 Add smsc device 2007-06-01 14:26:36 +00:00
nisimura 53c86e4944 Note booted_device and booted_kernel sysctl addition for powerpc. 2007-06-01 14:26:34 +00:00
nisimura c966ccb8d8 - add booted_device and booted_kernel sysctl nodes to let userland know
about runtime environment.
2007-06-01 14:23:50 +00:00