Commit Graph

155259 Commits

Author SHA1 Message Date
drochner
9659abca43 Allocate storage for status change notifications dynamically, depending
on the number of ports. One byte wasn't even sufficient for 8 ports.
The code doesn't make use of the status bits yet, but it might be used
to speed up the exploration loop later.
2007-01-07 16:50:02 +00:00
drochner
bd2757a152 Remove the code which disables port status change interrupts for 1s
when one occured -- this makes that events get lost (or delayed until
the next change), in particular in the handover process from the EHCI
to a companion controller, laeving the port dead under some circumstances.
This fixes the "can't reconnect" symptom for me.
I don't see why the interrupt should be disabled - it is acknowledged
in the interrupt handler and shouldn't be active again until the next
status change.
2007-01-07 16:44:44 +00:00
jmcneill
702303e8a7 Don't inherit the console's rasops flags when creating a new screen. 2007-01-07 16:34:32 +00:00
elad
190f747fee Add a memoryallocators(9) man-page to give a short summary of memory
allocators available in the kernel.

Tons of input from YAMAMOTO Takashi, thanks!
2007-01-07 15:37:51 +00:00
rillig
cb42376f86 See also: ktrace(2). 2007-01-07 15:33:48 +00:00
elad
cf9d4bd6af Update copyright/license, okay blymn@ few days ago. 2007-01-07 13:55:17 +00:00
mlelstv
f192518511 Make watchdog poll interrupts before re-initializing the chip.
Fixes kern/34834.
2007-01-07 12:57:20 +00:00
jdc
517cd3237d Allow this to compile with -DDEBUG: convert proc to lwp->l_proc. 2007-01-07 12:54:57 +00:00
jdc
9b64ec0143 Allow this to compile with -DDEBUG: convert proc to lwp->l_proc. 2007-01-07 12:32:29 +00:00
tsutsui
990e13dfb3 Typo. 2007-01-07 12:10:18 +00:00
isaki
21b8eaae35 Correct indent. It's important around many #ifdefs. 2007-01-07 10:36:56 +00:00
isaki
be241a0e51 Correct indent. 2007-01-07 09:33:18 +00:00
kardel
68b6494a1c ntp 4.2.4 import: fix white space format so web site extraction works again 2007-01-07 09:01:30 +00:00
isaki
577b5df548 Sync with reality. The default timeout is 1200 sec. 2007-01-07 08:53:04 +00:00
kardel
0fc3e75458 ntp 4.2.4 import:
sync release date with official one.
  Add comment about dynamic interface tracking capability
  of ntpd.
2007-01-07 07:49:18 +00:00
jmcneill
20e62597f7 For shadowfb, only allocate the memory we're going to use rather than the
entire possible framebuffer size allowed on this machine (4MB).

Fix a bug in av pack detection to make HDTV actually work now.
2007-01-07 04:53:29 +00:00
dogcow
bee2705c99 %d -> %ld, so that building on alpha doesn't fail. (also print more useful
errors - x bytes written, should be y.)
2007-01-07 04:16:57 +00:00
xtraeme
697ff4bf6c Mention ug(4), contributed by Mihai Chelaru. 2007-01-07 03:17:28 +00:00
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