185930 Commits

Author SHA1 Message Date
haad
e8e1233552 Switch MKLVM to default value to yes. There are only few bits missing and it
would be great if it can receive more testing.

Oked: core@, yamt@
2009-12-04 11:21:07 +00:00
njoly
743418620c Cleanup interrupt establish error messages. Do not mix
aprint_error/aprint_normal/printf calls for a single line.
2009-12-04 11:13:04 +00:00
njoly
5d456b9df1 Fix NetBSD keyword expansion. 2009-12-04 10:42:39 +00:00
christos
4ab80ffe22 Disable SSL V3 session renegotiation since the protocol parameters of the
old session are not cryptographically tied to the new session ones.
NB: Applications that require session re-negotiation will fail after this
update.
2009-12-03 23:44:33 +00:00
skrll
7268431c30 Apply errata workarounds.
From OpenBSD.
2009-12-03 22:18:04 +00:00
cegger
82b81a0cd1 Enumerate ACPI PCI devices. Allows to link PCI with ACPI devices.
Patch presented on tech-kern@
http://mail-index.netbsd.org/tech-kern/2009/11/28/msg006552.html

'nice work' Jukka Ruohonen
2009-12-03 21:04:29 +00:00
uebayasi
57fef1c87f Add MKZFS to MKEXTRAVARS just to make sure. 2009-12-03 18:26:34 +00:00
tron
6a125b5c44 Add "MKZFS" to either "_MKVARS.yes" or "_MKVARS.no" depending on the
default of this platform. This fixed the build for NetBSD/amd64
and NetBSD/i386.

Yes, this horrible. There should be a better way to handle these
settings in general.
2009-12-03 15:57:18 +00:00
tron
cccb4464c8 Make sure "error" gets initialised. 2009-12-03 15:28:49 +00:00
pooka
1c32fa54df one more path adjustment for rump_vfs_makedevnodes() change 2009-12-03 15:07:09 +00:00
pooka
0cadacacab * create /dev on the rump rootfs automatically
* make rump_vfs_makedevnodes() take a full basepath instead of hardcoding
  an assumption that the device node is created in /dev
  + the caller is responsible that the directory the nodes are being
    created in exists
2009-12-03 15:06:04 +00:00
mjacob
293ca32376 Have as a backup at least *some* usable WWN. 2009-12-03 14:51:48 +00:00
sborrill
e52d21a22a Interim workaround for modern Xeons that don't have the simplistic view of
bus speed and therefore do not support MSR_FSB_FREQ (e.g. X3400). In the
long-term, ACPI should be used for this (c.f. FreeBSD).
2009-12-03 14:47:15 +00:00
sborrill
b25ce49b1e CPU model and CPU extended model cannot simply be summed; the extended model
differentiates different CPUs within a given model type (i.e. model 0xe with
extended model 0x1 is NOT the same as a model 0xf).
Modern Xeons do not support MSR_IA32_EXT_CONFIG, so use model and extended
model correctly to avoid it
2009-12-03 14:44:12 +00:00
pooka
d630c255de vrele, not vput for unlocked devvp 2009-12-03 14:29:04 +00:00
pooka
a1c4673949 Adapt ukfs users to the new ukfs_part interface. 2009-12-03 14:27:16 +00:00
pooka
3b493fbd05 remove unnecessary LDADD 2009-12-03 14:26:44 +00:00
pooka
0c29df1074 Improve the ukfs magicpath interface a bit:
* rename PART to DISKLABEL
* allow to take an OFFSET range to make it possible to access an image
  where there is no disklabel present
