Commit Graph

95989 Commits

Author SHA1 Message Date
joerg
0528da675e Unbreak twa after the last two commits. 2008-07-27 13:10:11 +00:00
reinoud
7ac1927ba2 Delay physical partition spacebitmaps from volume-descriptor-checking until
the other supporting structures are read in.
2008-07-27 11:38:23 +00:00
reinoud
5c3627bcdf Unify naming scheme and source code beautify for better readablility. 2008-07-27 11:21:21 +00:00
veego
e012f27d4d Remove the '${.CURDIR}/' part in CLEANFILES, so that the files will be
deleted in the case of an objdir too.
Proposed to current-users on 20-Jul-2008 with no reply..

XXX The '*~' part should be removed too, but I leave that to someone else
    since it is used in a lot of other Makefiles too and there maybe a
    valid reason for it.
2008-07-27 07:57:40 +00:00
reinoud
4e0493c8f8 Forgot to rename those two references to write_space_bitmap too. 2008-07-26 20:52:04 +00:00
reinoud
8f7887a864 Clarify the current spacemap read/write code is reading/writing physical
partition space maps. This in preperation of Metadata spacetable
reading/writeout work.
2008-07-26 20:49:33 +00:00
reinoud
3653a53255 Clarify not implemented allocation schemes; mostly UDF 2.50
HD-DVD/BluRay-RE and UDF 2.60 for BluRay-R
2008-07-26 20:33:36 +00:00
plunky
86cf58d587 remove comment that is no longer true 2008-07-26 20:16:10 +00:00
darrenr
4dac121dab 2020447 IPFilter's NAT can undo name server random port selection
(fix output port range, was a random number in [0,max-min]
	 (byteswapped on litle endian), instead of [min,max])
2008-07-26 19:44:28 +00:00
heinz
4f58699ff4 Moved comments for some _POSIX_* constants in front of their definition,
like all the rest of them.
2008-07-26 19:37:58 +00:00
christos
081bb45d58 make sure we write little endian. From Anon Ymous 2008-07-26 15:10:34 +00:00
dsl
c43281ec80 Remove all the pending connections in soclose().
'continue' in 'do .. while (0)' doesn't do what ad@ intended.
2008-07-25 22:45:58 +00:00
dsl
a8f5b9cfc2 Comment out the 'do' and 'while (0)' from KEY_CHKSASTATE().
The expansion contains a 'continue' which is expected to continue
a loop in the callling code, not just abort the #define.
2008-07-25 20:55:43 +00:00
dsl
34519fcf41 Move the body of VLAN_INPUT_TAG() into a static inline function.
(Maybe it shouldn't even be inline - but I'd have to work out where to put it).
VLAN_INPUT_TAG() now calls vlan_input_tag() and does '_errcase' when it fails.
In reality the callers should all be changed, _errcase is ALWAYS continue,
which used to 'continue' (ie break) the do .. while (0) loop - not the
intended action!
Found by ramming all the kernel sources through a modified lint and grepping
for a specific error.
While here enclose the body of VLAN_OUTPUT_TAG() in ().
2008-07-25 20:04:50 +00:00
dsl
93b2e677b4 Add {} around VLAN_INPUT_TAG() - VLAN_INPUT_TAG() can't be a do ... while (0). 2008-07-25 19:45:06 +00:00
dsl
bc2387e293 Replace a 'do { ... } while (0);' with 'for (;;) { ... break; }'
so that the 'continue' has the (probably) desired effect.
2008-07-25 18:37:24 +00:00
christos
b00559d07e use bufsize instead of BUFFERSIZE 2008-07-25 18:36:50 +00:00
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