Commit Graph

157349 Commits

Author SHA1 Message Date
xtraeme f8fabb9a9e Explicitly initialize lm_sensor->rfact for every sensor's chip. 2007-03-11 21:23:22 +00:00
rmind fd58eec0ea Sync scheduler with reality:
- Separation of context switching and thread scheduling
 - Generic scheduler API for modular implementations
 - New scheduler supporting
OK by matt@
2007-03-11 21:05:57 +00:00
ad 7a902dfca5 PR port-sh3/35971: Mutex error on SH3 DIAGNOSTIC kernels 2007-03-11 20:09:03 +00:00
dsl 6803111cb3 Fix amd64 build for compat sys_stat() changes.
This file isn't included in amd64:GENERIC
2007-03-11 19:36:37 +00:00
dsl 5959b4cbc7 Add a tentative definition for 'struct statvfs'. 2007-03-11 19:34:55 +00:00
apb 7c0e506d3c Adapt to the new MAKEDEV interpretation of -M by passing -MM.
Also pass "-ppax" in an attempt to get improved performance,
but this doesn't really work in the typical case, because the
install ramdisk image contains a version of pax(1) that doesn't
support the -M flag.  (MAKEDEV detects the failure and falls back
to using mknod(8) as usual.)
2007-03-11 19:02:04 +00:00
christos b127b0cff4 more caddr_t lossage 2007-03-11 18:37:46 +00:00
he 881084c9ed Well, as pointed out by is@ for the amiga port, the added indirection
is wrong.  Restore previous behaviour, and add the now appropriate cast.
2007-03-11 17:39:02 +00:00
he 228e24a143 Correct a thinko of mine in the previous change, pointed out by
is@.  Even though the argument type changes as an effect of the
caddr_t removal, there really is no need to indirect where we didn't
before.  Instead, add the appropriate cast.
2007-03-11 17:34:37 +00:00
thorpej 62509c00e0 Actually store the new value in the RAS _lock_cas(). Noticed by Izumi Tsutsui. 2007-03-11 16:46:52 +00:00
apb 1f33f6e66f Test whether pax works; if not, fall back to mknod.
This is intended for use on install media that might not have pax.
2007-03-11 16:08:11 +00:00
apb b76e2d3d5a Document lack of support for -M and -p flags. 2007-03-11 15:54:54 +00:00
apb 76426884d4 Document "-p pax" and "-M -M". 2007-03-11 15:54:10 +00:00
apb f5b5e05c27 * Add "-p pax" flag, to create all device nodes at once using pax,
instead of one by one using mknod.  This is much faster (speed
  increases of up to 20 times have been observed, but 3 to 5 times is
  more common).
* One "-M" flag will create the mfs file system but not redirect output
  to a temporary console; "-M -M" will also redirect output.
* Change the way we accumulate options to pass to MAKEDEV.local.
2007-03-11 15:52:30 +00:00
kent b7fab1d1f2 * codec names for Realtek ALC262, ALC268, ALC861, ALC861-VD-GR,
ALC883, ALC885, and ALC888
* DAC/ADC group definitions for Realtek ALC861, ALC861-VD-GR,
  ALC883, ALC885, and ALC888
2007-03-11 15:42:00 +00:00
xtraeme 0562751ee3 Update for the nslm7x driver:
* For each supported chip, there's a struct lm_sensor array
  that specifies the sensor data, like reg, bank, descr, rfact.

* Rather than having 3 functions to setup the voltage, temp and fan
  sensors, just have one that will do all the three steps looking at
  its struct lm_sensor members, simplifying a lot the code.

and more things that I can remember, our code now is synced with
OpenBSD, IMHO much better to understand and maintain in the future.

Supported chips added with the new code include:

* Winbond: W83627EHF, W83627DHG, W83637HF, W83783S, W83791D, W83791SD,
           W83792D.
* Asus AS9912F.

My new mobo with the Winbond W83627DHG chip correctly reports
the values now:

lm0 at isa0 port 0x290-0x297: Winbond W83627DHG Hardware monitor

[juan@nocturno][~]> envstat -r
      VCore:      1.232 V
       +12V:     12.091 V
      +3.3V:      3.264 V
        +5V:      4.945 V
       VBAT:      3.728 V
System Temp:     36.000 degC
   CPU Temp:     29.500 degC
   Aux Temp:     22.000 degC
    CPU Fan:       1591 RPM
