Commit Graph

203 Commits

Author SHA1 Message Date
iwasaki
50b2c2c6f4 Disable strstr() if ACPICA is compiled in userland.
Reviewed by:	msmith
2001-01-10 19:28:03 +00:00
msmith
75421c556d Resolve conflicts from the ACPI CA 20001215 vendor import. 2000-12-21 07:04:32 +00:00
msmith
4344794678 This commit was generated by cvs2svn to compensate for changes in r70243,
which included commits to RCS files with non-trunk default branches.
2000-12-21 06:56:46 +00:00
msmith
68d9171019 Update to the Intel 20001215 ACPI CA snapshot. 2000-12-21 06:56:46 +00:00
dwmalone
418e7e45d7 Convert more malloc+bzero to malloc+M_ZERO.
Submitted by:	josh@zipperup.org
Submitted by:	Robert Drehmel <robd@gmx.net>
2000-12-08 21:51:06 +00:00
phk
3daded5af8 Staticize some malloc M_ instances. 2000-12-08 20:09:00 +00:00
msmith
131561da3d Resolve conflicts from the 20001201 merge. 2000-12-08 09:22:18 +00:00
msmith
f4b6d0429c Update to the 20001201 ACPI CA snapshot. 2000-12-08 09:20:40 +00:00
msmith
fa6a4ed39b This commit was generated by cvs2svn to compensate for changes in r69746,
which included commits to RCS files with non-trunk default branches.
2000-12-08 09:20:40 +00:00
msmith
3f220a2762 Remove duplicate definition. 2000-12-01 12:10:06 +00:00
msmith
761b2d5434 Update local changes for new hardware register interface. 2000-12-01 12:09:18 +00:00
msmith
cc3b3c4218 Resolve conflicts from the vendor update. 2000-12-01 09:49:35 +00:00
msmith
4d595f4926 Update to the 20001115 Intel ACPI CA snapshot. 2000-12-01 09:36:25 +00:00
msmith
8e3bb00ba3 This commit was generated by cvs2svn to compensate for changes in r69450,
which included commits to RCS files with non-trunk default branches.
2000-12-01 09:36:25 +00:00
jlemon
af6d4768d5 Lock down the network interface queues. The queue mutex must be obtained
before adding/removing packets from the queue.  Also, the if_obytes and
if_omcasts fields should only be manipulated under protection of the mutex.

IF_ENQUEUE, IF_PREPEND, and IF_DEQUEUE perform all necessary locking on
the queue.  An IF_LOCK macro is provided, as well as the old (mutex-less)
versions of the macros in the form _IF_ENQUEUE, _IF_QFULL, for code which
needs them, but their use is discouraged.

Two new macros are introduced: IF_DRAIN() to drain a queue, and IF_HANDOFF,
which takes care of locking/enqueue, and also statistics updating/start
if necessary.
2000-11-25 07:35:38 +00:00
bmilekic
907500ad9d While I'm here, get rid of (now useless) MCLISREFERENCED and use MEXT_IS_REF
instead.
Also, fix a small set of "avail." If we're setting `avail,' we shouldn't
be re-checking whether m_flags is M_EXT, because we know that it is, as if
it wasn't, we would have already returned several lines above.