* make future extensions easier and less intrusive for the callers
2009-12-03 14:23:49 +00:00
pooka
89d988455a Do bounds-checking before adding host offset. Otherwise the host
offset would be counted in with "size" and incorrect operation
would ensue.
2009-12-03 14:05:46 +00:00
uebayasi
f254ac3fe3 Put ${MKXORG} back to MKVARS. It doesn't exist in bsd.own.mk but used here
to generate th set list keywork "xorg" in list_set_files().  Hopefully fix
some of reported build failures.
2009-12-03 13:45:11 +00:00
pooka
2ce80d0210 Remove last remnants of the long-ago-properly-fixed RUMP_LMUTEX_MAGIC hack. 2009-12-03 13:12:16 +00:00
pooka
4535fac711 Make sure node lengths match in addition to strncmp().
(I thought i fixed this already once?)
2009-12-03 12:54:30 +00:00
pooka
f703feb95e Call spec_init() to avoid device open lossage. 2009-12-03 12:52:42 +00:00
apb
3cdf47a42a Exit with a sensible error message if makeflist output is empty.
This should be better than an incomprehensible error message from
mtree.
2009-12-03 12:44:57 +00:00
pooka
1e98588f3b Decide it's not worth the fuss to have rumpfs as a module and just
hardcode attach into rump_vfs_init().  Saves us from a lot of
pingpong init bouncing from one component to another to get the order
right.
2009-12-03 12:35:34 +00:00
uebayasi
95f55e8fad Remove a superfluous base-extsrc-* entry. 2009-12-03 12:22:58 +00:00
pooka
53ddf73f75 Soft-fail xcall thread creation to make RUMP_THREADS=0 work again. 2009-12-03 12:16:36 +00:00
skrll
2ad57511b0 Make the pdc_pat_io_num and pdc_pat_pci_rt structures static so they're
definitely VA==PA. Being on a stack doesn't guarantee this.
2009-12-03 11:54:09 +00:00
sborrill
d47b1ae24d Add udl(4) 2009-12-03 11:37:55 +00:00
roy
2b3b7ce9ec Fix subst so that the subcribers can restart their daemon. 2009-12-03 10:28:37 +00:00
mrg
1c1100301e s/DEBUG/NOT_DEBUG/ on the intr_establish() re-used message.
it triggers all the time on more-modern systems.
2009-12-03 05:06:16 +00:00
mrg
f2ed47d920 base this on GENERIC.MP. seems just as stable.
turn on esiop/siop now that their interrupts match.
turn off admtemp, since we get a false match.
XXX admtemp_match needs help.
2009-12-03 03:30:02 +00:00
uebayasi
e09a9264c5 Oops. Remove debug echo again. 2009-12-02 17:56:14 +00:00
uebayasi
726e3cc2de Convert make variables ${_MKVARS.yes} / ${_MKVARS.no} to environments
${_MKVARS_yes} / ${_MKVARS_no} to make sure assignments done right both in
make and shell.

Extract important make variables not listed in ${_MKVARS.*}.
2009-12-02 17:51:30 +00:00
pooka
c92b36b85b fix inverted comparison 2009-12-02 17:18:59 +00:00
tsutsui
6cad364852 Use common pmap_bootstrap_finalize() to initialize lwp0 uarea etc.
Tested on NWS-1750.
2009-12-02 15:54:19 +00:00
tsutsui
4dfd269061 Use common pmap_bootstrap_finalize() to initialize lwp0 uarea etc.
Tested on TT030.
2009-12-02 15:53:34 +00:00
apb
26fce401e0 Patches from Lloyd Parkes in PR 41684, plus my changes:
* ${HOSTNAME} is special to bash, so rename the variable to HOSTNAME_CMD.
* Don't use "cd -".
* Don't use only comments in the else part of an if statement.
2009-12-02 15:52:14 +00:00
tsutsui
d2151f7f4f Use common pmap_bootstrap_finalize() to initialize lwp0 uarea etc.
Tested on HP9000/382.
2009-12-02 15:51:12 +00:00
christos
1dc0b61eca If the environment is corrupt, die. From FreeBSD. 2009-12-02 15:50:13 +00:00
tsutsui
3c345377fe Add a common pmap_bootstrap_finalize() function which initializes
lwp0 uarea, curlwp, and curpcb after MMU is turned on, using
lwp0uarea variable saved during pmap_bootstrap() (or equivalent functions)
for pmap_motorola based ports.  Discussed with rmind@.
2009-12-02 15:47:45 +00:00
martti
1a30996c87 Removed obsolete files. 2009-12-02 15:21:37 +00:00
uebayasi
85051a7017 Add EXTSRCS to the list of syspkgs aware variables. Remove debug code. 2009-12-02 15:18:06 +00:00
martti
495b1f79b1 Initial version. 2009-12-02 15:07:09 +00:00
uebayasi
79bf8cee4b Pass the correct ${MKVARS} equivalent value to list_set_files().
XXX list_set_files() needs to be rewritten.
2009-12-02 15:05:55 +00:00
uebayasi
5383775576 Quote variable values from make in case it has spaces. Remove debug print. 2009-12-02 14:32:15 +00:00
uebayasi
62258ab60d Fix previous; don't forget extra vars other than MK*. 2009-12-02 14:28:24 +00:00
uebayasi
7a06940f80 Don't hardcode the list of MK* variables but use ${_MKVARS.yes} and
${_MKVARS.no} provided by bsd.own.mk.
2009-12-02 14:13:12 +00:00
uebayasi
0cd6b4b257 Define lists of MK* variable names as _MKVARS.yes and _MKVARS.no. They're
referred to by syspkg.
2009-12-02 14:11:20 +00:00
skrll
52d0d7030d Define DPRINTF and use it. 2009-12-02 13:49:32 +00:00