Commit Graph

2026 Commits

Author SHA1 Message Date
jnemeth f587e8e88c add support for devctl properties 2007-03-08 23:23:45 +00:00
xtraeme efdbf7cdc4 * Remove unneeded headers.
* KNF, u_intx_t -> uintx_t
* There's no need to use additional variables for iobase and iot, just
  use the members from ia.
2007-03-07 17:32:47 +00:00
christos 53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
xtraeme 840604a1a8 Replace simple_locks with mutexes, reviewed by ad@. 2007-02-18 23:34:55 +00:00
ad d14a7576fc Fix spllowersoftclock() fallout. 2007-02-16 13:42:29 +00:00
reinoud 43061c75ae Rename the B_XXX flag to B_DEVPRIVATE flag since it was never used for
debugging and its main use is in device drivers. Its used there to signal
that the flagged buffer has a special meaning or should be handled
differently.

OK'd by Bill Sudenmund on tech-kern.
2007-02-15 18:33:26 +00:00
hubertf eda05c6413 Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>

Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.
2007-01-29 01:52:43 +00:00
xtraeme af41d0fea7 Merge defs from ugvar2.h into ugvar.h, suggested by tsutsui. 2007-01-20 18:32:41 +00:00
xtraeme 7a516bb827 PR kern/35438: uGuru 2005 support from Mihai Chelaru.
Also replace bcopy with memcpy.
2007-01-20 18:18:51 +00:00
cube 1ff20ac39c Make COM_HAYESP compile again. It assumes no register mapping is needed. 2007-01-10 20:59:10 +00:00
cube 16cd257563 Complete initialiser. 2007-01-10 20:38:32 +00:00
cube 747e90f203 Remove traces of scd(4), which apparently never actually had a driver in
the tree.
2007-01-09 21:59:08 +00:00
cube ecacf90d2f Remove stale config(5) entries for unexistent wl(4).
Ok'd by matt@.
2007-01-09 19:19:09 +00:00
cube ea085d876a Disable daic(4). The driver is not finished.
Ok'd by martin@.
2007-01-09 15:34:59 +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
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
isaki 2410b4468e Correct indent. 2007-01-02 02:23:51 +00:00
cube 4cb6e56c76 Remove an error message about having FSTAR'd instances attaching at pcppi.
It's actually fine to have them.  Somehow I wish there was a way to express
that there can be only one device of that kind attaching on a given pcppi.

All of this is generic for all indirectly configured bus (i.e., specified
by kernel configuration).

Reported by uwe@.
2006-12-10 22:10:57 +00:00
uwe dbbb1cca5e When comlaining about child* attachment print "WARNING" and the child
name.  Makes it more obvious what the problem is, and easier to spot
in the dmesg output after quiet boot warns about "errors" while
detecting hardware.
2006-12-10 03:24:29 +00:00
uwe ba06ad7411 Add missing aprint_naive to the attach routine. 2006-12-10 00:40:10 +00:00
wiz 6919c6578c s/independant/independent/, from Zafer. 2006-11-24 22:04:21 +00:00
wiz fa34b615d2 Correct spelling of "immediate(ly)". From Zafer. 2006-11-24 21:23:07 +00:00
christos 168cd830d2 __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
cube c3fe38a0cd config_found() is for direct configuration, not indirect.
Change the code to use config_search/config_attach, and print a warning
when the user has device* at pcppi? in the kernel configuration file.
2006-11-05 21:06:26 +00:00
reinoud f64c33e88b Define DPRINTF(x) as an empty block to prevent gcc from complaining about
empty statements. This is still an empty statement but it will be filtered
out still.
2006-10-20 18:14:59 +00:00
pooka 1810947bb4 make compile by using __unused & other necessary tricks
and remove <0 comparisons for bus_size_t.  if a port wants signed
bus_size_t, it just might have to accept it can't use this driver.  *snif*
2006-10-16 12:58:54 +00:00
christos 4d595fd7b1 - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
christos 82e1169df4 fix empty if 2006-10-04 15:49:59 +00:00
christos 12288ce635 Fix empty if 2006-10-04 15:48:47 +00:00
jmcneill f135e0d607 Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
2006-09-24 03:53:07 +00:00
matt b9525730ee deal with 'bool' definitions 2006-09-11 03:37:12 +00:00
dogcow f2d329dca0 remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP. 2006-09-07 02:40:31 +00:00
christos e82a0f88ae add missing initializer. 2006-09-03 21:45:28 +00:00
christos 77c903b90a add missing initializer 2006-09-03 21:42:55 +00:00
christos 0c58aff5f5 add missing initializers 2006-09-03 06:46:22 +00:00
christos c11c8c78df add missing initializers 2006-09-03 05:29:46 +00:00
christos 60dfc6ed9c add missing initializers 2006-09-03 05:16:01 +00:00
christos eb7cb3e07d - add missing initializers
- remove impossible comparison
2006-09-03 05:12:54 +00:00
christos 624d950194 add missing initializer 2006-09-03 05:11:30 +00:00
christos 5ec7f32544 add missing initializers 2006-09-02 17:02:57 +00:00
christos a569a4d291 add missing initializer 2006-09-02 07:01:20 +00:00
christos 989f6e4d42 avoid empty if body. 2006-08-30 16:45:40 +00:00
christos a7239032fa Fix initializer 2006-08-30 16:42:04 +00:00
christos 46d616fab0 fix incomplete initializers. 2006-08-30 15:46:58 +00:00
christos 13714b86fb comment out impossible comparison. 2006-08-30 15:27:18 +00:00
christos afca61baba add missing initializers 2006-08-30 02:09:40 +00:00
christos 37fbc95466 add missing initializer 2006-08-30 01:27:56 +00:00
christos 0340a0cbcd fix incomplete initializer 2006-08-30 01:24:40 +00:00
christos cdda2124d1 Fix incomplete declaration. 2006-08-27 23:33:35 +00:00
christos 35ca6c8b5b Fix all the -D*DEBUG* code that it was rotting away and did not even compile.
Mostly from Arnaud Lacombe, many thanks!
2006-08-17 17:11:27 +00:00