Commit Graph

184000 Commits

Author SHA1 Message Date
mrg
4463162fd2 xorg-server servers depend upon -Wl,--export-dynamic these days.
spotted by uwe@.  fixes at least swrast userland and Xnest.
2009-09-25 06:04:30 +00:00
pooka
86e98a0103 Add a simple kvm integer toggle to control ugen priority and override
the autoconf flags value.  This helps to change the priority at
runtime.  (XXX: is there a better way to do this?)
2009-09-24 22:33:04 +00:00
pooka
7d89931c36 Add regression test to verify that linksets work correctly with rump. 2009-09-24 21:36:42 +00:00
pooka
b4d274c027 add regression tests for dlinfo() 2009-09-24 21:33:45 +00:00
pooka
ca97c3aebc Load modules from all components which are linked into a rump binary
with -lrumpcomponent.  Previously only the first library component
containing a module would get loaded automatically.
2009-09-24 21:30:42 +00:00
pooka
4c1e54d82b Add Solarisa-like dlinfo() interface to the ELF dynamic linker.
Implement RTLD_DI_LINKMAP which returns a pointer to the linkmap
chain at the given object.  Other Solaris queries are currently
unimplemented.
2009-09-24 21:21:33 +00:00
he
8a59b02128 Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap.  Hi, abs@!
2009-09-24 21:04:45 +00:00
pooka
dedb61e364 remove a no longer necessary hack 2009-09-24 21:00:09 +00:00
roy
86eafd3e05 __getdelim works on strings up to SIZE_MAX - 2 and returns 0 on EOF.
getdelim works on strings up to SSIZE_MAX and returns -1 on EOF.
__fgetstr is now just a wrapper around __getdelim and ensures that
the buffer doesn't overflow the one provided by FILE.
__slbexpand is now static in fgetwln as it is the only consumer of that func.
2009-09-24 20:38:53 +00:00
plunky
00f86b84ea Only accept incoming ACL connections when there is potential
L2CAP listener available.
2009-09-24 19:35:09 +00:00
plunky
48b6f8e46b Add a new feature, allow to specify an alternative PSM value for the
RFCOMM protocol to use in client or server mode. Also, handle the case
where service search of the remote device returns non-standard PSM.
2009-09-24 18:30:37 +00:00
apb
27a9530c2c Adapt /etc/rc.d/swap1 and swap2 scripts to the new meaning of
exit status 2 from swapctl(8).
2009-09-24 16:45:48 +00:00
apb
29d1bfefcb Make the exit status from "swapctl -A" and "swapctl -U" tri-state:
0 for success; 1 for error; and 2 when no devices of the appropriate type
are defined in fstab(5).  Previously, "no apropriate devices" was
indistinguishable from "error".
2009-09-24 16:15:20 +00:00
sborrill
eecdf6949e Revert previous and instead select whether to call mixer_ioctl() or
audio_ioctl() based on whether the command smells like a mixer ioctl or not.
2009-09-24 16:03:11 +00:00
pooka
2cb5577c50 ugen_get_cdesc() can return NULL. When this happens, return the
karmic EINVAL error instead of crashing.
2009-09-24 15:36:59 +00:00
christos
d7866d8f52 fix dri/drm confusiog 2009-09-24 14:53:36 +00:00
tsutsui
5d2638c2b1 Replace shutdownhook_establish(9) (which was added by me)
with pmf_device_register1(9).
2009-09-24 14:09:18 +00:00
sborrill
48666a05d3 OSS audio allows mixer operations on the dsp device. NetBSD would return
EINVAL in these circumstances. This can break audio in apps running under
Linux emulation (e.g. Citrix ICA client will mute all audio when volume
control used). Therefore, pass unrecognised ioctls attempted on dsp devices
to mixer_ioctl.
2009-09-24 11:13:38 +00:00
skrll
8a9ef45c9c The version from defs.mk is in G_VERSION. 2009-09-24 06:31:08 +00:00
yamt
d571330722 cwdinit: whitespace fix. no functional changes. 2009-09-24 06:14:22 +00:00
uwe
4c7a000c60 Fix index entries that are intended to index ".set singlefloat" and
".set doublefloat", but were not edited after copy-paste.