Reviewed by: jlemon
2000-11-11 23:05:59 +00:00
darrenr
5869172149 Fix conflicts creted by import. 2000-10-29 07:53:05 +00:00
msmith
fb091bdc25 We should include <machine/stdarg.h> not <stdarg.h>
Submitted by:	phk
2000-10-28 08:32:43 +00:00
msmith
a13fd31430 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
4ef131b639 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
5c3e099499 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
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
msmith
68b514f070 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
obrien
3baa579c2d Include sys/param.h for `__FreeBSD_version' rather than the non-existent
osreldate.h.

Submitted by:	dougb
2000-10-27 12:53:31 +00:00
darrenr
db58d9c235 fix conflicts from rcsids 2000-10-26 12:33:42 +00:00
ru
811a2e2625 We now keep the ip_id field in network byte order all the
time, so there is no need to make the distinction between
ip_output() and ip_input() cases.

Reviewed by:	silence on freebsd-net
2000-10-25 10:56:41 +00:00
ru
65e7901536 If we do not byte-swap the ip_id in the first place, don't do it in
the second.  NetBSD (from where I've taken this originally) needs
to fix this too.
2000-10-18 11:36:09 +00:00
phk
7a0868a185 Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
lile
47a12a4448 o Change TX_BUFFER_LEN from 512 to 2048.
o Remove bogus "spurious interrupt" message.

o Ring buffer head and avail were incorrectly calculated.

o Fix fragment count.

o Fix ring entry for single station, default to 16Mbit.

o Don't complain about long frames.
2000-10-10 00:54:02 +00:00
phk
8d60c21e47 remove unused #include. 2000-10-07 19:38:31 +00:00
phk
af8843a717 Remove SMP hack. 2000-09-16 18:57:18 +00:00
ru
5417da501b Follow BSD/OS and NetBSD, keep the ip_id field in network order all the time.
Requested by:	wollman
2000-09-14 14:42:04 +00:00
kris
28fb06e1af Install mode 644, not mode 664 during kernel compile. Yes, Peter, I am
psycho :-)
2000-08-15 11:06:56 +00:00
darrenr
36c563c8e6 resolve conflicts 2000-08-13 04:31:06 +00:00
roberto
629cd55475 Change __FreeBSD_Version into the proper __FreeBSD_version.
Submitted by:	Alain.Thivillon@hsc.fr (Alain Thivillon) (for ip_fil.c)
2000-08-01 17:14:38 +00:00
ache
57868a26ec Add missing '0' to FreeBSD_version test: 50011 -> 500011 2000-08-01 00:04:24 +00:00
darrenr
15d51f1af8 activate pfil_hooks and covert ipfilter to use it 2000-07-31 13:11:42 +00:00
darrenr
54a2f7cfd4 fix conflicts 2000-07-19 14:02:09 +00:00
peter
507b931628 Remove these here, these were repocopied to src/sys/ufs/ffs. 2000-06-23 00:11:32 +00:00
mckusick
1183a4dc99 Update to new copyright. 2000-06-22 00:29:53 +00:00
mckusick
f29217b823 When running with quotas enabled on a filesystem using soft updates,
the system would panic when a user's inode quota was exceeded (see
PR 18959 for details). This fixes that problem.

PR:		18959
Submitted by:	Jason Godsey <jason@unixguy.fidalgo.net>
2000-06-18 22:14:28 +00:00
mckusick
eb0270eca0 Some additional performance improvements. When freeing an inode
check to see if it has been committed to disk. If it has never
been written, it can be freed immediately. For short lived files
this change allows the same inode to be reused repeatedly.
Similarly, when upgrading a fragment to a larger size, if it
has never been claimed by an inode on disk, it too can be freed
immediately making it available for reuse often in the next slowly
growing block of the same file.
2000-06-18 22:05:57 +00:00
phk
c1cf1fd414 ARGH! I have too many source trees :-(
Fix prototype errors in last commit.
2000-06-16 13:00:33 +00:00
phk
f26574f541 Virtualizes & untangles the bioops operations vector.
Ref: Message-ID: <18317.961014572@critter.freebsd.dk> To: current@
2000-06-16 08:48:51 +00:00
peter
679b2d1dab Unused include: #include "fla.h" 2000-06-10 11:05:17 +00:00
peter
eff1181c9c Fix a reference to an old FreeBSD 2.2 register name.
s/PCI_COMMAND_STATUS_REG/PCIR_COMMAND/
2000-05-28 16:21:45 +00:00
darrenr
6a77390f8e define CSUM_DELAY_DATA to match merge 2000-05-26 07:28:03 +00:00
jake
5e208b0c18 Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.

Requested by:		msmith and others
2000-05-26 02:09:24 +00:00
darrenr
2005a2d399 fix up #ifdef jungle for FreeBSD 2000-05-25 16:24:46 +00:00
darrenr
06a04563ec remove duplicate prototypes 2000-05-25 16:23:30 +00:00