Commit Graph

155041 Commits

Author SHA1 Message Date
xtraeme 7921065732 + ug(4) 2007-01-07 03:16:02 +00:00
xtraeme ad691d8e2e ug(4): manual page for the Abit uGuru hardware system monitor
(wiz please review, thanks).
2007-01-07 03:14:09 +00:00
hubertf ad9fa84795 Add what that driver's for.
OK jmcneill@
2007-01-07 02:32:10 +00:00
xtraeme 91e325391c sync with code, preempt wizd and bump date. 2007-01-07 01:44:01 +00:00
xtraeme 8d4275e58d * Remove unused sensors, anyway we are showing just the sensors of what
the BIOS is reporting (and speedfan for windows).
* Simplify the code.
* Remove unused functions and unnecessary variables.
* Provide more rfact values for the voltage sensors (from OpenBSD).
* Remove the limit of 1.5 seconds for refreshing the sensors, it's
  unnecessary... we can read it every time we want.

Now I'm happy with the driver (code and envstat output):

[juan@nocturno][~]> envstat -r
   CPU Temp:     38.000 degC
System Temp:     36.000 degC
    VCORE_A:      1.664 V
      +3.3V:      3.312 V
        +5V:      4.919 V
       +12V:     12.480 V
       VBAT:      3.248 V
    CPU Fan:       3096 RPM
 System Fan:          0 RPM
[juan@nocturno][~]>
2007-01-07 01:39:24 +00:00
jmcneill 44b441e413 Add support for HDTV and VGA connections, as configured by bootloader. 2007-01-07 01:12:42 +00:00
jmcneill 9db92e3203 Rename a few possible avpack values to reflect reality. 2007-01-07 01:08:51 +00:00
jmcneill bce33f601e Remove nForce ethernet hack from machdep and instead call xbox_startup from
cpu_startup, which applies the patch.
2007-01-07 01:04:26 +00:00
jmcneill a733c906b1 Move register definitions to a separate header. 2007-01-07 01:02:34 +00:00
pooka 8456438f43 getcwd wants eofflag - set eofflag in readdir if amount of data is 0 2007-01-07 00:53:13 +00:00
bouyer 1073d668ed - Add or change memory barrier to reflect the related operation
- In xencons_handler(), update in_cons inside the loop, otherwise,
  we would trigger the xenconscn_getc() workaround wich reset cons and prod
  to their original values, and this creates an infinite loop

Should fix the console hang reported by several users on port-xen@.
2007-01-07 00:02:36 +00:00
daniel 83aa19e1b0 Correctly retrieve information from an ext2fs inode's dinode. Fixes
PR 21302.

Ack by christos.
2007-01-06 23:06:18 +00:00
bouyer 3fbcd5f774 Don't try to handle xbd interrupts if the device is not yet connected.
Should fix NULL dereference at boot when more than one xbd device is
configured, reported by Juraj Hercek on port-xen@
2007-01-06 22:07:11 +00:00
cube db31f3b5e0 Mention that newlines mid-statement are allowed, and clarify how
needs-count and needs-flag work, notably for simple attributes.
2007-01-06 21:58:54 +00:00
xtraeme 222455b9dd Add ug0 at isa? commented out (driver for the Abit uGuru
Hardware system monitor).
2007-01-06 21:29:47 +00:00
xtraeme 55694ceabd Driver for the Abit uGuru Hardware system monitor, contributed by
Mihai Chelaru. Minor changes (simplification and KNF) by me.

