Commit Graph

106674 Commits

Author SHA1 Message Date
kiyohara
5ea6a9374f Add PCI_mem and many access/cache-ope functions.
+ inw/inwrb/writeb/writel/readb/readw/readl.
  + _wbinv/_inv.
2010-10-14 05:52:01 +00:00
kiyohara
ac458dd62f Add -I${S}/lib/libsa and reorder. 2010-10-14 05:40:40 +00:00
taca
bde2398ad6 Regen. 2010-10-14 03:36:10 +00:00
taca
7587f075b4 Remove duplicate entries:
* "vendor SYBATECH" exists as vendor SYBA.
* "product INTEL 82915G_IGD" simply duplicated.
2010-10-14 03:35:23 +00:00
oki
e7b1f54727 Fixed mbuf leak possibility. 2010-10-14 03:34:42 +00:00
oki
e3731ae5b2 Wait for freeing mbuf cluster in sosend() causes freeze network stack.
Don't wait for it.
problem was found by iij seil team.
it is similar to OpenBSD uipc_socket.c rev.1.72.
2010-10-14 03:07:51 +00:00
mrg
3eca36b665 add some (uint64_t) casts so avoid 32 bit overflows. this fixes my
3TB disk with 4KB sectors and disklabel (which looks like it would
work upto 16TB.)

idea from mlelstv@.
2010-10-14 00:47:16 +00:00
tsutsui
2e58d58880 Add commented out options MODULAR. 2010-10-13 14:34:27 +00:00
tsutsui
b01b8bd3fb Disable PAX_ASLR on sh3 as well. exec_elf32 module doesn't work with it
at least on dreamcast.
2010-10-13 14:15:23 +00:00
tsutsui
6b1a1449bc Prepare empty module_init_md() for options MODULAR.
It just works on dreamcast even with root on gdrom environment.
2010-10-13 14:13:32 +00:00
pooka
aeada54307 Don't reorder page on the age queue if the lookup is done by the
pagedaemon.  This mimics normal kernel behaviour where pmap_kentered
mappings are not tracked for references.  Without this change the
vnode pager's clustering could cause one page to be released by
the pagedaemon, and the rest of the pages in the pageout cluster
made unlikely candidates to be released soon.
2010-10-13 11:01:04 +00:00
tsutsui
d6b38309ca Include std.sh3 to pull options CPU_IN_CKSUM. Noted by Ryo SHIMIZU. 2010-10-13 10:56:56 +00:00
gsutre
e28e04ce32 Merge ACPI display driver. Provides generic support for brightness
control and output switching, through ACPI video extensions.

TODO: use wsconsctl(8) instead of sysctl(8) for brightness control.

ok jruoho@
also discussed with cegger@ and jmcneill@
2010-10-12 19:10:49 +00:00
macallan
d199f85d70 fix off-by-one error which happened when the first mode with matching size is
also the best match by refresh rate
2010-10-12 16:18:19 +00:00
macallan
598ca8db3e make higher resolutions than 1024x768 work 2010-10-12 16:00:21 +00:00
pooka
04832f614a Don't attach as pseudo device here. This driver does attach in modcmd. 2010-10-12 09:14:43 +00:00
skrll
1a2905d635 Don't include opt_multiprocessor.h - it is not needed. 2010-10-12 06:39:48 +00:00
jakllsch
2571582bb0 Correct another off-by-one-bit error. This time for Erratum 97. 2010-10-12 00:39:08 +00:00
christos
d0d0f54f24 restore binary compatibility for amd64; requested by joerg. 2010-10-10 21:24:34 +00:00
rmind
e2137dd128 npf_packet_handler: clear M_CANFASTFWD flag, so inspection would work when
fast forwarding is enabled (e.g. with GATEWAY kernel option).  Thanks matt@
for the tip.
2010-10-10 15:29:01 +00:00
kiyohara
e9e3825df9 Add strtc(ST M41T80 Real-Time Clock). 2010-10-10 05:19:35 +00:00
kiyohara
f96f01c382 Add options STRTC_NO_USERRAM and STRTC_NO_WATCHDOG for m41t80. 2010-10-10 05:17:44 +00:00
kiyohara
fc53f5307a Add timeout for wait.
Not send STOP, if received ACK.
2010-10-10 04:49:48 +00:00
phx
e5dc6216e2 Missing \n after printing device type. 2010-10-09 19:46:15 +00:00
haad
2b4880da46 In rome do as romans do. If I will get EEXIST from devsw_attach don't exit and
continue. This unbreaks usage of libdm in RUMP.
2010-10-09 12:56:06 +00:00
kiyohara
171c49e42c Add more explanation to XXXX. It value from Marvell LSP. 2010-10-08 11:20:22 +00:00
gsutre
646cb7e223 Store sysctl MIBs instead of a pointer to the root of the sysctl
sub-tree (because the pointer may be invalid at the time we use it).

