Commit Graph

160585 Commits

Author SHA1 Message Date
christos
b79c2ef26a no need to have cshbool; just make them int 2007-07-16 18:26:09 +00:00
xtraeme
22d9c7eda3 battery_gtredata: there's no need to set ENVSYS_SVALID on each case,
just set it after the switch.
2007-07-16 18:24:29 +00:00
xtraeme
6897610c87 Disable monitoring in the Integer sensors, they are just informative
and shouldn't need it anyway.
2007-07-16 17:57:41 +00:00
xtraeme
912541575c Disable monitoring in the ACPIBAT_TECHNOLOGY sensor, which is just
informative.
2007-07-16 17:54:46 +00:00
xtraeme
8a3fc18201 This one is shared for Indicators and Integers... update the comment. 2007-07-16 17:51:09 +00:00
xtraeme
d99380c510 Explain that sensor_indicator will be used for indicators and integers. 2007-07-16 17:49:56 +00:00
xtraeme
2557124ac5 There's no reason why integer sensors were disabled for monitoring,
so enable it. This will allow to set a min/max limit for the
macppc/battery.c driver, which uses an integer sensor to report the
battery capacity.

Indicator/Integer sensors will share the /etc/power/scripts/sensor_indicator
script to report the events.
2007-07-16 17:48:52 +00:00
xtraeme
811e1e2e60 Fix a typo: it's ENVSYS_FPERCENT not ENVSYS_FPERCENTAGE.
Bump date.
2007-07-16 17:37:10 +00:00
pooka
63d872ecae Print MNT_GETARGS results in one line to make them display
properly with mount -vvvvvvvvvv
2007-07-16 17:12:03 +00:00
pooka
8f211a8a19 kernfs doesn't support getargs, so fail silently instead of making
a fuss about it.
2007-07-16 17:09:42 +00:00
pooka
704e075311 Make all mount(2) return value error checks against -1. Some file
systems just checked != 0, breaking MNT_GETARGS.  Others worked with < 0,
but make them check against -1 too for consistency.  And sprinkle some
stylish line wrapping where appropriate.
2007-07-16 17:06:52 +00:00
xtraeme
5415c24ed1 aiboost_refresh_sensors: if value returned is 0, invalidate the sensor too. 2007-07-16 16:44:26 +00:00
macallan
c1d4259805 turn pmap_phys_address() into a macro since all the function ever did was
to cast its parameter to paddr_t and return it
approved by mrg
2007-07-16 16:36:06 +00:00
pooka
404c3d29ef 1|2 is more correct when it's 3 instead of 2. This makes calls to
the file server inactive less over-eagerly executed and masks some
problems with the new mounting style.  Effectively, it makes some
file systems such as psshfs mountable again (only without -o allops).
2007-07-16 16:11:23 +00:00
dyoung
c342db9666 Use printf("%zx", arg) instead of printf("%lx", (unsigned long)arg).
Use __arraycount().
2007-07-16 15:55:38 +00:00
vanhu
9f7ae421ea fixed a socket leak 2007-07-16 15:05:10 +00:00
vanhu
0fd2ceaf72 indentation 2007-07-16 15:03:13 +00:00
christos
94ae12d450 Fix '-Ph' segfault; from Greg Woods 2007-07-16 14:39:53 +00:00
christos
1737a18597 PR/36652: Dave Barnes: cbb0: Bad Vcc status once set will not clear
-ThinkPad 570 / PC: Don't write to SOCKET_STAT, which is read-only,
instead write to SOCKET_FORCE.
2007-07-16 14:36:01 +00:00
pooka
395899ddd0 When allocating blocks, check minfree before asking kauth about
suser.  The latter has unknown cost and rarely needs to be called.
2007-07-16 14:26:08 +00:00
christos
ec01a4a425 PR/36650: Michael van Elst: Get rid of bool, because csh uses bool as a small
int.
2007-07-16 14:07:00 +00:00
gdt
e39a74728c Add 29160 to list of supported devices. List it as ASC-29160 instead
of AHA- because that's what the packaging says (apparently short for
"Adaptec SCSI Card 29160", also on the packaging).  Tested on
netbsd-4/i386.

Like pavel's, mine also works at Ultra160:
ahc2 at pci1 dev 5 function 0: Adaptec 29160 Ultra160 SCSI adapter
ahc2: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
st0 at scsibus1 target 5 lun 0: <CERTANCE, ULTRIUM 2, 1914> tape removable
st0: sync (12.50ns offset 127), 16-bit (160.000MB/s) transfers

