Commit Graph

53447 Commits

Author SHA1 Message Date
phk
f825217768 The latest & greatest unused #include spotter. Faster, one-pass and
more precise than ever.

1230 hits on the current kernel.
2000-10-28 21:44:05 +00:00
obrien
82c32a8a3f * Bring back the guts of crt{i,n}.S. This allows C++ exceptions to work
when using the egcs and gcc-devel ports, along with GCC built from stock
public FSF sources.  With out this change, FreeBSD will be removed from
the list of systems GCC 3.0 must be evaluated on before release.  With
the effort some of us put into getting FreeBSD on this list, we should
not turn this effort into a waste, else we might not be worth fighting
for in the future.  (note that Alpha and IA-64 versions of crt{i,n}.S
are needed)

* Switch from our own crt{begin,in} to those created from GCC's crtstuff.c.
This will allow us to switch to DWARF2 exceptions in the future, along with
staying in sync with any future GCC requirements.

* Break out our ELF branding bits into a seperate file.  Currently this
is now included by our crt1.c files (since this functionality was part of
our native crtbegin.c).  Later crtbrand.o will be merged in the creation
of crti.o.
2000-10-28 21:26:48 +00:00
des
24f27bdb94 Fix this my way. David had absolutely no call overriding MAINTAINER without
even giving me 24 hours to read his mail and find the bug.
2000-10-28 20:53:02 +00:00
obrien
dd714aa7f1 Install per function manpages so one doesn't mistakenly think we don't
have manpages for libfetch's functions.
2000-10-28 20:32:39 +00:00
alc
8b68576c16 Add missing call to knote_fdclose() in setugidsafety() and fdcloseexec().
Reviewed by:	jlemon
2000-10-28 20:27:32 +00:00
obrien
a90e794625 Repeat after me, "check to see that a pointer isn't NULL before
dereferenceing it".  This fixes ``pkg_add -r''.
2000-10-28 20:27:11 +00:00
cg
0ecc67db2e add commented-out dependancies on the new sb8 and sb16 drivers 2000-10-28 19:35:54 +00:00
cg
46fe534232 modules for the new sb8 and sb16 drivers 2000-10-28 19:28:49 +00:00
cg
d8ad9a1bc1 add commented-out entries for the new sb8 and sb16 drivers 2000-10-28 19:24:14 +00:00
cg
ceaa4e2ae6 split up sb16 and sb/sbpro drivers
we do not support sb versions <2.00, and the sb8 driver has not been tested
yet.

these drivers are not yet enabled by default.
2000-10-28 19:20:03 +00:00
mpp
b48dc4a4e8 Style & grammar fixes.
PR:		docs/22374, docs/13020
2000-10-28 18:37:37 +00:00
ume
6a944e364b some clarification on if_getmtu()
- avoid to use freed (by freeifaddrs) data
  - 1st try getifaddrs, then try SIOCGIFMTU as the last resort

Submitted by:	JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
Obtained from:	KAME Project
2000-10-28 17:57:38 +00:00
ume
19ead08f69 defined HAVE_IFM_DATA for (free|net|open)bsd
Submitted by:	JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
Obtained from:	KAME Project
2000-10-28 17:54:19 +00:00
joe
cc8a57c9b9 When an interface isn't specified use wi0 as the default.
This gets around a segmentation fault that occurs when the interface
isn't specified first before any of the options.

Inspired by PR:	 bin/22241
2000-10-28 16:25:25 +00:00
joe
af22c2e96e When an interface isn't specified use wi0 as the default.
This gets around a segmentation fault that occurs when the interface
isn't specified first before any of the options.

Inspired by PR:	bin/22241
2000-10-28 16:18:41 +00:00
joe
3d348198c8 Fix a blatant bug when running '/etc/pccard_ether device stop'.
I wasn't dropping the interface correctly, but not noticing because
the interface was going away when the card was ejected.

Submitted by:	Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
2000-10-28 14:31:40 +00:00
gallatin
5f9ff12cb1 cleanups of my previous, quick & dirty fix of unaligned access errors on alpha.
submitted by: bde
2000-10-28 14:26:23 +00:00
sanpei
9c17a07343 add PC-Card melody beep(PC Card bus, kludge version)
Original idea from:	PAO3
2000-10-28 13:35:34 +00:00
msmith
d456c791d3 Mention the new '40LD' AMI RAID controllers that we now support. 2000-10-28 11:51:12 +00:00
nyan
3d97ada87f Restore GDC mode to initial mode instead of 24KHz.
Submitted by:	Tomokazu HARADA <tkhara@osk4.3web.ne.jp>
2000-10-28 11:27:56 +00:00
nyan
965741e3e3 Fixed extention memory check routine.
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
2000-10-28 11:16:42 +00:00
nyan
18652ae093 Removed extra calculation for X position (PC-98 only).
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
2000-10-28 10:59:21 +00:00
msmith
6f69682320 Return -10 from the PCI probe to allow room for an updated driver to
override one built into the kernel.
2000-10-28 10:46:30 +00:00
peter
f86db637cd Fix typo s/DE_DEVICEID_FE2500/DC_DEVICEID_FE2500/ 2000-10-28 10:03:54 +00:00
alex
134482b1a7 Use EX_USAGE in an example, as the SAME manual page describes a
few lines higher.

