Commit Graph

183070 Commits

Author SHA1 Message Date
darrenr 1098c7bfb7 Import IPFilter 4.1.33
4.1.33 - Release 16 August 2009

2837931 wrong mode selected in ipf program for hash-entries
2826168 load_http can make ippool core dump
2825150 IPL_LOGMAX used to index some arrays
2825084 ipv6 fragments should not be allowed past 64k
2824713 ipfstat top output alternates between entries and nothing
2824712 ipfstat top output is shows negative ttl
2820965 a single bad ipv6 extension header should not impact others
2818197 ignored fragment bits defined as being reserved
2817667 IPv6 fragment header verification needs attention
2817098 fr_getrulen() finds the wrong rule
2817096 fr_rulen is unused
2741019 Lingering states (Established/Listen - 5/0) in state table
2702887 use of PBR/fastroute causes panic with ipv6
2671913 regression test in7 fails to execute
2598625 parsing empty config file results in an error
2698656 test parsing empty config files
2597956 not all pointers in a clone are reset
2543934 nat_t gets assigned ifp too early
2535795 No need to always bump fr_ref
2535778 Bad IPv6 packets droped by default
2031730 4.1.31 Nat drops fragmented packets after the first
2214661 ipf does not handle IPv6 fragments
2473273 NAT removed before RST/ICMP sent
2216500 fin_state serves no purpose
2424604 adding random MD5 data causes panic
2304435 Ineffecient lock usage in logging
2216491 fin_nat serves little purpose
2055619 duplicating a free-d packet will fail
2042949 Excessive locking when creating nat_t
2035610 nat_update does not need to get locks
2214658 ipf mostly ignores locking in NetBSD
1979427 Memory leak in user utilities - token never freed (rel br)
* SunOS4 does not have a curproc, but it does have u.
* The fix for 2020447 generated random port numbers but not within the
  range specified in the map rule.  Add in a regression test to verify
  that the "random" part works.
2020447 NAT can undo name server random port selection
1988795 NetBSD does not build with kernel malloc stats
1988782 fr_movequeue can take a short cut
1988669 first nat creation failure prevents further success
1988668 hostmap searching does not work properly
* on some 64bit architectures (such as alpha), the addrfamily_t is packed
  differently, throwing off the calculations for adf_len
* one too many READ_ENTERs in ip_sync code.
* clean up fr_fastroute a little by removing some #ifdefs and pushing the
  code around a bit to use the same variables (NetBSD)
* more recent NetBSDs use VOP related macros differently
2009-08-19 08:28:39 +00:00
he fc78ee16af Don't remove the mips a.out entries outright, but instead mark them as
obsolete, so that they will be removed from DESTDIR.  Hi, matt@!
2009-08-19 08:24:43 +00:00
skrll abf07352b4 Merge changes to binutils 2.16.1 in src/gnu/dist/binutils into 2.19.1. 2009-08-19 07:19:30 +00:00
mbalmer 00f46729f9 Mention GPIO in the title so that this manual page shows up with 'apropos
gpio'.
2009-08-19 06:57:24 +00:00
nisimura 17c789b4ca - use options PIC_MPCSOC to replace PIC_OPENPIC. 2009-08-19 06:28:06 +00:00
nisimura 6d35cad5db - Have pic_mpcsoc.c to adapt variations of Moto/Freescale OpenPIC
compliant interrupt controllers.  Mostly the refrain of pic_openpic.c
and shall be useful for 85xx/86xx/QorIQ and Tundra product lines.
2009-08-19 06:22:54 +00:00
matt 01bf4c69be In uvm_kmapent_alloc, Make sure entry is initialized.
Spotted by msaitoh.
2009-08-19 04:53:20 +00:00
yamt a5ad33a8d7 include <stdint.h> instead of <sys/types.h>.
the latter pulls FD_SET etc and it makes wine-1.1.27's winsock vs unixsocket
namespace dance unhappy.  for more information, grep
	Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library
