christos
3bccc0f766
Handle files with a large number of mappings gracefully. Reported by Nicholas
...
Joly.
2008-07-25 17:40:24 +00:00
reinoud
0dca08adcb
Add metadata bitmap ICB file type
2008-07-25 15:37:56 +00:00
christos
0119da7858
PR/39203: Paul Ripke: PPPoE issues with broken MTU/MRU implementations
...
Allow larger frames for systems that don't negotiate MTU/MRU properly.
2008-07-25 15:10:25 +00:00
bjs
8151294949
- for DRM_NETBSD_HANDLE2ADDR/ADDR2HANDLE, do what uvm does to recover
...
the virtual address from a uoffset, e.g. uoffset + vm_map_min(kernel_map).
- Eliminate the bus_space_read/write-based DRM_READ/WRITE macros. The
memory we're reading/writing from is not always allocated with bus_space,
and so this will not do. Instead, since all of our bus_space maps are
linear, volatile pointer dereferences will do just fine.
- Unify members of struct drm_dma_handle amongst freebsd and netbsd:
the 'addr' member was superfluous; also, set dmah->tag from
dev->pa.pa_dmat and use that.
- we don't need BUS_DMA_ALLOCNOW, as bus_dmamap_load is called immediately
following bus_dmamap_create(), so there's no need to avoid deferring
allocation to load time.
- Add check for nsegs != 1 in drm_pci_alloc().
- We don't need the DRM_PCI_DMAADDR macro right now--it was only
used once.
2008-07-25 06:54:33 +00:00
bjs
f4821bc01a
in the git sources, timo is jiffies + 5*DRM_HZ, not 5*DRM_HZ
2008-07-25 06:37:40 +00:00
mrg
5560b89162
merge git-change-2580a065d81be645a14af1e91b8441f7e72fcbe4.
2008-07-25 05:30:08 +00:00
mrg
3eb83a79ce
import mesa-drm git from change 2580a065d81be645a14af1e91b8441f7e72fcbe4.
...
this pulls in a few vblank fixes.
2008-07-25 05:27:51 +00:00
bjs
42cc23f284
IRQ_HANDLED should be 1, not 0.
2008-07-25 02:37:18 +00:00
uwe
4691dacd78
Declare lwp_exit_switchaway() __dead. Add infinite loop at the end of
...
lwp_exit_switchaway() to convince gcc that cpu_switchto(NULL, ...) is
really not going to return in that case. Exposed by gcc4.3.
Reported on tech-kern by Alexander Shishkin.
2008-07-25 00:48:59 +00:00
blymn
9b9ad40a56
* Add the BSS node during the auth phase so negotiation can occur
...
* Make the adding of a node into a function instead of duplicating code
2008-07-24 13:04:00 +00:00
njoly
c1c4ce8861
Regen for rt_sigpending.
2008-07-24 12:11:14 +00:00
njoly
efde75ae99
Add rt_sigpending syscall.
2008-07-24 12:09:56 +00:00
darrenr
9f0bfbf3da
2020447 IPFilter's NAT can undo name server random port selection
2008-07-24 09:37:57 +00:00
sborrill
474699860b
Add support for Broadcom 5722 and identify 5755 ASICs.
2008-07-24 08:14:49 +00:00
apb
7cb9e72bbb
Avoid using \$ in an awk script. Instead, store '$NetBSD$'
...
in an awk variable and interpolate it where needed.
Based on the patch by Martin Husemann in PR 38766.
2008-07-23 21:17:25 +00:00
njoly
066b9aabb5
Add linux32_getifconf, following recent linux_getifconf addition.
2008-07-23 12:32:09 +00:00
dyoung
7e7bddae2b
Fix this another way: add the missing case statement.
2008-07-23 06:34:31 +00:00
gmcgarry
1d92605168
Back out rev 1.163 which broke the logic for SIOCSIFFLAGS. PR#38976.
2008-07-23 05:41:47 +00:00
reinoud
5b49df17d8
No use walking empty hashtables when purging.
2008-07-22 21:39:08 +00:00
christos
0f5d35d8d1
report local symbols too.
2008-07-22 21:18:35 +00:00
pooka
2d86f776af
Make the previously library-internal "builddirs" an external interface:
...
ukfs_util_builddirs()
patch from Arnaud Ysmal
2008-07-22 20:02:16 +00:00
reinoud
ff7ad972a5
Limit the UDF dirhash to a configurable amount of memory. The performance
...
penalty even with a limited dirhash of 128kb is acceptable but it should be
set by machine memory size though.
2008-07-22 19:06:55 +00:00
hauke
3411d8045b
Having read Frank Kardel's web page again, I think the XXX comment
...
wrt. the splhigh() guard can go.
2008-07-22 14:43:45 +00:00
matt
4886aa3da7
Implement workaround for:
...
arm11 Errata 364296:Possible Cache Data Corruption with Hit-Under-Miss
Remove hack in userret which is redundant with workaround.
workaround code from <imre.deak@teleca.com>
2008-07-22 07:07:23 +00:00
bjs
c7921652a6
Add pci_mapreg_submap(): This function is pci_mapreg_map() with two
...
additional arguments, offset and maxsize. This new functionality
eases handling certain tasks within the direct rendering manager, though
I hope others will also find it useful.
pci_mapreg_map() is now merely a wrapper around pci_mapreg_submap();
the latter contains all of the code from the former.
ok christos@
2008-07-22 04:52:19 +00:00
joerg
26fd2cb43f
Express explicitly that VGA_POST needs X86EMU.
2008-07-21 21:36:05 +00:00
lukem
09657f8798
Switch __COPYRIGHT() to using __SECTIONSTRING() now that userland
...
copyrights don't have \n in them.
(Tested on i386. There might be a couple of applications specific
to a given platform that should be fixed.)
2008-07-21 15:22:19 +00:00
cegger
30e1bad82e
beautify dmesg with MPVERBOSE.
...
before:
pci0 at hypervisor0 bus 0: configuration mode 1hypervisor0: added to list as bus 0
pchb0 at pci0 dev 0 function 0
now:
pci0 at hypervisor0 bus 0: configuration mode 1
hypervisor0: added to list as bus 0
pchb0 at pci0 dev 0 function 0
2008-07-21 11:51:59 +00:00
pooka
348d0d344d
Have a COW with fscow_run(). Fixes problem of allocating files
...
on ffs with indirect blocks.
found by simonb
2008-07-21 10:51:03 +00:00
pooka
4a0d2098e7
Repeat after me: do not pollute sys with #ifdef _RUMPKERNEL
2008-07-21 10:40:37 +00:00
drochner
df0247d05d
don't include i82365var.h, fixes build error, from Robert Swindells
2008-07-21 09:51:46 +00:00
matt
568e00fecc
Add PMAP_KMPAGE defintion (forgotten commit). Also add PVF_DIRTY which will
...
be used by an update pmap.c shortly (to note what pages may have dirty
cache lines).
2008-07-21 07:33:54 +00:00
bjs
e2ae9c7df8
Remove #ifdef __FreeBSD__ around DRM_UPDATE_DRAW ioctl, as we have drawable
...
code (and if it does not work, we must make it work!).
Add missing entry for DRM_MODESET_IOCTL.
2008-07-21 07:18:11 +00:00
pooka
cb5ae8f020
Call mountpoint VFS_FSYNC() from specfs fsync.
...
Makes rump kern/38057-happy.
2008-07-21 00:08:30 +00:00
martin
1f71bc27ce
Fix previous.
2008-07-20 22:57:19 +00:00
pooka
655d81c21a
Make the user-namespaced rumpuser_cv_has_waiters() of type int
...
instead of bool to avoid unnecessary problems in trying to provide
the bool type.
2008-07-20 19:03:04 +00:00
martin
4956be1f47
Make struct pcib_softc explicit in our softc.
2008-07-20 17:18:21 +00:00
martin
f3b6f1bea8
Explicitly add struct pcib_softc to the softc since the pcib functions
...
we call expect this.
2008-07-20 16:59:53 +00:00
martin
d2849ba366
Rearange softc so it starts with a struct pcib. We reuse the x86 pcib code
...
which assumes this.
2008-07-20 16:52:33 +00:00
martin
e394f32ae0
Make the softc externally visible, so other bridges reusing this code
...
don't have to "get it right" manually.
2008-07-20 16:50:29 +00:00
tsutsui
1a160ac866
Specify volatile to some pointers to access DMA registers.
2008-07-20 16:35:27 +00:00
tsutsui
471f4d63c3
No need to specify '&' to get array's address.
...
No binary changes.
2008-07-20 16:28:24 +00:00
tsutsui
b55114eae7
Fix pointer arithmetic botch in rev 1.37.
2008-07-20 16:23:38 +00:00
pooka
83548151e2
assert -> KASSERT
2008-07-20 16:18:13 +00:00
pooka
0217e22507
You must untypo what you have typoed: rumpnode_if.h -> rumpvnode_if.h
2008-07-20 16:14:22 +00:00
he
6512b04025
The build options for the library parts are mostly located in this
...
file. So, in order to better support UPDATE builds, add a dependency
on this file for object files in subdirectories using this file.
2008-07-20 15:56:44 +00:00
blymn
762e875434
Add locking around veriexec operations to prevent all sorts of badness
...
happening. This fixes kern/38646.
2008-07-20 08:50:20 +00:00
bjs
616225d114
add forgotten initialization/destruction for tsk_lock.
2008-07-20 03:02:22 +00:00
bjs
e63e7d81db
Add a forgotten mtsleep().
2008-07-20 02:58:40 +00:00
uwe
e58a3edb13
When doing pointer arithmetic to compute limit cast bootp to pointer
...
type of correct signedness. Caught by lint.
2008-07-20 02:06:37 +00:00