Commit Graph

159916 Commits

Author SHA1 Message Date
dsl
6319443e37 Updates for changes prototype of kauth_cred_set/getgroups(). 2007-06-30 15:27:02 +00:00
tsutsui
b00d562b51 Backout previous; defer bus_dmamap_sync(9) op against data buffer instead.
XXX ews4800mips (which has 128byte L2 cacheline) still has
XXX some problem in sd_read_capacity() on some unclear condition.
2007-06-30 14:56:48 +00:00
tsutsui
8c07627095 Copy SCSI command before bus_dmamap_sync(9) PREREAD ops against
data xfer buffer because command and data buffers might be in
the same cacheline.
2007-06-30 14:32:50 +00:00
tsutsui
8df8a6ae3f Rather than preparing DMA map for SCSI command (which is
less than 16 bytes) of each SCSI command block (acb), just
prepare DMA safe buffer in struct osiop_ds and copy commands
into the buffer on each transfer to save resources and
reduce small and unaligned cache flush ops.

As a side effect, sizeof struct osiop_ds (DMA safe data buffer)
is now 256 bytes (including padding) so it could be more
cacheline friendly on bus_dmamap_sync(9) ops.

Tested on Express5800/230 (arc) and EWS4800/360AD (ews4800mips),
and no visible performance difference on bonnie.
(hppa and mvme68k are untested)
2007-06-30 14:08:58 +00:00
dsl
e99b2da36f Welcome to 4.99.22: Addition of flags parameter to kauth_cred_get/setgroups(). 2007-06-30 13:42:47 +00:00
dsl
4be2514b94 Match updates to kauth_cred_set/getgroups. 2007-06-30 13:34:19 +00:00
dsl
04c196a642 Add a flags parameter to kauth_cred_get/setgroups() so that sys_set/setgroups
can copy directly to/from userspace.
Avoids exposing the implementation of the group list as an array to code
outside kern_auth.c.
compat code and man page need updating.
2007-06-30 13:32:14 +00:00
pooka
5092d42715 print time elapsed between calls 2007-06-30 12:42:25 +00:00
jmcneill
1a446b6f11 Move ral@pci from INSTALL to INSTALL_LARGE, as requested by Manuel Bouyer. 2007-06-30 12:30:34 +00:00
pooka
835b0326c5 Using POOL_INIT here makes no sense, since file systems always have
an init method.  So get rid of it and #ifdef _LKM and just always
init in the init method.  Give malloc types the same treatment.
Makes file systems nicer to work with in linksetless environments
and fixes a few LKM discrepancies.
2007-06-30 09:37:53 +00:00
mlelstv
e044ee54b9 Fix typo that prevents port reset after several retries. 2007-06-30 09:17:45 +00:00
jmcneill
cbc58c76f0 Enable ral@pci by default in the INSTALL kernel. 2007-06-30 03:11:03 +00:00
rumble
e222f53360 When checking for an EFS filesystem just read in the whole superblock,
rather than jump to the hard-coded magic field offset.
2007-06-30 02:05:27 +00:00
rumble
8600ed2bd8 Make mount_efs.8 and svhlabel.8 reference one another. 2007-06-30 01:11:35 +00:00
rumble
dd5b82c6a6 Add missing include. 2007-06-30 00:54:09 +00:00
rumble
98a859360f Superblock magic numbers are #define'd, so use them. 2007-06-29 23:33:05 +00:00
rumble
6912898dc8 Add read-only support for SGI's Extent File System.
Reviewed by pooka@.
2007-06-29 23:30:16 +00:00
kardel
902143c77e ntp 4.2.4p3 (Windows termination fix) is out 2007-06-29 22:40:27 +00:00
kardel
7aff806d2b document in-tree ntp version 4.2.4p2 2007-06-29 22:32:03 +00:00
tsutsui
446e7b7d8c __FUNCTION__ -> __func__ 2007-06-29 16:41:31 +00:00
dmcmahill
096f2d0ee4 Replace "awk" with "${AWK:-awk}".
Needed to be able to cross-build on systems with a feeble awk (SunOS-5.9
for example).  Example error message is:
awk: record `#define CTL_IPPROTO_...' has too many fields
 record number 404
2007-06-29 16:39:51 +00:00
tsutsui
9905ba64da Add options COMPAT_40. 2007-06-29 16:23:29 +00:00
tsutsui
bad1146f72 Fix botch in cnpollc(9) for keyboard devices. 2007-06-29 16:09:04 +00:00
tsutsui
1681c91ced We have to use _splnone() instead of spl0() to enable interrupts on mips
because spl0() is an alias of _spllower(0) and it doesn't set MIPS_SR_INT_IE.

Fixes ews4800mips kernel getting stuck in cpu_idle(9)
after cpu_configure(9) since yamt-idlelwp merge.
(previous mips_idle() implicitly set MIPS_SR_INT_IE
 but new cpu_idle(9) for mips no longer does it)
2007-06-29 16:03:04 +00:00
christos
7b1793900f make this compile without INET6 (Scott Ellis) 2007-06-29 15:53:21 +00:00
pooka
e01e324216 remove redundant KASSERTs 2007-06-29 15:34:59 +00:00
christos
d1ffad0af7 Handle mapped and scoped ipv6 addresses. From Anon Ymous. 2007-06-28 21:11:12 +00:00
christos
681a7e5524 Add functions to do mapped address conversions from FreeBSD. 2007-06-28 21:03:47 +00:00
xtraeme
5cd016ef40 For 586 based National Semiconductor CPUs, use amd_cpu_cacheinfo to
print cache information.

My AMD Geode GX2 500/1W reports good values:

cpu0 at mainbus0: (uniprocessor)
cpu0: National Semiconductor Geode (586-class), 365.26 MHz, id 0x552
cpu0: features 80a13d<FPU,DE,PSE,TSC,MSR,CX8>
cpu0: features 80a13d<PGE,CMOV,MMX>
cpu0: "Geode(TM) Integrated Processor by National Semi"
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: ITLB 8 4 KB entries fully associative
cpu0: DTLB 8 4 KB entries fully associative
2007-06-28 21:02:40 +00:00
bouyer
69219b1efe copy from the right offset when handling root= on the command line.
Pointed out by Pavel Cahyna.
2007-06-28 20:54:47 +00:00
bouyer
6be5ba1e96 Make sure to check for pending interrupts on the final STI. For this
reorganise the IPL vectors a bit so that they can be used from more
places than splllower and doreti.
Include patch from Kazushi Marukawa (fixed to handle pending interrupts),
which should fix the read_psl() == 0 assertion failure reported by
several users.
2007-06-28 20:50:30 +00:00
alc
c82e20912d - add ichlpcib to XEN2 config file
- few cosmetics

tested with XEN2 and XEN3 kernel
ok bouyer@
2007-06-28 20:07:00 +00:00
joerg
12929bba43 - When compiling nbinstall for the tool chain, use the target strip
and not /usr/bin/strip. This makes nbinstall usable for
  cross-compiling in pkgsrc.
- Fix a typo in a comment.
- Fix strip() in the context of (v)fork:
  - Build the argument string first using asprintf (simpler) and
    avoid leaking memory from the child in the parent.
  - Don't use warn in the child, as stdio should be avoided.

OK christos@, tested on Solaris by dmcmahill@.
2007-06-28 19:05:55 +00:00
christos
9bba04122f Set the mib appropriately depending on the socket address family.
From (Matthias Drochner).
2007-06-28 18:47:17 +00:00
nonaka
e02b41111a cpu_reboot():
- fix data write-back to hard disk is failed when reboot/halt.
2007-06-28 16:07:12 +00:00
nonaka
bc90321cbe Use tpcalib_trans() instead of own function. 2007-06-28 15:44:01 +00:00
nonaka
74c51d31a7 Implemented some HPC related ioctls for tpctl. 2007-06-28 15:41:09 +00:00
nonaka
902494bfa8 Fix compile failure if defined WSDISPLAY_COMPAT_RAWKBD. 2007-06-28 15:37:32 +00:00
nonaka
fa07193f46 - Added RCS Id.
- cosmetic.
2007-06-28 15:35:59 +00:00
nonaka
f96947e349 Added RCS Id. 2007-06-28 15:33:08 +00:00
nonaka
dceaf63a2c remove unused function. 2007-06-28 15:32:35 +00:00
nonaka
5113d00707 cosmetic. 2007-06-28 15:31:04 +00:00
nonaka
58ea30622f cosmetic 2007-06-28 15:09:14 +00:00
nonaka
a748e16a0b use LCCR3_BPP3 instead of magic number. 2007-06-28 15:05:27 +00:00
nonaka
8b05cf1cfc Mask more interrupts. 2007-06-28 14:47:47 +00:00
nonaka
399c27c752 Added support ioctl(WSDISPLAYIO_LINEBYTES).
(XFree86 wsfb driver uses it.)
2007-06-28 14:41:49 +00:00
nonaka
d69f0db1d1 pxa2x0_lcd_mmap():
- Check offset parameter.
2007-06-28 14:37:36 +00:00
nonaka
d2387d4569 Added more LCD Controller register definition. 2007-06-28 14:30:58 +00:00
tsutsui
4a838a2458 Fix mnt_dev_bshift value. Pointed out by rumble@.
I'm not sure how mnt_dev_bshift is used and
whether BFS_BSHIFT is correct for it, but as rumble
said shifting BFS_BSIZE (==512) seems completly wrong.
2007-06-28 12:33:18 +00:00
tsutsui
5c0f3569db Add file-system SYSVBFS. 2007-06-28 12:16:36 +00:00