Thanks.
2007-01-06 21:27:54 +00:00
kardel f891a89782 add ntp-keygen.8 manual page 2007-01-06 21:13:57 +00:00
bouyer 6401b32154 libpam also depends on libkafs now, so .WAIT before building it. 2007-01-06 20:54:37 +00:00
dsl 2e4f7d3057 Document bootxx_fat16 with a short description of why it differs from
bootxx_msdos.
2007-01-06 20:51:54 +00:00
dsl c3c91bb346 Add the 512-byte bootxx_fat16 2007-01-06 20:49:59 +00:00
dsl 728a5d8095 Descend into fatboot, regroup slightly 2007-01-06 20:48:59 +00:00
dsl 693454d602 Change build to allow a fat32 bootstrap to be built from the same sources
(the relevant changes haven't been done though).
Call built binary bootxx_fat16 for consistency.
Use 'push %cs' to push a zero value in places where we had relied on %bx
being zero from much higher up the code.
2007-01-06 20:47:15 +00:00
christos 10fd1e8e3a one more cast. 2007-01-06 20:40:58 +00:00
christos 22f422dc10 register_t is unsigned on sparc/sparc64/sh5/powerpc. This produces warnings
on comparisons < 0, since they can never be true. All register_t's should
be made signed, and this commit should be reverted. For now cast to int,
since the syscall code is a small number and guaranteed to fit.
2007-01-06 20:38:15 +00:00
bouyer 9403f4d239 Don't define dropanyway: label unless ISO or NETATALK is defined. Fix
kern/35364 by Gene ENonymous
2007-01-06 20:38:14 +00:00
jmcneill a33eb10c0b Make sure that we don't use the amdpm timecounter on Xbox. 2007-01-06 20:25:01 +00:00
kardel dbbbd5d806 import NTP 4.2.4 2007-01-06 19:45:21 +00:00
jmcneill e80795da77 Comment out icsphy and ukphy for now; this makes both 1.1 and 1.6 Xboxes
boot. From Andrew Gillham.
2007-01-06 19:29:36 +00:00
jmcneill 643b8aef05 Report the version string from the PIC16LC. 2007-01-06 19:11:08 +00:00
cube c93963e680 Make deffilesystem check all defined options, not just defopttab (which
ought to be empty nowadays).
2007-01-06 18:54:32 +00:00
cube 303f904375 config(1) should not allow a deffs to use the same name as a previous
defflag/defparam.
2007-01-06 18:52:47 +00:00
jmcneill 3330cd5795 No longer required as we now have a C implementation in dev/iic/pic16lc.c 2007-01-06 18:43:27 +00:00
jmcneill ded203738f Use the pic16lc@iic driver for setting the system LED, rebooting, and
powering off the machine instead of the assembly code in pic16l.S
2007-01-06 18:42:36 +00:00
jmcneill 33e535f8fd Provide external functions for setting the LED, rebooting, and powering off
the system.
2007-01-06 18:38:28 +00:00
kent 52bad336b0 * generic_mixer_default()
make the default values of bidirectional pins `output' because
 they were often the main reason of no sound problems.

* add stac9221_mixer_init()
 It has a code for Intel Mac but it is disabled for now.
2007-01-06 18:35:35 +00:00
pooka a67e4ce37f * do mount as a forward operation instead of a callback
* process -o args for mount
2007-01-06 18:25:19 +00:00
pooka 7cc096d8ec * get rid of the mount callback; it's no great surprise to the
server that it needs to mount the file system backend if it wants
  to call mount
* provide some options for getmntopts(), assume that callers will parse
  command line (or fstab) args
* reorganize the puffs_cc interface just a bit, preparing for a bigger
  revamp later
2007-01-06 18:22:09 +00:00
jmcneill 555c5f96e9 Add Xbox Serial EEPROM driver to the sample Xbox config. 2007-01-06 18:05:20 +00:00
jmcneill 8ea80379e0 Microsoft Xbox serial EEPROM driver. Currently reports the system serial
number as sysctl machdep.xbox_serial.
2007-01-06 18:04:53 +00:00
pavel 104e8925ea remove some leftover msgbuf manipulation from pmap.c, as done for the i386
and amd64 versions before. Inspired by PR port-i386/34186 from Wolfgang
Stukenbrock.
2007-01-06 17:48:52 +00:00
pavel a35a158dde PR port-i386/34186 by Wolfgang Stukenbrock:
mapping of msgbuf during startup may map invalid physical adresses

Apply a similar patch as in the i386 case.
The amd64 version was supplied by Blair Sadewitz, thanks.
2007-01-06 17:03:11 +00:00
jmcneill 4a2776e2e1 Fix __KERNEL_RCSID text (missing $) 2007-01-06 16:57:19 +00:00
pavel 74a63dbe33 correct whitespace in last commit. 2007-01-06 16:22:46 +00:00
christos 467eaaa9c1 Add generic TOD support. From Bucky Katz. 2007-01-06 16:18:18 +00:00
christos 897538853e Fix branch handling in ddb. From Bucky Katz. 2007-01-06 16:14:44 +00:00
christos acedbdccc7 Update to the latest version. From Bucky Katz. 2007-01-06 16:10:32 +00:00
christos ee28c46912 Update the gpio code to the latest. From Bucky Katz 2007-01-06 16:08:54 +00:00
kardel d1d4526d02 Import ntp 4.2.4 2007-01-06 16:04:26 +00:00
pavel 9e8014fe50 PR port-i386/34186 by Wolfgang Stukenbrock:
mapping of msgbuf during startup may map invalid physical adresses

"If the last available physical memory segment on a system is less 16k,
than the startup code that will map the kernel message buffer, will fail
and map physical pages behind the last segment.  This may either only lead
to a message buffer without physical memory behind it, or to an
overlapping message buffer with something else."

Fix by allowing multiple physical memory segments to be used for msgbuf.
Also remove some leftover msgbuf manipulation from pmap.c.

Fix supplied by Wolfgang Stukenbrock in the PR, with some modifications
from me, mainly to use the already existing constant VM_PHYSSEG_MAX as the
static limit of number of msgbuf segments.
2007-01-06 15:29:02 +00:00
wiz df83b9e26d bzip2-1.0.4 is out. 2007-01-06 15:26:33 +00:00