PR:		22371
Submitted by:	andrew@ugh.net.au
2000-10-28 10:02:23 +00:00
asmodai
caa5a9eec6 Add some more information to the AUTHORS section.
Remove unnecessary duplication of asr after the .Nm macro.
2000-10-28 09:56:34 +00:00
wpaul
a5f3fd7958 Add PCI IDs for some additional cardbus cards. Yes, there really is
a RealTek 8139 cardbus device. Unfortunately it doesn't quite work yet
because the CIS parser barfs on it.

Submitted by msmith, with some small tweaks by me.
2000-10-28 09:00:20 +00:00
msmith
2e093a62cd We should include <machine/stdarg.h> not <stdarg.h>
Submitted by:	phk
2000-10-28 08:32:43 +00:00
bde
c47f1bfac0 Quick fix for namespace problems which broke many ports. Spell
uint16_t as "unsigned short" like it used to be and uint32_t as
"unsigned int" not like it used to be (was: "unsigned long").
2000-10-28 08:20:33 +00:00
alex
a09af49602 Make the -d option actually work.
Today fast terminals are usually the default.

PR:		21634
Submitted by:	Eric S. Van Gyzen <eric@vangyzen.net>
2000-10-28 07:37:57 +00:00
msmith
430258152b Some AML code assumes that a function without an explicit ReturnOp will
return the last value returned by a nested method call.  This violates
the ACPI spec, but is implemented by the Microsoft interpreter, and thus
vendors can (and do) get away with it.

Intel's stance is that this is illegal and should not be supported.
As they put it, however, we have to live in the real world.  So go ahead
and implement it.

Submitted by:	Mitsaru IWASAKI <iwasaki@jp.freebsd.org>
2000-10-28 07:32:13 +00:00
msmith
e170b01108 FreeBSD-specific customisations:
- Set debugger options for kernel build
 - Define some missing functions
 - Bring in GCC defines
 - Disable the 'wbinvd' macro as it conflicts with our inline
2000-10-28 07:29:08 +00:00
msmith
37860cc264 Add some extra fuctions:
- AcpiGetProcessorID (fetch the ACPI processor ID for a given ACPI_HANDLE)
 - AcpiSetSystemSleepState (set the Sx sleeping state, proposed by Intel
   but not actually implemented)
2000-10-28 07:26:48 +00:00
msmith
b31d4f9996 Add some verbiage about the new ACPICA code. Note that this probably
breaks building this config, as the old ACPI code will conflict.  The
old code will be going away shortly, so this should not be an issue.
2000-10-28 07:07:02 +00:00
msmith
5dd41ba26a Allow PCI busses to be connected to host bridges detected by ACPI as well. 2000-10-28 07:04:07 +00:00
msmith
de46dd5596 Connect the new ACPICA code to the 'acpica' device. 2000-10-28 07:03:39 +00:00
msmith
a69e8faa90 Initial FreeBSD OSPM (operating system power management) modules for
ACPICA.  Most of these are still works in progress.  Support exists for:

 - Fixed feature and control method power, lid and sleep buttons.
 - Detection of ISA PnP devices using ACPI namespace.
 - Detection of PCI root busses using ACPI namespace.
 - CPU throttling and sleep states (incomplete)
 - Thermal monitoring and cooling control (incomplete)
 - Interface to platform embedded controllers (mostly complete)
 - ACPI timer (incomplete)
 - Simple userland control of sleep states.
 - Shutdown and poweroff.
2000-10-28 06:59:48 +00:00
msmith
64e150eaa4 FreeBSD-specific OSD (operating system dependant) modules for the Intel
ACPICA code.
2000-10-28 06:56:15 +00:00
phk
2e92b95197 Revert two experimental changes which escaped from my devel machine. 2000-10-28 06:55:12 +00:00
msmith
25edde61bd This commit was generated by cvs2svn to compensate for changes in r67754,
which included commits to RCS files with non-trunk default branches.
2000-10-28 05:01:06 +00:00
msmith
748be15501 Initial import of the Intel-maintained ACPI Component Architecture. This
is Intel's reference implementation of the core operating-system ACPI
support.  (This import is on the vendor branch.)
2000-10-28 05:01:06 +00:00
obrien
9c3bb2995c Hook ipfilter back up as it compiles now. 2000-10-28 04:51:47 +00:00
ken
5f139e8f9d Add a quirk entry for Nakamichi MJ-* changers. The changer in question is
a <NAKAMICH MJ-5.16S 1.06>.

Submitted by:	Kevin Van Maren <vanmaren@fast.cs.utah.edu>
2000-10-28 03:14:59 +00:00
sanpei
989f651b59 add Xircom CreditCard adapters and workalikes(xe driver)
to Default (GENERIC) Configuration
2000-10-28 01:35:21 +00:00
jhb
94e76ebf96 The x86 atomic operations are already locked, so they do not need an
additional locked instruction to guarantee a write barrier for the acquire
variants.

Approved by:	dfr
Pointy hat to:	jhb
2000-10-28 00:28:15 +00:00
msmith
25d887ad27 Fix typo in the 4.x case. 2000-10-27 23:40:45 +00:00
cg
53904fdeb6 implement SNDCTL_DSP_POST 2000-10-27 22:20:45 +00:00
jhb
a6921bdf2e Fix a couple of whitespace nits. 2000-10-27 21:45:50 +00:00
phk
16690ed6af Remove 86 unneeded #includes 2000-10-27 21:32:10 +00:00
phk
f3419eb077 Remove more unused #includes. 2000-10-27 21:14:25 +00:00