Jim Pirzyk
814c95264f
Added the linux_sysinfo function to implement sysinfo(2).
...
PR: kern/27759
Reviewed by: marcel
Approved by: marcel
MFC after: 1 week
2001-07-23 06:22:10 +00:00
Jim Pirzyk
3d39316d2b
Added the proper arguments the sysinfo system call
...
PR: kern/27759
Reviewed by: marcel
Approved by: marcel
Obtained from: Linux man page sysinfo(2)
MFC after: 1 week
2001-07-23 06:17:34 +00:00
Assar Westerlund
8f8cd845fa
add %option nounput
2001-07-22 23:15:14 +00:00
Ian Dowse
071dbcd2cc
Add a few missing spl calls in preparation for an MFC of the miibus
...
support.
2001-07-22 21:39:54 +00:00
Kris Kennaway
6521db35ae
Note that the umass device requires scbus and da
2001-07-22 21:35:02 +00:00
Ian Dowse
2cc42e154e
Remove an old hack that remembered if the card type was Linksys by
...
storing a flag in the global variable 'linksys' during the probe
routine and reading it during the attach routine. We now have the
ED_VENDOR_LINKSYS vendor code stored in sc->vendor, so check that
instead.
2001-07-22 21:31:44 +00:00
Hellmuth Michaelis
f305cfab6a
make driver compile under 4.3-STABLE
2001-07-22 19:55:05 +00:00
Mitsuru IWASAKI
56d8cb57b9
Don't do sleep state transition if specified sleep state is not
...
supported by the system.
2001-07-22 19:13:54 +00:00
Ian Dowse
dc53090488
Attach the miibus for Linksys/Dlink cards from the attach routine,
...
not from the probe routine. This was an oversight when I originally
ported the miibus support to -current, though it was mostly harmless.
We now set the vendor code to the new value ED_VENDOR_LINKSYS in
ed_pccard_Linksys() at probe time. Then ed_pccard_attach() checks
the vendor code, and sets up the miibus if appropriate.
Reviewed by: imp
2001-07-22 18:58:44 +00:00
Matthew Dillon
4fec48c6fe
As per further discussions on hackers redo the SIGCHLD patch to not generate
...
an unexpected user-visible side effect with the sigaction flags. Also cleanup
a minor union issue.
Submitted by: Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
MFC addendum: MFC will be combined w/ original commit
MFC after: 3 days
2001-07-22 18:47:31 +00:00
Kazutaka YOKOTA
a4fc697e58
- Fix "off by one" error in VT_WAITACTIVATE. Correctly accept
...
0 as meaning the requesting vty.
- Accept 0 as the requesting vty in VT_ACTIVATE as in VT_WAITACTIVE.
PR: 24423
MFC after: 10 days
2001-07-22 13:58:23 +00:00
Assar Westerlund
17b65d5532
revert previous commit (bad style and not needed)
...
Noticed: bde
2001-07-22 10:24:31 +00:00
Mike Smith
0bc88fe1eb
Add another Dell 3/Di PCI ID. You'd think they had enough of these
...
already...
2001-07-22 04:06:36 +00:00
Assar Westerlund
8cfdf32239
add prototype for dosetrlimit
2001-07-22 00:21:19 +00:00
Assar Westerlund
51bb585207
revert previous accidental commit
2001-07-22 00:12:23 +00:00
Assar Westerlund
57762323e5
get rid of some printf and pointer type warnings
2001-07-22 00:12:22 +00:00
Assar Westerlund
81e8cb900e
add <sys/sytm.h> (for cpufunc.h -> rdtsc)
2001-07-21 20:53:42 +00:00
Assar Westerlund
129a62d7c7
add <sys/cdefs.h> (for __unused and such)
2001-07-21 17:12:44 +00:00
Assar Westerlund
20de0f980e
null_do_probe: mark as unused
2001-07-21 17:10:30 +00:00
Assar Westerlund
0379d76358
(vm_page_select_cache): add prototype
2001-07-21 17:08:15 +00:00
Robert Nordier
816aa3c0b5
Unset MAINTAINER.
2001-07-21 14:32:47 +00:00
Hellmuth Michaelis
4d02f92dd2
update step.
2001-07-21 11:31:27 +00:00
Mike Smith
bfae45aa43
Convert from acpi_strerror() to AcpiFormatException()
...
Fix dangling include of the dear departed acpi_ecreg.h
2001-07-21 10:24:37 +00:00
Mike Smith
9d839ea8e4
Update the OSD module to match the ACPI CA 20010717 import.
...
Submitted by: "Grover, Andrew" <andrew.grover@intel.com> (OsdHardware.c)
2001-07-21 04:10:01 +00:00
Mike Smith
787fa5b805
Implement a "proper" timecounter hung off the ACPI timer device.
...
This code is based on the mp_clock code by phk. It attempts to
detect the PIIX4 (see comments for details) and use a workaround
for its problems.
This code is experimental, and could use some testing and review by a
timekeeping enthusiast.
2001-07-21 04:08:42 +00:00
Mike Smith
da3b867e37
Merge the EC register definitions into the EC module proper, they're not
...
used anywhere else.
AcpiOsSleepUsec() -> AcpiOsStall()
2001-07-21 04:06:44 +00:00
Mike Smith
ad5dc75bb4
Use our saved copy of the FADT rather than fetching it again.
2001-07-21 04:05:32 +00:00
Mike Smith
67ce16735b
Don't call ourselves a "control method" anything, that's not useful.
...
Move the "button pressed" diagnostics to the point where we can print
out which button was actually pressed.
2001-07-21 04:05:08 +00:00
Mike Smith
acf72ef4f1
The API for loading tables changed (we no longer explicitly search for the
...
RSDP, it's now found via a callback).
AcpiOsSleepUsec() went away, use AcpiOsSleep() instead (we could use
AcpiOsStall() too)
AcpiFormatException() was changed to make more sense (it behaves like
our old acpi_strerror() did), so throw acpi_strerror() away (still
#defined in acpivar.h though, we need to sweep these seperately).
2001-07-21 04:04:03 +00:00
Mike Smith
0b920e45df
Merge local changes with the ACPI CA 20010717 import.
2001-07-21 03:57:37 +00:00
Mike Smith
4ad41296a7
This commit was generated by cvs2svn to compensate for changes in r80062,
...
which included commits to RCS files with non-trunk default branches.
2001-07-21 03:55:17 +00:00
Mike Smith
9d5c013ca4
Vendor import of the Intel ACPI CA 20010717 snapshot.
2001-07-21 03:55:17 +00:00
Mike Smith
bb83d65cfd
This commit was generated by cvs2svn to compensate for changes in r80060,
...
which included commits to RCS files with non-trunk default branches.
2001-07-21 03:55:15 +00:00
Mike Smith
2e5c56cb6b
Vendor import of the Intel ACPI CA 20010717 snapshot.
2001-07-21 03:55:15 +00:00
John Baldwin
a5dd141db6
Add a missing ~ so that the LO_INITIALIZED flag actually gets turned off
...
in witness_destroy().
2001-07-20 23:29:25 +00:00
Jim Pirzyk
5ecfb8f922
Put a knob in the kernel config files to tweak the user max stack size.
...
PR: kern/28925
Reviewed by: bakul@bitblocks.com and tlambert2@mindspring.com on -arch.
MFC after: 1 week
2001-07-20 20:26:34 +00:00
Brooks Davis
9753d2f8ae
gif isn't a count device anymore so don't put a number after it.
...
Pointed out by: brian
2001-07-20 19:53:08 +00:00
Kazutaka YOKOTA
9a1d7da7c1
Fix typo; the meaning of the 3rd parameter to genkbd_keyaction() is
...
'up' rather than 'down'.
PR: 22466
MFC after: 10 days
2001-07-20 14:49:54 +00:00
Kazutaka YOKOTA
34e45f9e71
Fix off by one error for ESC[1J.
...
PR: kern/18381
MFC after: 10 days
2001-07-20 14:08:12 +00:00
Kazutaka YOKOTA
4dbf3ccb9b
Define a couple of subroutines to replace duplicated common code. You
...
shoulnd't see any functional difference.
2001-07-20 13:10:59 +00:00
Kazutaka YOKOTA
764952572b
Return consistent key action codes at key press and release
...
events. Otherwise you would see unexpected results if shift or
locking keys are defined to give different actions depending
on other shift/locking keys' state.
Please keep the ukbd module and the kernel in sync, otherwise
the USB keyboard won't work after this change.
MFC after: 10 days
2001-07-20 13:05:57 +00:00
Mike Smith
f7ae7f1d00
We haven't used this for ages, and we're not going to either.
2001-07-20 09:44:55 +00:00
Nick Hibma
53f8b5d2f1
Support for USB floppies based upon SMSC USB FDD controller.
...
PR: 28877
Submitted by: Larry Baird <lab@gta.com>
MFC after: 1 week
2001-07-20 09:20:43 +00:00
Mark Murray
87242f3724
Fix type warnings.
...
PR: 29101
2001-07-20 08:58:04 +00:00
Mike Smith
a5934d76a8
We haven't had AcpiSetSystemSleepState for a while now, clean out the
...
prototype.
2001-07-20 08:49:17 +00:00
Takanori Watanabe
6161544ca7
Add ACPI S2-S4BIOS Suspend/Resume code.
...
Some problems may remain.
Reviewed by:iwasaki
2001-07-20 06:07:34 +00:00
Jonathan Chen
42845cb855
Fix setting serial baud rate under ibcs2 emulation by moving a line to the
...
right place. Reported by Jonathan Chen <jonc@pinnacle.co.nz> (someone with
the same name who's not me)
PR: i386/8414
Submitted by: Jonathan Chen <jonc@pinnacle.co.nz>
MFC after: 2 weeks
2001-07-20 06:00:02 +00:00
Warner Losh
c8ce6587d0
When including pci header files, do things differently for 5x and 4x
...
to make code sharing between the two easier.
Also, only do power management in -current. It doesn't exist in stable
yet.
2001-07-19 21:43:01 +00:00
Scott Long
19f2be11b0
Limit the device to only one playback channel until I can figure out why
...
a) newpcm insists on using only the highest number channel available, and
b) the maestro3 driver no longer likes anything above channel 0.
2001-07-19 20:53:52 +00:00
Scott Long
e93d24c2f0
Fix an off-by-one error in the dma tag. This was causing the VM system to
...
freak out occasionally.
MFC after: 1 week
2001-07-19 20:51:29 +00:00