Commit Graph

45063 Commits

Author SHA1 Message Date
tnn a1ab0c29a3 Define microvoltage scale factor which was previously a magic constant. 2007-05-02 11:40:44 +00:00
skrll 13951ee3d4 Add an INSTALL kernel for landisk and enable building it.
Also add an installation/misc directory for a boot.fs image which is WIP.
2007-05-02 08:02:00 +00:00
bouyer 982bad256f Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.
2007-05-01 17:18:52 +00:00
msaitoh 8ce1f4fff2 fix typos 2007-04-29 20:23:34 +00:00
isaki 174e071c25 Remove obsoleted #undef. 2007-04-29 05:31:00 +00:00
christos 219dcac37d Fix compilation when NIOAPIC == 0 2007-04-28 14:51:58 +00:00
joerg 22ee755a55 Make the beep on resume optional. It gets controlled by
machdep.acpi_beep_on_reset.
2007-04-28 14:03:00 +00:00
bouyer 1e1bf73d65 IOCTL_PRIVCMD_MMAPBATCH: mimic linux behavior and return no error
even if a pmap_enter_ma() (the underlying hypercall, really) returns one.
The fact that the mapping failed is notified to the called by oring
0xF0000000 to the mfn.  This makes Xen 3.0.4 HVM work.
2007-04-27 22:10:39 +00:00
garbled ca2a9952ca Add slide to INSTALL and remove SLIDE irq hack. It turns out to not do
anything after all.
2007-04-26 19:44:02 +00:00
skrll 548803dea8 Fix some comments. 2007-04-26 19:43:21 +00:00
garbled 1d37c1ae36 Rather than use the residual data to guess that we have a raven pchb,
note the raven pchb in device_register, and then look that up when
attaching the pcib.
2007-04-26 19:27:04 +00:00
garbled 5ab2832938 Add special code to properly detect a W83C553 pcib sitting on a RAVEN
based machine.  When we do, we have to frob a few special bits on the
pcib to finish the setup that the prom didn't bother completing for us.
With this change, NetBSD finally runs on the MTX604 board.. Many thanks
to John Baker for providing remote access to the machine, and rebooting
it repeatedly for me.
2007-04-26 17:39:54 +00:00
dyoung 8e702cd95d Add ATADEBUG to ease debugging. 2007-04-26 17:21:18 +00:00
dyoung 1348389da4 Add ATADEBUG for ease of debugging. 2007-04-26 17:11:35 +00:00
njoly e703aa9569 Save the translated error value from Native to Linux, used by tracing
functions.

Reviewed by manu.
2007-04-26 12:54:17 +00:00
matt bb1c05a804 Make this compile again if COMPAT_ULTRIX is enabled. 2007-04-25 12:53:46 +00:00
manu f4aafa3084 Fix build 2007-04-25 03:12:56 +00:00
dyoung c89841d199 Add ATADEBUG so that a person can patch atadebug without having to
recompile the kernel.
2007-04-23 04:55:07 +00:00
dyoung 1a779e29db Delete noisy diagnostic printf. 2007-04-22 19:26:25 +00:00
dsl b8fbaf8c4b Change the way that emulations locate files within the emulation root to
avoid having to allocate space in the 'stackgap'
  - which is very LWP unfriendly.
The additional code for non-emulation namei() is trivial, the reduction for
  the emulations is massive.
The vnode for a processes emulation root is saved in the cwdi structure
  during process exec.
If the emulation root the TRYEMULROOT flag are set, namei() will do an initial
  search for absolute pathnames in the emulation root, if that fails it will
  retry from the normal root.
".." at the emulation root will always go to the real root, even in the middle
  of paths and when expanding symlinks.