I noticed this because compared to prebuilt as.info 1) on NetBSD index
entries are collated differently; 2) for some duplicate index entries
there are no additional "foo <n>" entries in the final output and (b/c
of #1 I guess) we pick a different one.

For the record, the other duplicate entry is in c-tic54x.texi where
both struct and union directive descriptions have:

  @cindex @code{tag} directive, TIC54X

Prebuilt file only lists the first occurence in the generated index
and we list only the second.

The MIPS false duplicate is easy to fix, but I'm too lazy to debug
makefino to figure out why the second, real duplicate is lost.
2009-09-23 19:53:30 +00:00
skrll
cfe9d8b4dc Use the right variable to get VERSION from the defs.mk file.
Add a .WAIT to hopefully fix the problem reported by Patrick Welche on
current-users.
2009-09-23 19:41:24 +00:00
plunky
5fab894c54 fix up USB drivers printing of autoconf information
1. expand the USB_ATTACH_SETUP macro (requested by jmcneill)

2. reorder the attach function so that the first thing it does is print
   newlines.

3. after this, we can call usbd_devinfo_alloc(), which polls the device
   allowing a context switch, and aprint_normal() the device information.

this avoids problems where autoconf messages are getting mixed up.
2009-09-23 19:07:19 +00:00
bouyer
db95bc7f01 xbdback: implement and publish "feature-flush-cache".
xbd: if feature-flush-cache is present, use it for DIOCCACHESYNC.
 If not present, make DIOCCACHESYNC return EOPNOTSUPP and warn on
 first call.
Should improve WAPBL reliability of Xen guests on a NetBSD dom0.
Unfortunably not all linux guests seems to support this feature, and using
feature-write-barrier would require a B_BARRIER flag in the buffer.
2009-09-23 17:48:55 +00:00
njoly
7121a760b4 Update boot.cfg banner/menu to reflect that installation floppies have
ACPI support.
2009-09-23 11:17:58 +00:00
njoly
ca00adb70e Cleanup some duplicated entries. 2009-09-23 09:18:31 +00:00
tls
be6d3543e4 Remove -I line for no longer extant directory. The OpenSSL libraries
built here, unsurprisingly enough, still build and work exactly the
same.
2009-09-23 04:02:28 +00:00
tsutsui
c77366b578 +cs* at isapnp? 2009-09-22 16:46:15 +00:00
tsutsui
df90eec26b Make local functions static. 2009-09-22 16:44:08 +00:00
tsutsui
30d1cde9f5 Split device_t/softc. Tested only on cs at ofisa on shark. 2009-09-22 15:34:22 +00:00
tsutsui
6b3b6e9a98 Fix possible endian issue. Untested. 2009-09-22 15:25:12 +00:00
tsutsui
7d94469845 - use device_t and cfdriver_t
- wrap long function decls
2009-09-22 15:04:41 +00:00
tsutsui
3b0a685f2b Split device_t/softc. Tested only on cs at ofisa on shark. 2009-09-22 14:55:19 +00:00
tsutsui
74b0667d3e Bump SYMTAB_SPACE. 2009-09-22 14:49:46 +00:00
tsutsui
72b646b74f Explicitly include <sys/exec_aout.h> for ZMAGIC etc. 2009-09-22 14:49:28 +00:00
tsutsui
5977843ffd Fix wrong softc size in CFATTACH_DECL(). (not cs_softc but cs_softc_isa) 2009-09-22 14:04:56 +00:00
cegger
ee0f0893eb fix botch with merging in changes from x86/x86/cpu.c:
don't use wbinvd(). Xen flushes the cache for us.
This makes DomU boot again.
Spotted by bouyer@.
2009-09-22 13:59:42 +00:00
tsutsui
36b4b2e6c0 - replace shutdownhook_establish(9) with pmf_device_register1(9)
- remove powerhook_establish(9) because all stuff in cs_power()
  will be handled in pmf_class_network

Briefly tested on CS8900 at ofisa on DNARD compatible.
2009-09-22 13:31:26 +00:00
tsutsui
606e573f63 - wrap long lines
- remove unnecessary casts against void pointers
2009-09-22 13:26:54 +00:00
tsutsui
3c2460ce71 Make local functions static. 2009-09-22 13:22:53 +00:00
tsutsui
2f25e6cf41 - make local functions/variables static
- use __arraycount()
2009-09-22 13:20:36 +00:00
tsutsui
d7f21e6129 Don't declare ISA specific aic_isa_attach() in MI header, and
also make local functions in aic_isa.c static.
2009-09-22 13:18:28 +00:00
tsutsui
33999cc30c Remove some more unnecessary casts. 2009-09-22 13:13:46 +00:00
tsutsui
00eb8aa546 Split device_t/softc. Tested on AHA-1520B at ISA and ISAPnP.
XXX: ISA attachment shouldn't match cards in ISAPnP mode.
2009-09-22 12:56:06 +00:00
skrll
bceded4e69 Switch m68k to binutils 2.19.
Tested on mac68k by martin@. All other m68k platforms build tested.
2009-09-22 09:57:28 +00:00
pooka
5e1c61c660 Don't build spcopy for rumpkern. Fixes hp700 build failure pointed
out by nick.

XXX: spcopy should be in the main kernel instead of libkern in any case
2009-09-22 09:57:16 +00:00
apb
8f2b54e18a Fix errors in previous: "optional" and "ignore" keywords also need the
appendfield treatment.
2009-09-22 04:38:21 +00:00
isaki
e4afee40f3 termcap.vt was removed.
http://mail-index.netbsd.org/source-changes/2009/09/20/msg001101.html
2009-09-22 02:50:11 +00:00
isaki
1eadd1cdd0 Fix $NetBSD$ tag. 2009-09-22 01:29:36 +00:00
uwe
d85ac884c9 Switch sh3eb to binutils 2.19.
Compile-tested for mmeye.
2009-09-22 01:28:50 +00:00