Commit Graph

183065 Commits

Author SHA1 Message Date
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
jmcneill
2e3763cf26 Build fixes for NetBSD. 2009-08-18 16:26:10 +00:00
jmcneill
70fe0f31af initial import of acpica-20090730 2009-08-18 16:23:28 +00:00
skrll
3734e9d3e6 Make binutils stuff conditional on HAVE_BINUTILS being 216. 2009-08-18 15:11:25 +00:00
skrll
6d622a3f1b Build binutils 2.19.1 if HAVE_BINUTILS is 219 2009-08-18 15:08:51 +00:00
skrll
530afcf96c Add HAVE_BINUTILS and default to 2.16 2009-08-18 14:53:00 +00:00