Absolute symlinks found using absolute paths in the emulation root will be
  relative to the emulation root (so /usr/lib/xxx.so -> /lib/xxx.so links
  inside the emulation root don't need changing).
If the root of the emulation would be returned (for an emulation lookup), then
  the real root is returned instead (matching the behaviour of emul_lookup,
  but being a cheap comparison here) so that programs that scan "../.."
  looking for the root dircetory don't loop forever.
The target for symbolic links is no longer mangled (it used to get the
  CHECK_ALT_xxx() treatment, so could get /emul/xxx prepended).
CHECK_ALT_xxx() are no more. Most of the change is deleting them, and adding
  TRYEMULROOT to the flags to NDINIT().
A lot of the emulation system call stubs could now be deleted.
2007-04-22 08:29:55 +00:00
rjs cbefa60fe8 Don't need to save lwp for use in lwp_exit2(). 2007-04-21 10:45:45 +00:00
kiyohara 0b8b4bf965 + Add file-system HFSP (commented out).
+ Add pxartc and lcd(commented out) and pxaudc and pxamci (commented out).
  lcd and pxamci not support yet.
+ Remove slhci.
+ Change name of expansion bords the console-{hw,st} from waysmall-{hw,st}.
  Because The gumstix Co. changed the name.
2007-04-20 13:22:21 +00:00
kiyohara 3af5743d0a Change to use pxapcic from sa11xx_pcic.
Support multiple socket.  But not tested.
2007-04-20 13:00:08 +00:00
kiyohara e0c180145d Add whitespace and tab. 2007-04-20 12:48:52 +00:00
xtraeme 855e06cf6a ALL: add ug(4).
GENERIC/GENERIC_LAPTOP: add ug(4) commented out.
2007-04-19 14:34:35 +00:00
tnn 88ed5f6036 We can't support them in a clean way, but still note the bus addresses
of the disk failure LEDs.
2007-04-18 14:49:44 +00:00
skrll 8ac9999f27 Whitespace. 2007-04-18 13:41:37 +00:00
skrll 974981b1d9 Bump the initial stack size limit to bring in line with other ports.
newfs_lfs doesn't core by default now.
2007-04-18 13:39:37 +00:00
dyoung 8b1b24ba1a Add definitions for the AMD Elan 520 Host Bridge Master Interrupt
Control register.
2007-04-18 04:02:27 +00:00
mhitch a7afe56d70 Fix polyd trapping when running pic and grn during groff tool builds on
vax.  From OpenBSD:

Addressing mode work by Jim Uhl:
    - fix PC relative byte displacement in getaddr_byte
    - add support for word displacement to getaddr_byte

This allows certain libm inverse trig functions to work on systems
that lack a native polyd instruction.
2007-04-17 22:47:50 +00:00
tron a1ecd00f0a Comment out fwohci(4) because it doesn't support ACPI suspend/resume.
Pointed out by Jared D. McNeill on "port-i386" mailing list.
2007-04-17 14:17:28 +00:00
tron c7e599195d Add and enable IEEE1394 support. 2007-04-17 14:06:52 +00:00
sekiya e2a64ba528 Nuke homegrown PCI configuration routines. #ifdef'd out by tsutsui@ a long
time ago; this is just garbage collection.
2007-04-17 12:41:57 +00:00
sekiya 1eb315b681 g/c unused file. 2007-04-17 12:29:06 +00:00
dyoung 4c03b53e43 In admsw_intr(), print any events we do not expect. 2007-04-17 03:33:48 +00:00
jmcneill 1fcc2e9929 Fix crime_intr so intr handlers registers w/ crime_intr_establish actually
get called. "seems more right to me" mrg@
2007-04-16 23:31:04 +00:00
ad 9e3116ecc8 Fix error in previous. 2007-04-16 19:25:04 +00:00
ad 10c8708a61 + x86/sysarch.h 2007-04-16 19:16:36 +00:00
ad 8aefa8aa0c Share the sysarch stuff between the x86 ports. PR kern/36046. 2007-04-16 19:12:17 +00:00
ad e315f29059 Fix crappy locking around LDT updates. i386 part of PR kern/36046. 2007-04-16 17:24:19 +00:00
christos 27db97ce3a As noted by uwe, we need to also save %edx because it can be used with
the regparm calling convention.
XXX: The c stub should be replaced with an assembly one.
2007-04-16 15:02:25 +00:00
njoly 052dae8c13 Add PT_MACHDEP_STRINGS, for kdump output. 2007-04-16 12:22:26 +00:00
jmcneill 6f89ab967c Flush the write buffer as appropriate in the MACE case as we do in the
non-MACE cases. From sekiya@
2007-04-16 12:19:00 +00:00
christos 7df3bf9f10 save and restore %eax, %ecx, otherwise profiling does not work properly.
From Anon Ymous. Example program that fails:

	int
	main(int argc, char *argv[])
	{
		return argc;
	}
2007-04-16 03:49:52 +00:00
matt f6c632db63 Add TURBOChannel machine-dependent include for VAX. 2007-04-15 23:27:02 +00:00
jmcneill c1ee0b42d1 We don't support WSDISPLAYIO_[SG]VIDEO, so don't try to hide it. 2007-04-15 20:37:24 +00:00
matt b3fb0316d2 Convert to cpufunc_* to struct initializers. 2007-04-15 20:29:21 +00:00
tnn 368b74aabf Correct envsys ranges. From njoly@ 2007-04-15 12:38:09 +00:00
jmcneill 69a102c0bb Disable the CRIME watchdog for now; looks like we can't keep up with it
under load. With this patch, my O2 is finally running stable.
2007-04-15 04:42:55 +00:00
jmcneill ed55554c70 We don't use the RTC interrupt (yet), so mask it as well. 2007-04-14 20:57:55 +00:00