Bill Paul
2a5772457d
Turn on __STRICT_ALIGNMENT. We need this to fix up alignment so the alpha
...
won't trap.
2001-07-23 22:27:17 +00:00
Julian Elischer
c31b4a5381
Add an external function to unlink a netgraph type from the types list.
2001-07-23 21:14:57 +00:00
Bill Paul
6b8fa04225
AIEEE! Commit the firmware image too. *blush*
2001-07-23 21:01:36 +00:00
Bill Paul
de8e167ce6
Grrr. Module depends on vlan.h, and I committed the wrong version
...
of if_txpreg.h, which didn't have sc_rxbufprod defined in the softc
struct.
2001-07-23 20:54:31 +00:00
Bill Paul
362c5c1e02
You were knocked senseless by the Boomerang, spun around by the Cyclone,
...
blown over by the Hurricane and had a house dropped on you by the Tornado.
Now it's time to have your parade rained on by... the Typhoon!
This commit adds driver support for 3Com 3cR990 10/100 ethernet
adapters based on the Typhoon I and Typhoon II chipsets. This is actually
a port of the OpenBSD driver with many hacks by me.
No Virginia, there isn't any support for the hardware crypto yet. However
there is support for TCP/IP checksum offload and VLANs.
Special thanks go to Jason Wright, Aaron Campbell and Theo de Raadt for
squeezing enough info out of 3Com to get this written, and for doing
most of the hard work.
Manual page is included. Compiled as a module and included in GENERIC.
2001-07-23 20:44:54 +00:00
David E. O'Brien
d09d8a1ed9
Remind people to document bumps in the Porter's Handbook.
2001-07-23 17:51:02 +00:00
Ruslan Ermilov
38c1bc358b
Avoid a NULL pointer derefence introduced in rev. 1.129.
...
Problem noticed by: bde, gcc(1)
Panic caught by: mjacob
Patch tested by: mjacob
2001-07-23 16:50:01 +00:00
Yoshihiro Takahashi
99df3e3b1a
Integrate fdc.h into fd.c.
2001-07-23 13:07:24 +00:00
Assar Westerlund
d3e5863fa9
make vm_page_select_cache static
...
Requested by: bde
2001-07-23 12:34:31 +00:00
Kris Kennaway
56bded8a29
s/adress/address/
...
Inspired by: OpenBSD
MFC After: 1 week
2001-07-23 12:05:27 +00:00
Kris Kennaway
b0b32f29dc
Typo fix: fasion -> fashion
...
Inspired by: OpenBSD
MFC After: 1 week
2001-07-23 11:03:48 +00:00
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