Warner Losh
d2d8d8cf9d
This commit was generated by cvs2svn to compensate for changes in r114584,
...
which included commits to RCS files with non-trunk default branches.
2003-05-03 17:16:40 +00:00
John Baldwin
e0f7366574
Restore local changes accidentally lost in the last import.
...
Reviewed by: njl
2003-05-01 20:40:03 +00:00
Nate Lawson
adfda8d3b3
Resolve conflicts.
2003-04-29 19:11:00 +00:00
Nate Lawson
f6c1dddac5
Updated import-preparation script. It now removes vendor paths from header
...
info. With these changes, no manual prep of the dist was necessary.
2003-04-29 18:48:17 +00:00
Nate Lawson
b1684d35da
Resolve conflicts
2003-04-29 18:46:31 +00:00
Nate Lawson
d0a7944aac
Import of Intel ACPI 20030228 vendor distribution
2003-04-29 18:39:30 +00:00
Nate Lawson
94c7fa9ffd
This commit was generated by cvs2svn to compensate for changes in r114239,
...
which included commits to RCS files with non-trunk default branches.
2003-04-29 18:39:30 +00:00
Nate Lawson
17b7010ddc
Import of Intel ACPI 20030228 vendor distribution
2003-04-29 18:39:29 +00:00
Nate Lawson
77c1b96631
This commit was generated by cvs2svn to compensate for changes in r114237,
...
which included commits to RCS files with non-trunk default branches.
2003-04-29 18:39:29 +00:00
David E. O'Brien
152385d122
Explicitly declare 'int' parameters.
2003-04-21 16:27:46 +00:00
Poul-Henning Kamp
891619a66d
Use bioq_flush() to drain a bio queue with a specific error code.
...
Retain the mistake of not updating the devstat API for now.
Spell bioq_disksort() consistently with the remaining bioq_*().
#include <geom/geom_disk.h> where this is more appropriate.
2003-04-01 15:06:26 +00:00
Poul-Henning Kamp
b4b138c27f
Including <sys/stdint.h> is (almost?) universally only to be able to use
...
%j in printfs, so put a newsted include in <sys/systm.h> where the printf
prototype lives and save everybody else the trouble.
2003-03-18 08:45:25 +00:00
Matthew N. Dodd
2d6bcb381e
Catch up with recent infrastructure changes.
2003-03-16 00:24:18 +00:00
Matthew N. Dodd
669404e48e
Register module dependencies.
2003-03-15 23:26:41 +00:00
Matthew N. Dodd
c8fa3105ce
G/C unused varilable.
2003-03-15 23:21:32 +00:00
Matthew N. Dodd
326231bc52
Catch up with recent changes.
2003-03-15 23:20:10 +00:00
Poul-Henning Kamp
60794e0478
Centralize the devstat handling for all GEOM disk device drivers
...
in geom_disk.c.
As a side effect this makes a lot of #include <sys/devicestat.h>
lines not needed and some biofinish() calls can be reduced to
biodone() again.
2003-03-08 08:01:31 +00:00
Jonathan Lemon
1cafed3941
Update netisr handling; Each SWI now registers its queue, and all queue
...
drain routines are done by swi_net, which allows for better queue control
at some future point. Packets may also be directly dispatched to a netisr
instead of queued, this may be of interest at some installations, but
currently defaults to off.
Reviewed by: hsu, silby, jayanth, sam
Sponsored by: DARPA, NAI Labs
2003-03-04 23:19:55 +00:00
Poul-Henning Kamp
7ac40f5f59
Gigacommit to improve device-driver source compatibility between
...
branches:
Initialize struct cdevsw using C99 sparse initializtion and remove
all initializations to default values.
This patch is automatically generated and has been tested by compiling
LINT with all the fields in struct cdevsw in reverse order on alpha,
sparc64 and i386.
Approved by: re(scottl)
2003-03-03 12:15:54 +00:00
Poul-Henning Kamp
d0083ea9ce
NO_GEOM cleanup:
...
Move to "struct disk *" centric use of disk_* API.
Remove NOOP ioctl, spl*() and some debug printfs.
2003-02-22 09:32:57 +00:00
Warner Losh
a163d034fa
Back out M_* changes, per decision of the TRB.
...
Approved by: trb
2003-02-19 05:47:46 +00:00
Darren Reed
7ae7a6c4f7
fix bug in updating of interface pointers when resyncing state
2003-02-15 06:47:27 +00:00
Darren Reed
aeb497128e
Commit import changed from vendor branch of ipfilter to -current head
2003-02-15 06:25:25 +00:00
Darren Reed
32c7da78f7
Commit import changed from vendor branch of ipfilter to -current head
2003-02-15 06:23:45 +00:00
Darren Reed
d2c988ba46
sometimes i hate it when you leave temp files in a directory you import from
2003-02-15 06:21:14 +00:00
Darren Reed
8732fffb9b
This commit was generated by cvs2svn to compensate for changes in r110911,
...
which included commits to RCS files with non-trunk default branches.
2003-02-15 06:18:25 +00:00
Darren Reed
46e22717ef
Import IPFilter 3.4.31 into -current
2003-02-15 06:18:25 +00:00
Poul-Henning Kamp
eb3543e4cc
Mark our struct disk with DISKFLAG_CANDELETE instead of the cdevsw with
...
D_CANFREE.
2003-02-11 12:35:01 +00:00
Alfred Perlstein
8deebb0160
Consolidate MIN/MAX macros into one place (param.h).
...
Submitted by: Hiten Pandya <hiten@unixdaemons.com>
2003-02-02 13:17:30 +00:00
Alfred Perlstein
44956c9863
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.
...
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
2003-01-21 08:56:16 +00:00
Jeffrey Hsu
b30a244c34
SMP locking for ifnet list.
2002-12-22 05:35:03 +00:00
Mitsuru IWASAKI
21b5fd3cfd
Resolve conflicts arising from the ACPI CA 20021118 import.
2002-11-27 18:09:20 +00:00
Mitsuru IWASAKI
716b1ee2b9
Vendor import of the Intel ACPI CA 20021118 drop.
...
Approved by: re
2002-11-27 18:07:48 +00:00
Mitsuru IWASAKI
360aac4e22
This commit was generated by cvs2svn to compensate for changes in r107325,
...
which included commits to RCS files with non-trunk default branches.
2002-11-27 18:07:48 +00:00
Sam Leffler
6fc32a2495
network interface and link layer changes:
...
o on input don't strip the Ethernet header from packets
o input packet handling is now done with if_input
o track changes to ether_ifattach/ether_ifdetach API
o track changes to bpf tapping
o call ether_ioctl for default handling of ioctl's
o use constants from net/ethernet.h where possible
Reviewed by: many
Approved by: re
2002-11-15 00:00:15 +00:00
Sam Leffler
5d84645305
Replace aux mbufs with packet tags:
...
o instead of a list of mbufs use a list of m_tag structures a la openbsd
o for netgraph et. al. extend the stock openbsd m_tag to include a 32-bit
ABI/module number cookie
o for openbsd compatibility define a well-known cookie MTAG_ABI_COMPAT and
use this in defining openbsd-compatible m_tag_find and m_tag_get routines
o rewrite KAME use of aux mbufs in terms of packet tags
o eliminate the most heavily used aux mbufs by adding an additional struct
inpcb parameter to ip_output and ip6_output to allow the IPsec code to
locate the security policy to apply to outbound packets
o bump __FreeBSD_version so code can be conditionalized
o fixup ipfilter's call to ip_output based on __FreeBSD_version
Reviewed by: julian, luigi (silent), -arch, -net, darren
Approved by: julian, silence from everyone else
Obtained from: openbsd (mostly)
MFC after: 1 month
2002-10-16 01:54:46 +00:00
Mitsuru IWASAKI
17341d1011
Resolve conflicts arising from the ACPI CA 20021002 import.
2002-10-04 20:09:19 +00:00
Mitsuru IWASAKI
07a5b5c0b6
Vendor import of the Intel ACPI CA 20021002 drop.
2002-10-04 20:07:58 +00:00
Mitsuru IWASAKI
2bff3f6b33
This commit was generated by cvs2svn to compensate for changes in r104470,
...
which included commits to RCS files with non-trunk default branches.
2002-10-04 20:07:58 +00:00
Poul-Henning Kamp
7812d86f03
(This commit touches about 15 disk device drivers in a very consistent
...
and predictable way, and I apologize if I have gotten it wrong anywhere,
getting prior review on a patch like this is not feasible, considering
the number of people involved and hardware availability etc.)
If struct disklabel is the messenger: kill the messenger.
Inside struct disk we had a struct disklabel which disk drivers used to
communicate certain metrics to the disklayer above (GEOM or the disk
mini-layer). This commit changes this communication to use four
explicit fields instead.
Amongst the benefits is that the fields do not get overwritten by
wrong or bogus on-disk disklabels.
Once that is clear, <sys/disk.h> which is included in the drivers
no longer need to pull <sys/disklabel.h> and <sys/diskslice.h> in,
the few places that needs them, have gotten explicit #includes for
them.
The disklabel inside struct disk is now only for internal use in
the disk mini-layer, so instead of embedding it, we malloc it as
we need it.
This concludes (modulus any mistakes) the series of disklabel related
commits.
I belive it all amounts to a NOP for all the rest of you :-)
Sponsored by: DARPA & NAI Labs.
2002-09-20 19:36:05 +00:00
Poul-Henning Kamp
78bc4b68cc
Don't call dkunit() to find our unit number, it is in our softc.
...
Sponsored by: DARPA & NAI Labs.
2002-09-20 16:26:12 +00:00
Mitsuru IWASAKI
c4d2c0a1de
Fix kernel build breakage when ACPI_DEBUG option is specified.
2002-08-29 08:31:06 +00:00
Mitsuru IWASAKI
d62ab2f4a1
Resolve conflicts arising from the ACPI CA 20020815 import.
2002-08-29 01:52:27 +00:00
Mitsuru IWASAKI
2d12e67c7d
Vendor import of the Intel ACPI CA 20020815 drop.
2002-08-29 01:51:24 +00:00
Mitsuru IWASAKI
b7a95606db
This commit was generated by cvs2svn to compensate for changes in r102550,
...
which included commits to RCS files with non-trunk default branches.
2002-08-29 01:51:24 +00:00
Darren Reed
ecae20848a
Finally merge in the changes from ipfilter 3.4.29 to freebsd-current.
...
Main changes here are related to the ftp proxy and making that work better.
2002-08-28 13:41:36 +00:00
Darren Reed
4ba500330a
Import IPfilter 3.4.29. Main purpose is to address ftp proxy problems.
2002-08-28 13:26:02 +00:00
Darren Reed
39cf61414c
Import IPfilter 3.4.29. Main purpose is to address ftp proxy problems.
2002-08-28 13:26:01 +00:00
Archie Cobbs
7d151849d0
Don't use "NULL" when "0" is really meant.
...
But in this case, "-1" is really meant.
Reviewed by: darrenr
2002-08-23 20:07:19 +00:00
Mitsuru IWASAKI
173ff9844f
Prepare for importing newer version of ACPI CA.
2002-08-22 15:21:15 +00:00
Mitsuru IWASAKI
b69ed3f4c6
Resolve conflicts arising from the ACPI CA 20020725 import.
2002-07-30 19:35:32 +00:00
Mitsuru IWASAKI
da9df8d45e
Vendor import of the Intel ACPI CA 20020725 drop.
2002-07-30 19:33:39 +00:00
Mitsuru IWASAKI
432a633569
This commit was generated by cvs2svn to compensate for changes in r100966,
...
which included commits to RCS files with non-trunk default branches.
2002-07-30 19:33:39 +00:00
Mitsuru IWASAKI
98479b041b
Resolve conflicts arising from the ACPI CA 20020611 import.
2002-07-09 17:54:02 +00:00
Mitsuru IWASAKI
7174287062
Vendor import of the Intel ACPI CA 20020611 drop.
2002-07-09 17:51:31 +00:00
Mitsuru IWASAKI
155ce7bfa3
This commit was generated by cvs2svn to compensate for changes in r99679,
...
which included commits to RCS files with non-trunk default branches.
2002-07-09 17:51:31 +00:00
Mitsuru IWASAKI
74fc979a09
Resolve conflicts arising from the ACPI CA 20020404 import.
2002-06-30 17:53:12 +00:00
Mitsuru IWASAKI
3f12fee6bc
Vendor import of the Intel ACPI CA 200200404 drop.
2002-06-30 17:50:46 +00:00
Mitsuru IWASAKI
733e46c474
This commit was generated by cvs2svn to compensate for changes in r99146,
...
which included commits to RCS files with non-trunk default branches.
2002-06-30 17:50:46 +00:00
Mitsuru IWASAKI
0305323763
- Add sanity check for argument.
...
- Add new entry to stripdirs. The `generate' directory appeared in
acpica-unix-20020517.
2002-06-12 14:55:19 +00:00
Darren Reed
aafab58b58
Import IPFilter 3.4.28
2002-06-07 08:58:22 +00:00
Darren Reed
fde76f025d
Commit changes that happened in IPFilter versions 3.4.27 - 3.4.28
2002-06-07 08:56:30 +00:00
Darren Reed
7df187a3ad
Merge updates from 3.4.26 - 3.4.27.
2002-04-27 16:56:25 +00:00
Darren Reed
635ff71d68
Import version 3.4.27
2002-04-27 16:52:49 +00:00
Darren Reed
37d55dca34
bring in changes from 3.4.26.
2002-04-25 03:31:39 +00:00
Darren Reed
43ba65e60d
Import IPFilter 3.4.26 kernel sources, including H.323 proxy.
...
Include the licence file for both IPFilter and the H.323 proxy (from QNX),
for convienence.
2002-04-25 03:23:53 +00:00
Darren Reed
39252e7612
This commit was generated by cvs2svn to compensate for changes in r95415,
...
which included commits to RCS files with non-trunk default branches.
2002-04-25 03:23:53 +00:00
Darren Reed
13114a18ac
Import IPFilter 3.4.26 kernel sources, including H.323 proxy.
...
Include the licence file for both IPFilter and the H.323 proxy (from QNX),
for convienence.
2002-04-25 03:23:52 +00:00
Ruslan Ermilov
f791219e02
We don't need ip_ipsec_pxy.c in userland.
2002-03-26 13:42:09 +00:00
Alfred Perlstein
205c9d4c30
fix blockno printf formatting warnings.
2002-03-19 20:46:30 +00:00
Darren Reed
40c407243f
do not include the missing ip_h323_pxy.c
2002-03-19 15:14:18 +00:00
Darren Reed
b38f3fb061
fix conflicts (mostly damn rcs id's) generated by import
2002-03-19 11:44:16 +00:00
Darren Reed
b90bc1632d
This file is being removed pending the all clear on its licence by someone
...
else.
2002-03-19 11:42:12 +00:00
Darren Reed
76531d9f8d
Import IPFilter 3.4.25 (last version 3.4.20)
2002-03-19 11:30:23 +00:00
Darren Reed
f72fae2740
This commit was generated by cvs2svn to compensate for changes in r92680,
...
which included commits to RCS files with non-trunk default branches.
2002-03-19 11:30:21 +00:00
Darren Reed
28613e5584
Import IPFilter 3.4.25 (last version 3.4.20)
2002-03-19 11:30:21 +00:00
Doug Rabson
789327f183
Remove a couple of stray linuxisms to make this work for FreeBSD/ia64.
2002-03-18 10:16:57 +00:00
Mike Smith
fd87aacdcc
Merge local changes for the 20020308 ACPI CA update.
2002-03-16 02:23:30 +00:00
Mike Smith
6ff98c910d
Import of the 20020308 Intel ACPI CA update.
2002-03-16 02:18:13 +00:00
Mike Smith
f3964aad0d
This commit was generated by cvs2svn to compensate for changes in r92388,
...
which included commits to RCS files with non-trunk default branches.
2002-03-16 02:18:13 +00:00
Mike Smith
e7bb0990c0
Import of the 20020308 Intel ACPI CA update.
2002-03-16 02:18:04 +00:00
Mike Smith
6c3ac087b5
This commit was generated by cvs2svn to compensate for changes in r92386,
...
which included commits to RCS files with non-trunk default branches.
2002-03-16 02:18:04 +00:00
Mike Barcroft
27aba6a42a
Change two occurrences of HTONS() to use htons().
2002-02-28 09:56:31 +00:00
Peter Wemm
b4925b6514
Fix warning (unused variable)
...
Submitted by: LINT, -Werror
2002-02-27 23:32:45 +00:00
Mike Smith
e941505796
Move some debugger-only symbols around; this patch didn't make it into
...
the commit resolution for some reason. Fixes ACPI_DEBUG.
2002-02-24 07:51:46 +00:00
Mike Smith
afa56f0b6d
Resolve conflicts arising from the ACPI CA 20020217 import.
2002-02-23 05:16:34 +00:00
Mike Smith
857591c3aa
Vendor import of the Intel ACPI CA 20020217 drop.
2002-02-23 05:10:40 +00:00
Mike Smith
8f296b2e5d
This commit was generated by cvs2svn to compensate for changes in r91116,
...
which included commits to RCS files with non-trunk default branches.
2002-02-23 05:10:40 +00:00
Mike Smith
aafdbb39dc
Add a helper script used to take an Intel-supplied ACPI CA drop and make it
...
ready for importing. This should save me from my own over-cleanliness.
2002-02-08 02:16:45 +00:00
Alfred Perlstein
20125be8b1
Backout inclusion of queue.h since rev 1.38 sys/file.h now has it
...
included in the right order.
2002-01-14 09:07:15 +00:00
Alfred Perlstein
9e209b124a
Include sys/_lock.h and sys/_mutex.h to reduce namespace pollution.
...
Requested by: jhb
2002-01-13 21:37:49 +00:00
Darren Reed
13a14b9aa9
Import this patch to address user concerns.
...
PR: 27615
Submitted by: Andria Thomas <andria@tovaris.com>
Approved by: Me.
MFC after: 7 days
2002-01-04 12:32:34 +00:00
Mitsuru IWASAKI
c573e654b7
Add OS layer ACPI mutex and threading support.
...
- Temporary fix a bug of Intel ACPI CA core code.
- Add OS layer ACPI mutex support. This can be disabled by
specifying option ACPI_NO_SEMAPHORES.
- Add ACPI threading support. Now that we have a dedicate taskqueue for
ACPI tasks and more ACPI task threads can be created by specifying option
ACPI_MAX_THREADS.
- Change acpi_EvaluateIntoBuffer() behavior slightly to reuse given
caller's buffer unless AE_BUFFER_OVERFLOW occurs. Also CM battery's
evaluations were changed to use acpi_EvaluateIntoBuffer().
- Add new utility function acpi_ConvertBufferToInteger().
- Add simple locking for CM battery and temperature updating.
- Fix a minor problem on EC locking.
- Make the thermal zone polling rate to be changeable.
- Change minor things on AcpiOsSignal(); in ACPI_SIGNAL_FATAL case,
entering Debugger is easier to investigate the problem rather than panic.
2001-12-22 16:05:41 +00:00
Guido van Rooij
9a0ad4c91a
Fix initialisation of struct nat entry, to solve a panic that occurs
...
when reloading a nat table after reboot
Submitted by: Arjan de Vet <devet@devet.org>
Reviewed by: IP Filter mailing list
MFC after: 3 days
2001-12-05 10:46:24 +00:00
Mike Smith
1b3eb6b30c
Merge local changes.
...
Add a fix for a minor error in the PCI routing table creation handler
where the correct size for the buffer is not returned.
2001-11-28 04:34:52 +00:00
Mike Smith
de87ee3ada
Vendor import of the Intel ACPI CA 20011120 snapshot.
2001-11-28 04:29:40 +00:00
Mike Smith
89709a06f9
This commit was generated by cvs2svn to compensate for changes in r87031,
...
which included commits to RCS files with non-trunk default branches.
2001-11-28 04:29:40 +00:00
Brian Feldman
cd11f7bf9f
Reference lomac in its new location.
2001-11-19 22:36:40 +00:00
Brian Feldman
21180f280b
Use appropriaate include path for syscall_gate.h
2001-11-19 18:12:12 +00:00
Brian Feldman
5f57403b19
Fix a license and change $Id$s to $FreeBSD$s.
...
Obtained from: DARPA, NAI Labs (CBOSS project)
2001-11-19 04:56:36 +00:00