dyoung
ee1bfcb3e8
bzero -> memset. Do not "test truth" of pointers, but compare with
...
NULL, instead. Do not gratuitously cast to void *. Use NULL
instead of (type *)0.
No functional changes intended.
2008-10-24 16:54:18 +00:00
matt
cbc61e5fc2
Add ehci/usb support.
2008-10-24 16:49:02 +00:00
matt
2a71ce51c5
Add EHCI attachment for GEMINI port.
2008-10-24 16:48:29 +00:00
cegger
5cbbf5c20d
findroot(): set booted_device also when specifying a network device to bootdev.
...
Useful for booting with root on nfs.
2008-10-24 16:37:25 +00:00
cegger
7f01a821b9
struct device * -> device_t
2008-10-24 16:26:07 +00:00
cliff
d6043b6f56
fix comment regarding IO extent.
2008-10-24 16:18:34 +00:00
matt
0cc8aca036
Make this reflect reality.
2008-10-24 16:17:08 +00:00
wiz
4e1bb8f91c
Fix pasto in previous.
2008-10-24 15:40:21 +00:00
christos
777e210a29
PR/39796: Robert Elz: Document that sigpending can return EFAULT since it calls
...
copyout.
2008-10-24 15:14:48 +00:00
christos
bc44c7d780
don't hold locks in ddb (call ksyms_getval_unlocked()), pointed out by ad.
2008-10-24 13:55:42 +00:00
matt
8e41274d19
Add entry for FA526.
2008-10-24 13:23:45 +00:00
martin
58175029a4
Avoid code duplication: make cpu_lwp_fork() use cpu_setfunc(). Leave
...
the inlinig to the compiler. Suggested by Nick Hudson.
2008-10-24 07:54:41 +00:00
matt
ebde8b5e81
Make this generate less errors when compiling. :)
2008-10-24 05:39:00 +00:00
matt
f759cc96ec
Add support for 16550 chips without an Enhanced Register Set.
2008-10-24 04:43:08 +00:00
matt
f5d7ce3d2f
Add support for Cortina Systems SL3516 eval board.
2008-10-24 04:23:18 +00:00
matt
bca83f03da
Add pci_conf_hook entry. Add pc_cfg_cmd cell for pci_conf_write optimization.
2008-10-24 04:08:48 +00:00
matt
5e827473c5
fix typo (thx nick)
2008-10-23 21:38:39 +00:00
bouyer
3e37931111
Change mfi_mgmt() to take a mfi_ccb and scsipi_xfer as argument, as
...
mfi_scsi_io does. Do not tsleep in mfi_mgmt waiting for completion;
let the caller handle it. If mfi_mgmt() is called with a non-NULL scsipi_xfer
have mfi_mgmt_done() wake it up, else wake up the mfi_ccb.
mfi_poll()/mfi_post() is up to the caller.
mfi_scsipi_request(): handle SCSI_SYNCHRONIZE_CACHE_10 as we do for other
commmands: have mfi_mgmt() fill in the ccb, queue of poll the ccb and
return.
Introduce mfi_mgmt_internal() which behaves like mfi_mgmt() did (tsleep
waiting for completion). Use it for internal and ioctl management
requests.
Fix kern/39297 from Greg Oster (mfi calls tsleep() from mfi_intr()),
tested by Mark Davies.
2008-10-23 21:00:06 +00:00
christos
ff0507541f
don't expose ksyms_lock
2008-10-23 20:41:13 +00:00
apb
9577284633
Don't try to remove trailing newlines from shell variables via
...
constructs like ${var%$nl}. Apparently this allows the Ubuntu Linux
/bin/sh (dash) to be used as a host shell during the build.
Patch from PR 39786 by Andy Shevchenko.
2008-10-23 20:21:57 +00:00
jakllsch
76a01a44a6
Allow wedges to be created for all defined partitions on a GPT disk.
...
Use __arraycount on the GUID to type mapping array.
Add HFS to the list of types with dkw_ptypes.
reviewed by cube.
2008-10-23 19:37:40 +00:00
matt
c6d8e2874c
Rework syscall.c similar to i386. Saves 3KB
2008-10-23 18:13:52 +00:00
hannken
06529f4f6d
Correct previous.
...
- Count frags, not blocks to get the file system size.
- Cannot use blksize() here, it depends on vnode size.
- Correctly update xfersize on short reads.
2008-10-23 17:16:24 +00:00
cube
5d82524163
Fix entries for XF86VM(3), so that MKMANZ is properly handled. Reported by
...
Marcin M. Jessa on current-users.
2008-10-23 16:04:26 +00:00
hannken
02630b7919
When computing the requests hard limit in ffs_snapshot_read()
...
use the file system size, not the size of the snapshot vnode.
2008-10-23 14:25:21 +00:00
blymn
57614abcf2
Conditionalise bypass of veriexec routines on veriexec_strict to prevent
...
loophole if tables fail to load and strict is then raised.
2008-10-23 13:18:14 +00:00
tteras
ede27c75ad
From Krzysztof Piotr Oledzki <olel@ans.pl>:
...
Revert parts of 2008-08-06 commit; the problem those changes address are
already handled in a sensible way by Cyrus Rahman's patch from 2008-03-06.
2008-10-23 10:56:10 +00:00
aymeric
c1b8e3521a
pass the right sensor types so that the kernel doesn't panic() on my
...
iBook G3
2008-10-23 07:35:46 +00:00
plunky
7fe0e23dba
sockopt_setmbuf() may fail, so handle the possiblity
2008-10-22 18:17:46 +00:00
hannken
98f8b098aa
Process FILES section only at "install" time. TOOL_AWK is not yet available
...
for earlier make targets.
Ok: Alan Barrett <apb@netbsd.org>
2008-10-22 17:54:23 +00:00
matt
a96df19b68
Don't enable L4 emul. Add some usb stuff.
2008-10-22 17:38:59 +00:00
apb
66aea1d2dd
Defer the "make obj" step until after tools are built and installed.
...
There may be commands embedded in "!=" assignments that depend on tools
being available, and previously these would have printed error messages
during "make obj". They may still print error messages during "make
cleandir", which (if it is performed at all) is performed before tools
are built.
2008-10-22 17:37:16 +00:00
matt
be32a7ef3c
Adapt to the 3530 address spaces.
2008-10-22 17:29:33 +00:00
apb
e7b9864dba
Move quotation marks to the correct place in eval statements
...
that were broken by the previous change.
2008-10-22 15:20:05 +00:00
apb
675ed64522
Send debugging output to stderr by default, not to stderr.
...
If you really want debugging to stdout, specify "-dFstdout"
in MAKEFLAGS or on the command line.
Discussed in tech-userlevel.
2008-10-22 15:04:49 +00:00
matt
b55adffee3
Don't need nfs_vfs_reinit anymore since we don't resize tables anymore.
...
Move reinit code to init case.
2008-10-22 12:29:35 +00:00
cegger
f982353b74
regen. (how is it possible to have conflicts in the repo in a generated file?)
2008-10-22 12:10:48 +00:00
tsutsui
d7acf79ee6
Sync with src/distrib/i386/cdroms/installcd/boot.cfg.in reg 1.4:
...
> Bump the timeout to 30s, it takes longer to read and digest the information
> esp. if you have not seen it before.
2008-10-22 12:01:59 +00:00
tsutsui
0dfcc311be
Add a boot.cfg file to bootcds as well as i386.
2008-10-22 11:59:24 +00:00
tsutsui
6222fecd93
Add /sbin/dmesg to ramdisk since /kern/msgbuf is a bit annoying.
...
mount_kernfs is still there because there is no size restriction.
2008-10-22 11:58:00 +00:00
ad
83bdb8366d
Fix it again.
2008-10-22 11:57:14 +00:00
ad
0c4a2568ab
Correct previous.
2008-10-22 11:49:23 +00:00
matt
5331076d97
NFS hash tables no longer exist.
2008-10-22 11:36:58 +00:00
matt
a42078ef92
Change NFS to use a RB-tree for its FH->nfsnode lookups.
2008-10-22 11:36:06 +00:00
ad
71781b4471
Set kern.posix_semaphores are runtime so it can be a module.
...
(Picked wrong header the last time.)
2008-10-22 11:25:19 +00:00
hans
af5e538279
fix userret() and resurrect cpu_setfunc() to make vax build again. ok by matt.
2008-10-22 11:24:28 +00:00
ad
52e9644b6b
Make MODCTL_LOAD_FORCE do something.
2008-10-22 11:19:15 +00:00
ad
c81717a5e1
Set kern.posix_semaphores are runtime so it can be a module.
2008-10-22 11:17:08 +00:00
ad
7b228b5a9c
- Be clear about whether module load is explicit or system initiated (auto).
...
- Require that module_lock is held to autoload, so that any preconditions
can be safely checked.
2008-10-22 11:16:29 +00:00
ad
ca4f8376c6
We may want to patch emul::e_sysent[] so drop the const.
2008-10-22 11:14:33 +00:00