Bump date.
2007-07-16 14:06:07 +00:00
skrll
fc82b48590 Add fsck(,_ffs} to the install ramdisk. 2007-07-16 13:56:50 +00:00
pooka
c77565e2a3 include quota.h to score definitions used by this header 2007-07-16 13:55:51 +00:00
joerg
2b13049698 Start handling pkg_install as third party package. I'll be responsible. 2007-07-16 13:11:42 +00:00
joerg
d243200850 Import of pkg_install-20070715 from pkgsrc.
This is part one of moving the authoritive version from
src/usr.sbin/pkg_install to pkgsrc/pkgtools/pkg_install/files.

Discussed with and agreed by: jlam@, agc@, adrianp@
Raised issue to and not objected by: core@
2007-07-16 13:01:43 +00:00
marcus
48461668c0 Fixed incorrect logic in mkbd_cngetc() (fixes port-dreamcast/28711). 2007-07-16 12:46:03 +00:00
marcus
34fbc04104 Clear the correct amount of audio RAM in AICA driver (fixes port-dreamcast/35022). 2007-07-16 12:22:53 +00:00
pooka
9ec31d4b95 If the target node exists in rename, do not try to issue a setback
to signal no references, as that is not currently supported for
node_rename().  The removed node will not immediately be reclaimed,
but we can live with that for now.

While here, factor the removal code a bit to share with remove and
rmdir.

fixes PR kern/36637 by reinoud
2007-07-16 09:36:06 +00:00
isaki
d9167e130a Clean up header file. 2007-07-16 07:29:59 +00:00
nisimura
80496a1328 regen usbdevs.h and usbdevs_data.h 2007-07-16 07:08:49 +00:00
nisimura
d99ce83fb8 Redo the previous change, suffered from an accidental removal of ShanTou. 2007-07-16 07:05:27 +00:00
nisimura
ed16ca3c2c add PLANEX/PCI GW-US54GXS USB WLAN stick device ID. Not working well yet.
Linked with AP but no real xfer is observed so far.  Hope this helpful for
further debugging.
2007-07-16 06:56:23 +00:00
he
3bb4d9ddb8 Regenerate configurations after adding COMPAT_40 to GENERIC.in. 2007-07-16 06:35:53 +00:00
he
13a06ef4a8 The COMPAT_AOUT_M68K option now requies COMPAT_40 after the changes
to mount(), so define COMPAT_40 too.
2007-07-16 06:26:54 +00:00
he
040448641c Regenerated files after adding COMPAT_40. 2007-07-16 06:23:58 +00:00
he
42a743dc4a The option COMPAT_AOUT_M68K now requires COMPAT_40 (recent mount changes),
so make sure to define COMPAT_40 too.
2007-07-16 06:23:28 +00:00
dogcow
593a9183f0 Rename bool -> cshbool; despite the name, bool actually holds values other
than 0 or 1. Fixes PR/36650.
2007-07-16 02:26:50 +00:00
macallan
bd5e7f39e5 make the delay()s and spl*()s in bus_space*() functions optional
( enable with options MACE_NEEDS_DELAYS )
mec apparently was the only device that really needed them and that's no
longer the case, at least on my O2.
2007-07-15 23:27:55 +00:00
macallan
01a8ddf94a sprinkle delay() and mec_mii_wait() in MII access functions
with this I no longer get spontaneous reboots during network traffic
2007-07-15 23:24:47 +00:00
wiz
ab6c3b4502 Use HTML escapes. Use Ss for subsection. Correct date. 2007-07-15 21:37:55 +00:00
wiz
680eacb522 Fix Fn abuse. New sentence, new line. End sentence with dot. 2007-07-15 21:33:12 +00:00
wiz
c01b8826d1 Fix Fn abuses. Sort SEE ALSO. End sentences with dots.
Use .Nm more.
2007-07-15 21:31:15 +00:00
wiz
833f95f3dc Sort options. Sync -E argument name with man page. 2007-07-15 21:24:46 +00:00
wiz
e85760e80f Sort options. Use HTML escapes. 2007-07-15 21:24:22 +00:00
wiz
32986e5aa1 No ending dot in Nd. 2007-07-15 21:19:26 +00:00
dsl
de11d360a1 Add the FILECORE filesystem so it gets test compiled. 2007-07-15 19:36:53 +00:00
jmmv
2c0dfb6c62 Add missing file: /usr/share/i18n/esdb/CP/CP922.esdb 2007-07-15 18:23:36 +00:00
he
f4056dae28 Add back in now-obsolete man pages or "aliases" and mark them as
obsolete, so as to better support an UPDATE build.
This concerns SCHED_LOCK(9), SCHED_UNLOCK(9), shed_lock_idle(9),
shed_unlock_idle(9), and scheduler(9).
2007-07-15 18:03:11 +00:00
ad
3ea425911b The power daemon is now an LWP. 2007-07-15 15:27:53 +00:00