Commit Graph

186097 Commits

Author SHA1 Message Date
pooka
23a5898cdd Attach uhub@uhub (in addition to uhub@roothub, which was already there). 2009-12-04 17:37:05 +00:00
nakayama
26e988e972 Bring together similar definitions of inline functions manipulating
privileged registers using macro.  no functional change.
2009-12-04 17:31:06 +00:00
tsutsui
8f75ef4349 Fix a leftover comment. 2009-12-04 17:28:54 +00:00
pooka
c2e2c94461 Implement enough of uvm_mmap() to make the creative proplib ioctl
copyout code work.  No comments ... okok, if that'll make you leave
me alone: it's ioctl, so it's supposed to be funky (with a score
or two of psychedelic rock).
2009-12-04 17:15:47 +00:00
tsutsui
b57ad1c2ce Use common pmap_bootstrap_finalize() to initialize lwp0 uarea etc.
Compile test only.
2009-12-04 17:11:10 +00:00
tsutsui
45c5695430 Use common pmap_bootstrap_finalize() to initialize lwp0 uarea etc.
Tested on LC630.
2009-12-04 16:57:18 +00:00
pooka
04ec7e76db Provide the default_mapaddr method in default rump emul (since some
kernel callers want to use it).
2009-12-04 16:47:33 +00:00
roy
5f333ecef0 Install our shell subscribers as normal files 2009-12-04 14:44:57 +00:00
roy
69def40f35 Import openresolv-3.3.4 2009-12-04 14:30:01 +00:00
roy
5bcbb70c4f Import openresolv-3.3.4
Changes from openresolv-3.3.3 include:
 * private_interfaces is now shell expandable (ie, fxp*)
 * dnsmasq resolver restarting with DBus is now fixed
 * unbound resolver is sent SIGHUP for reload instead of forced restart
 * subscribers with the execute bit are executed, otherwise sourced into
   a subshell for speed
2009-12-04 14:11:49 +00:00
njoly
25d47bcec5 Remove unneeded ichsmb(4)/nfsmb(4) cross-references. 2009-12-04 13:53:38 +00:00
pooka
60c8f07a95 Remove no longer supported suspend code. 2009-12-04 13:43:28 +00:00
jdc
2e4745d49b Only set 0x4FF in the transmit register for gigabit variants. Set 0x100
otherwise.
2009-12-04 13:35:56 +00:00
apb
fdf694944f Remove definition of GREP variable, which was unused. The only use
of this variable was removed in revision 1.67.
2009-12-04 12:43:56 +00:00
nakayama
f156bb147c s/u_intN_t/uintN_t/ and whitespace nit. no functional change. 2009-12-04 12:24:23 +00:00
nakayama
9491015d8b bus_space_handle_t:
- make _asi and _sasi unsigned to reduce superfluous codes by sign extension.
- remove unused member _virtual.
2009-12-04 12:22:16 +00:00
martin
4052083605 Fix a few nits in gem_detach:
Shuffle some bus_dmamem_ operations around, so they actually clean up
in the correct order.
Do not destroy a callout that might be stopped by if_detach later.
When detaching child devices fails, we have passed the point of no return
already, so complete our own cleanup and return the error in the end.
This happens for example when we have been unable to accomodate all phy
devices at attach time (and this is a separate bug).
2009-12-04 11:55:01 +00:00
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