ok jruoho@
2010-10-08 07:04:31 +00:00
macallan
895c84f438 use WSDISPLAYIO_PARAM_BACKLIGHT as a switch and WSDISPLAYIO_PARAM_BRIGHTNESS
for backlight level instead of following radeonfb
TODO: adapt radeonfb and powerd scripts
2010-10-07 20:39:54 +00:00
hans
9fb47a8218 Enable Pchip and Cchip error interrupts (machine checks) on DEC 6600
systems. Add some basic pretty-printing for those errors. Tested on
a DS20.
2010-10-07 19:55:02 +00:00
hans
64984f4101 fix SGMAP_DEBUG on alpha 2010-10-07 19:39:30 +00:00
kiyohara
8cd794a74b Fix build failure. s/const static/static const/. 2010-10-07 16:26:37 +00:00
kiyohara
b5a696dfa9 Fix read CIS. And pass to attach args the standard function interface code. 2010-10-07 12:40:34 +00:00
kiyohara
881038840f Remove unnecessary Tab. 2010-10-07 12:28:34 +00:00
kiyohara
62d43dee68 Support High-Speed mode. 2010-10-07 12:24:23 +00:00
kiyohara
370119eed5 Support change Open-drain/Push-pull by bus_rod(). 2010-10-07 12:06:09 +00:00
kiyohara
9e2097666b Add bus_rod. It use to change to Data Transfer mode. 2010-10-07 12:00:21 +00:00
macallan
4fbc897fbb finish device_t-ification 2010-10-07 07:53:53 +00:00
yamt
a2939d499b make ipfr_lock IPL_VM as ip_reass_drain is called in interrupts via
the drain hook for mbuf pools.
2010-10-07 03:15:49 +00:00
chs
79f3dfff82 when we use a fake data section, make sure that the start is page-aligned. 2010-10-07 02:14:02 +00:00
jakllsch
563adefd93 Fix vcore readings in some cases on W83627THF by being mindful of the VRM9 mode. 2010-10-06 18:13:33 +00:00
enami
daf969e420 Don't free memory still in use. Fixes nfs root problem reported
by Christoph Egger on source-changes-d.
2010-10-06 07:39:37 +00:00
kiyohara
204d4c5692 Comment-out mvcesa. It not exists now. 2010-10-06 05:24:01 +00:00
macallan
f296dcdaa6 add support for backlight control with genfb via OF
Tested on a PowerBook Pismo only so far, it should work on all OF3 *Books
though. Support for older PowerBooks is trickier since they control their
backlight using PMU commands which have no OF equivalent.
2010-10-06 02:27:25 +00:00
macallan
699e821c1d add support for backlight control via machine dependent callbacks 2010-10-06 02:24:35 +00:00
jym
f15c6971d1 Import PAE support for kvm(3):
- add kvm_i386pae.c (used for PAE memory translations), and update Makefile
  for libkvm build.
- in pdppaddr: pass a flag to indicate PAE mode. Use a bit ignored
  by the MMU. Mask address with PG_FRAME to avoid side effects.

Tested with vmstat(1)/netstat(1) to debug core files of PAE and !PAE
kernels. Older kernel dumps will default to native i386 (!PAE) mode.

XXX Currently, savecore(8) will fail to dump a PAE kernel in a !PAE
    environment (and reciprocally). So you need to sync and reboot
    with a kernel of the same mode as the one that crashed. Once the dump
    is successful, this does not matter anymore.
2010-10-05 23:48:16 +00:00
cyber
753a25a966 Add support to honor MTU settings from DHCP during netboot.
Defines IP_MIN_MTU as 576.

Glanced over quickly by martin@ and joerg@.
2010-10-04 23:48:22 +00:00
tsutsui
424c2d5c6b Build a raw binary format GENERIC kernel and put it into distribution dir.
This would make it possible to create a bootable CD using root on gdrom
without toolchain (i.e. without whole src tree).
2010-10-04 16:03:30 +00:00
pgoyette
16da219b65 Update error message - no funcitonal change. 2010-10-04 15:57:27 +00:00
rmind
a8dbc1ffa8 vga_post_init: fix a bug and memleak in error path. 2010-10-03 19:46:35 +00:00
rmind
ff74682fb4 Re-structure IPv4 reassembly code to make it more MP-friendly and simplify
some code fragments while here.  Also, use pool_cache(9) and mutex(9).

IPv4 reassembly mechanism is MP-safe now.
2010-10-03 19:44:47 +00:00