[juan@nocturno][~]>
2007-03-11 15:03:08 +00:00
kent df732e91f1 don't start dmesg lines with \t to do grep easily 2007-03-11 14:34:04 +00:00
kent 88b9b15961 remove DPRINTF() in generic_mixer_init() because they are useless
in many cases.
2007-03-11 13:41:18 +00:00
kent d7d522ea80 - Add jack-sense code for STAC9220 in some DELL models (currently disabled)
- Add DAC/ADC grouping for AD1988
2007-03-11 13:34:40 +00:00
kent c88ac48ab9 reviced Intel Mac support code (currently disabled)
PR#34880
2007-03-11 13:31:36 +00:00
apb 41bcdc8c57 Bump date for previous. 2007-03-11 10:51:03 +00:00
pooka 69011e122a test that write to middle of file doesn't modify size 2007-03-11 10:09:17 +00:00
pooka 19dd9ef4ee don't shrink file size when writing to the middle of an existing file
(mandatory AsiaBSDCon live commit)
2007-03-11 10:08:37 +00:00
mlelstv 99fe08f401 print a size_t value with a size_t format.
The cast is necessary in case someone redefines RT2573_TX_DESC_SIZE.
2007-03-11 09:38:24 +00:00
macallan 5b56050bcf whitespace police, some cleanup - no functional changes 2007-03-11 08:52:12 +00:00
isaki e1947f9eb2 Include appropriate header file. 2007-03-11 08:22:33 +00:00
isaki d30ec9eee3 white space, indent and KNF. 2007-03-11 08:09:23 +00:00
isaki 64e649bb89 Merge #ifdef _KERNEL stuff into one place.
Suggested by tsutsui@.
2007-03-11 07:57:37 +00:00
isaki 2a35e6919b Remove #ifdef _KERNEL since this file is no longer exported.
Suggested by tsutsui@.
2007-03-11 07:57:05 +00:00
tsutsui 1acf24261d Print correct softipl number. 2007-03-11 06:34:53 +00:00
tsutsui 0ed62df703 Fix a comment. 2007-03-11 06:34:24 +00:00
tsutsui 48c4dc47d3 - use splraise4(), which is defined in psl.h
- use splraise6() rather than spl6() for splzs() and splserial()
2007-03-11 06:25:08 +00:00
tsutsui 53e49fd6c8 Remove splzs() definition, which is in <sun68k/intr.h>. 2007-03-11 06:21:46 +00:00
tsutsui 27c7c429f6 Call zsc_intr_soft() directly on softintr() since spltty()
will be set by each handler (zstty_softint() or kbd_zs_softint()).
2007-03-11 06:20:39 +00:00
isaki 3a58b5c6d0 Stop installing <machine/intr.h> on x68k.
Suggested by simonb@ and tsutsui@.
2007-03-11 06:16:02 +00:00
isaki 16cf7dc30e Include <machine/intr.h> only in _KERNEL.
Suggested by tsutsui@.
2007-03-11 06:15:20 +00:00
isaki 44f16b3b10 Remove an extra white space. 2007-03-11 06:01:05 +00:00
thorpej 32a8b62d33 - Shrink ipl_cookie_t from 32-bits to 16-bits (large enough to hold
an SR value or an IPL_* constant).
- Take advange of the smaller ipl_cookie_t to shrink kmutex_t from
  16 bytes to 8 bytes by overlapping storage where possible.
- Implement a RAS-based _lock_cas() for mc68010 systems (Sun2).  See
  sun68k/sun68k/isr.c.

Tested on various m68k platforms, but NOT Sun2.  In any case, at least
Sun2 compiles now.
2007-03-11 05:22:24 +00:00
christos 88b6b36440 open and close envsys; from Cherry. 2007-03-11 01:24:12 +00:00
macallan 2f1817f673 some more overhaul:
- use static consistently
- convert to auconv instead of pretending to support LE samples
2007-03-11 00:36:57 +00:00
macallan d6f540f111 don't pull in stuff we don't actually use:
- nuke mulaw from dbri
- nuke rasops16 and rasops32 from pnozz
2007-03-11 00:35:32 +00:00
matt c50630ea67 Fix LP64 bug. 2007-03-10 23:23:07 +00:00
christos 1e7de3baed bump libssh 2007-03-10 23:08:32 +00:00
christos 9a242cda5a bump major 2007-03-10 23:07:18 +00:00
christos b0c73c7ef0 new openssh. 2007-03-10 23:07:11 +00:00
christos 2cf8149db2 resurect files that we need and make things compile again. 2007-03-10 23:05:24 +00:00
christos 06993fb381 resolve conflicts. 2007-03-10 22:52:04 +00:00
thorpej fb30dca868 Fix more caddr_t fallout. 2007-03-10 22:29:24 +00:00
bouyer 9ee6d7efbb Adjust config for 4.0: use native boot for i386 and amd64, swap i386 and amd64
and remove vax so that images are below 700MB.
2007-03-10 22:11:12 +00:00
dsl 828a0cec1b Welcome to 4.99.14 , New compat LKMs wont load in old kernels due to
changes in the way sys_stat() etc is now done.
2007-03-10 21:47:03 +00:00