Commit Graph

178530 Commits

Author SHA1 Message Date
msaitoh 16ed711ed3 fix typo (s/stucture/structure/) 2009-03-05 01:21:57 +00:00
christos fe2579cc6a don't uprintf in non-debug kernels. 2009-03-04 21:52:38 +00:00
hauke 2f03f5338a Add Nubus IDs for the Atto SiliconExpress IV, an isp1000 based
fast/wide SCSI adapter.
2009-03-04 19:55:16 +00:00
christos 41802a0069 fix horrible memory trashing. 2009-03-04 18:22:14 +00:00
skrll 5ccc095a3e Fix the posix_fadvise return value... finally.
Tested martin on sparc64/m68k and me on hppa.
2009-03-04 18:11:24 +00:00
jym 369b7d3476 Do not continue silently on a page fault for an INVALID_PAGE, and instead
report an EFAULT like Xen does.

This avoids bad situations where a domain calls privpgop_fault() in a loop
by trying to map an invalid MFN.

See also http://mail-index.netbsd.org/port-xen/2009/03/03/msg004803.html
2009-03-04 10:32:36 +00:00
tsutsui 26c579d9c4 Use FXPF_EXT_RFA flag instead of FXPF_EXT_TXCB to see IPCB capability
because EXT_RFA for RX cksum is always available with IPCB for TX cksum
but i82558 and i82559 have only EXT_TXCB without IPCB.

Tested on the following fxp cards:
fxp0 at pci0 dev 14 function 0: Intel i82557 Ethernet, rev 2
fxp0 at pci0 dev 14 function 0: i82559 Ethernet, rev 8
fxp0 at pci0 dev 14 function 0: i82550 Ethernet, rev 12
2009-03-04 10:15:08 +00:00
nisimura ff2a35dca2 comment out NFS_BOOT_BOOTSTATIC. It will be useful when a valid set of
NFS_BOOTSTATICs are specfied.
2009-03-04 07:31:33 +00:00
nisimura e12e37e63e Update comments to reflect realities; the filenames were changed in 1997
and another one was added years ago.
2009-03-04 06:56:25 +00:00
macallan fd92054616 No need to have two pre-defined screen types - just adapt to whatever video
mode we find. Also, redraw screen when X exits.
TODO: find out why characters are drawn upside down, for some bizarre reason
      this happens right after exiting X but the last line is normal.
2009-03-04 01:23:28 +00:00
cegger 05d55db82b mimic fix from nfe(4):
when bus_dmamap_create fails, then the map pointer is undefined.
age_dma_free() assumes, the map pointer is NULL. Make the assumption
always true by setting the map pointer to NULL in bus_dmamap_create()
error path in order to prevent age_dma_free() to call bus_dmamap_destroy()
on an invalid map.
2009-03-03 23:28:44 +00:00
christos ca1ab1c9a6 2 more missed debuglibs. 2009-03-03 22:41:47 +00:00
cegger 4822727b65 make multicast working.
Diff from OpenBSD's if_age.c rev. 1.2.
2009-03-03 22:26:41 +00:00
rmind 4f1720c349 lwp_create: fix the locking bugs on affinity ingerition path (mea culpa).
pset_assign: traverse the list of LWPs safely.
sched_setaffinity: free cpuset (unused path) outside the lock.

Reviewed (with feedback) by <ad>.
2009-03-03 21:55:06 +00:00
macallan 74c35b5de8 Comment out some register initialization which the firmware should have taken
care of anyway. Apparently doing this here disrupts newport's blitter
operations and causes a deadlock.
2009-03-03 19:45:55 +00:00
bouyer d0ac537904 Fix rnd(4) support for Xen3 xennet
Add rnd(4) support to Xen3 xbd
Should fix port-xen/40739.
2009-03-03 19:04:41 +00:00
nonaka 674f8b31d6 do WSMOUSEIO_SETVERSION when WSMOUSEIO_SETVERSION is defined. 2009-03-03 18:43:15 +00:00
nonaka 53eee523f0 use pmf(9) instead of powerhook_*. 2009-03-03 18:42:19 +00:00
explorer c29ff9b310 a better method to truncate at // marks 2009-03-03 16:22:33 +00:00
explorer 31c448a301 Check for NULL return from strdup() 2009-03-03 15:42:43 +00:00
wiz 9a3995e433 Remove weird backslash that somehow must have crept in.
Found by joerg and mdocml.
2009-03-03 15:11:29 +00:00
explorer 7c353a46b6 Ignore the magic // commands in iconv_open(). This was discussed on current-users about a month ago, and ignoring the options was the best suggestion. 2009-03-03 14:39:06 +00:00
nonaka 26e1684598 fix make release. 2009-03-03 09:20:55 +00:00
nonaka 51d7b545e8 fix filename. 2009-03-03 08:02:41 +00:00
wiz 5d5e9aca03 Bump date for previous. 2009-03-03 07:37:48 +00:00
mrg dcd94c7684 enable FXPF_EXT_RFA the same way the cardbus frontend does. 2009-03-03 06:06:40 +00:00
mrg 826af0626f don't enable speedstep on systems with intel 82855GM host bridges. 2009-03-03 06:05:28 +00:00
mrg bcc593b98f put xkbcomp output into /var/db/xkb by default, a place that (now) exists 2009-03-03 06:01:56 +00:00
bad adb98feec9 Only add the ZZ capability for termcap entries that are larger than 1023
bytes.