in their source.
2009-08-19 04:22:53 +00:00
macallan b8db42fd33 - more cosmetics
- support screen blanking ioctl()s on both /dev/fb* and wsdisplay
2009-08-19 03:45:51 +00:00
macallan d106f169f8 - some cosmetic fixes
- add support for screen blanking via /dev/fb*
- reimplement colour map ioctl()s for /dev/fb*
- implement mmap and ioctl for wscons, map 8 or 24bit framebuffer depending
  on hardware
With this X works with the wsfb driver in 24bit.
TODO:
- fix wsfb to use the right pixel format for S24
- implement wsdisplay colour map ioctl()s
- add hardware cursor support for wscons and /dev/fb*
2009-08-19 03:35:32 +00:00
tls cf13201bd8 Matthias Drochner pointed out that I lost the _EVENT_ prefix from all
the autoconf defines in the installed event_config.h.  Of course, the
libevent documentation basically says not to use event_config.h, so it
is a little hard to see why the right fix isn't to just not install it...
...in any event, fix this approximately as the stock libevent Makefile does.
2009-08-19 01:38:39 +00:00
jmcneill 21d93c9335 Adapt for ACPICA API changes. 2009-08-19 00:31:16 +00:00
christos 2ba6b9d22f the new acpi code seems to return NULL for the hardwareId string. 2009-08-19 00:19:37 +00:00
jmcneill 27b7d75a0a iasl(1): The ACPICA ASL (ACPI Source Language) compiler/decompiler
is now included with i386 and amd64 installations.
	[jmcneill 20090818]
2009-08-18 23:46:05 +00:00
jmcneill d8b69fb901 Hook ACPICA iasl into build for i386 and amd64. 2009-08-18 23:43:31 +00:00
jmcneill 32932b3300 Add reachover Makefile for ACPICA iasl utility. 2009-08-18 23:42:39 +00:00
cegger 326b502d87 Update for API changes with new ACPICA.
Makes i386 ALL kernel build.
2009-08-18 21:38:41 +00:00
cegger da8e01ab65 with new ACPICA, idstr may be NULL.
Check against NULL, this fixes a crash on my HP Pavilion dv9700 Laptop.
While here simplify the loop via __arraycount()
2009-08-18 21:33:29 +00:00
wiz bda39b5016 Bump date for previous. 2009-08-18 21:31:51 +00:00
wiz 95ebd4eac2 Fix a typo. 2009-08-18 21:30:31 +00:00
matt 15f2698233 Fix a errant sw (should be lw) that ovewrites the saved [trap]frame
pointer with a possibly bogus value.
2009-08-18 21:28:07 +00:00
jmcneill 0e78b36c1b ACPICA 20090730 was released and has been imported. 2009-08-18 20:47:18 +00:00
jmcneill a3abcdbc25 Adapt for NACPI -> NACPICA change. 2009-08-18 20:46:10 +00:00
macallan 8ec24faa06 device_t-ify 2009-08-18 20:45:42 +00:00
skrll 31580a8965 First cut at reachover and mknative output. 2009-08-18 20:21:58 +00:00
dyoung e02c33d4c0 Fix the gscpcib(4) detachment routine: add a call to pcibdetach().
Write child-detachment and rescan routines to let us detach and
re-attach gpio0 and isa0 at gscpcib0:

