Commit Graph

106686 Commits

Author SHA1 Message Date
tsutsui
eee2fbcce4 Un-ifdef COMPAT_AOUT_M68K for MODULAR kernel. 2010-10-14 16:34:29 +00:00
tsutsui
b2c1aff3d8 Fix reloc calcurations (mechanically pulled from working i386 and sh3).
Now options MODULAR works at least on news68k:

# uname -mrs
NetBSD 5.99.39 news68k
# modstat|grep filesys
coredump         misc       filesys    2     2790     -
exec_aout        misc       filesys    0     1866     coredump
exec_elf32       misc       filesys    0     6072     coredump
exec_script      misc       filesys    0     972      -
kernfs           vfs        filesys    0     9734     -
mfs              vfs        filesys    0     3656     ffs
procfs           vfs        filesys    0     23924    -
#
2010-10-14 16:33:50 +00:00
tsutsui
8a34e103b1 Prepare empty module_init_md() for options MODULAR. 2010-10-14 16:31:16 +00:00
skrll
5e1e0a2d7b Define PT_TLS. 2010-10-14 07:57:34 +00:00
plunky
38be6befc7 Some Broadcom controllers emit empty ACL packets during connection
setup, using the handle that they have not yet told us for the
connection-to-be. Disconnecting can cause problems so just ignore
zero length ACL packets on unknown connection handles.

fixes a problem reported by Nick Hudson
2010-10-14 07:05:03 +00:00
kiyohara
9a2413ff51 Support kernel load from SCSI HDD with onboard siop. It is very EXPERIMENTAL!! 2010-10-14 06:58:22 +00:00
kiyohara
01f89bfdb3 Support kernel load from IDE HDD with onboard wdc. like cobalt, sandpoint. 2010-10-14 06:50:43 +00:00
kiyohara
9fe16975a7 Change format of path for device. A current form strangely feels dissatisfied.
This new format looks like the format of BootROM of BeBox.
2010-10-14 06:39:52 +00:00
kiyohara
246f73effa s/,vga}/,_vga}/. 2010-10-14 06:23:27 +00:00
kiyohara
bb14ed2c7b Add _rtt(). But it is NULL function. 2010-10-14 06:17:57 +00:00
kiyohara
050710296c Add pci.c to SRCS. 2010-10-14 06:17:29 +00:00
kiyohara
2fb624f24b Add pci.c. Splitted from vreset.c
And cleanup vreset.c.
2010-10-14 06:12:54 +00:00
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