This fixes the problem that enabling the titeInhibit Xresource of xterm has
no effect, because xterm exports a TERMCAP string without ti/te sequences
but doesn't remove the ZZ capability because it doesn't know about it and
termcap(3) ignores the stringe because of the ZZ.

Discussed with and OK'ed by blymn@.
2009-03-02 22:46:21 +00:00
joerg bae4fdf17e Import pkg_install-20090302:
- plug some file descriptor leaks
- add pkg_info -r
2009-03-02 22:31:13 +00:00
ad dd1969c253 PR kern/40730 any user can crash the system with KERN_SA
Disable SA. It can be re-enabled with sysctl -w kern.no_sa_support=0.
2009-03-02 22:11:28 +00:00
pgoyette 6d1c35419f Remove garbage line that prevents 'build.sh release' from working. The
line contains only a single character 'P' and there is no such file in
the $DESTDIR
2009-03-02 21:32:38 +00:00
ad 822f68cc07 If DEBUG is enabled, drop kpreempt_pri to zero. It means that every
wakeup will cause a kernel preemption, simulating massive concurrency.

Proposed on tech-kern@.
2009-03-02 21:17:29 +00:00
snj 5a51ec05b3 Note that mount(2) and unmount(2) now use kauth(9). 2009-03-02 21:06:09 +00:00
christos 7c8a9296cc Don't produce type mismatch warnings if one side of ?: is "[qual] void *"
and the other side is "[qual] pointer".
2009-03-02 20:53:10 +00:00
rmind 4bd0e7cebc fd_copy: fix off-by-one bug in a race condition path and assert.
Should fix PR/40625.  OK by <ad>.
2009-03-02 19:28:08 +00:00
christos 0283f9fff8 fix debuglib mess! 2009-03-02 19:22:15 +00:00
christos a24ff27d26 more missing debuglibs. 2009-03-02 18:41:00 +00:00
tsutsui f592533590 - add a sanity check for e2fs_inode_size in readsb()
- use EXT2_DINODE_SIZE() rather than sizeof(struct ext2fs_dinode) or
  struct ext2fs_dinode array/pointer to see e2fs_ipb and inode offsets
2009-03-02 11:31:59 +00:00
tsutsui 14c85750c6 Use inodesize to get offset of inode in one more place. 2009-03-02 10:57:03 +00:00
tsutsui 48c2d0ee71 Fix botched logic in inodesize check. 2009-03-02 10:38:13 +00:00
tsutsui 82127a2dd2 Use EXT2_DINODE_SIZE() to get offset of inode, not struct ext2fs_dinode array. 2009-03-02 10:25:00 +00:00
nonaka 94654c3de9 Add missing config_pending_incr()/config_pending_incr(). 2009-03-02 10:17:58 +00:00
dholland 6b7874a086 Move HISTORY to proper place. 2009-03-02 10:16:54 +00:00
tsutsui 1b5cd43c66 Replace a magic number with a new EXT2_REV0_DINODE_SIZE macro. 2009-03-02 10:16:49 +00:00
tsutsui 8676336f2d - accept only EXT2_REV0_DINODE_SIZE inodesize on -O 0
- use inodesize to get offset of inode, not struct ext2fs_dinode array
2009-03-02 10:15:59 +00:00
dholland 442e8c0016 Edit. Sync with reality, at least partway. Bump date. 2009-03-02 10:14:41 +00:00
mjf 3ff7f03905 Typo, "Queueing" -> "Queuing" 2009-03-02 10:08:51 +00:00
nonaka b9670a7b32 Add zboot 2009-03-02 09:59:10 +00:00
tsutsui d0939ef481 Don't use e2fs_inode_size in superblock on E2FS_REV0 file system. 2009-03-02 09:54:49 +00:00