# drvctl -d isa0
# drvctl -d gpio0
# drvctl -r -a isabus gscpcib0
# drvctl -r -a gpiobus gscpcib0
2009-08-18 19:51:45 +00:00
thorpej b4e5923fa5 Move uvm_object-related DDB hooks into uvm_object.c. Put all of the
uvm_map-related DDB stuff in one spot in the file.
2009-08-18 19:16:09 +00:00
thorpej 0d30b9a815 Back-out accidental check-in. 2009-08-18 19:09:18 +00:00
thorpej 21d14bd56b Move uvm_page-related DDB hooks into uvm_page.c. 2009-08-18 19:08:39 +00:00
jmcneill 932fb37c13 Use ACPI_DEBUG_PRINT instead of ACPI_INFO for AcpiNsExecModuleCodeList
debug message.
2009-08-18 18:34:39 +00:00
jmcneill f9cf269b36 Print table header information with ACPI_DEBUG_PRINT instead of ACPI_INFO. 2009-08-18 18:28:36 +00:00
thorpej 97a2657a66 Add a real API for testing if a page is a managed page, and adjust callers
to stop relying on vm_physseg_find() for this purpose.
2009-08-18 18:06:53 +00:00
dsl f155f3b8b9 The code that attempted to sort large files by sorting each chunk by the
first key byte and writing to a temp file, then sorting the records from
each temp file that had the same first key byte (and repeating for upto
4 key bytes) was a nice idea, but completely doomed to failure.
Eg PR/9308 where a 70MB file has all but one record the same and short keys.
Not only does the code not work, it is rather guaranteed to be slow.
Instead always use a merge sort for fully sorted chunk of records (each
temporary file contains one lot of sorted records).
The -H option already did this, so just rip out all the code and variables
that can't be used when -H was specified.
Further cleanup to come ...
2009-08-18 18:00:28 +00:00
thorpej 2864afa106 Delete some vanity configs, esp. now that the machines no longer exist. 2009-08-18 17:52:30 +00:00
dyoung 5a395386a7 Let us detach ichlpcib(4) and its children.
XXX More testing is needed.  I've tested this on a Dell Dimension 3000,
XXX but that system does not attach every possible device that I try to
XXX detach with this code:

ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: vendor 0x8086 product 0x24d0 (rev. 0x02)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
isa0 at ichlpcib0
2009-08-18 17:47:46 +00:00
drochner 05a121bdc4 use __builtin_va_start rather than __builtin_stdarg_start for gcc>=4.1,
I don't know why it was made that inconsistent at that time, but
the in-tree gcc-4.1 works with that, and gcc-4.4.1 removes builtin
support for old style varargs.
2009-08-18 17:40:39 +00:00
plunky b486cef1fe update the "Class of Device" information, now that the Assigned Numbers
documents are available at www.bluetooth.com
2009-08-18 17:40:31 +00:00
dyoung 78e9d89046 Make the 'tags' target work by borrowing stuff from sys/arch/i386/Makefile. 2009-08-18 17:21:51 +00:00
dyoung 1a1d6a2158 Remove code bracketed by #ifdef __FreeBSD__. 2009-08-18 17:20:20 +00:00
dyoung 9b779d6eb6 Allow detachment and re-attachment of an ISA bus at an PCI-ISA bus
bridge, isa0 at pcib0.
2009-08-18 17:15:10 +00:00
jmcneill d24e908507 Build fixes for NetBSD. 2009-08-18 17:13:09 +00:00
jmcneill 6d58ca2204 Build fix for amd64. 2009-08-18 17:09:25 +00:00
dyoung 62dca01035 Add a bus-independent detachment routine. In the attachment routine,
save some device state to restore during detachment.
2009-08-18 17:06:35 +00:00
dyoung 47b66b70d9 These are stragglers from my last commit ("Let us safely detach
the ISA bus and devices attaching to the ISA bus").  Define
isa_detach_hook() in MD ISA implementations.  Define isa_dmadestroy().
2009-08-18 17:02:00 +00:00
jmcneill 4f823b1d6b Add intel-public license. 2009-08-18 16:53:29 +00:00
dyoung 40bc016e8a Let us safely detach the ISA bus and devices attaching to the ISA
bus:

1 Add isadetach() for detaching the ISA bus, and add some helper
  routines that release resources held for ISA DMA.

2 In isachilddetached(), forget references to child devices.

While I am here, change ISA_DMA_DRQ_ISFREE(...) == 0 to the simpler
expression, !ISA_DMA_DRQ_ISFREE(...).
2009-08-18 16:52:42 +00:00
jmcneill b8d6b79b67 acpi(4): Updated ACPICA to 20090730. This release includes full
support for the ACPI 4.0 specification. [jmcneill 20090818]
2009-08-18 16:49:24 +00:00
jmcneill a8fec90e57 acpica has been moved to src/sys/external/intel-public/acpica 2009-08-18 16:44:10 +00:00
jmcneill b0fb7abfad Switch to ACPICA 20090730, and update for API changes. 2009-08-18 16:41:02 +00:00
jmcneill 1448e5faf7 config glue for acpica 2009-08-18 16:38:51 +00:00