damien [Wed, 30 Jul 2008 06:25:23 +0000 (06:25 +0000)]
Free the correct buffer list on failure.
From Andrew Thompson at FreeBSD.
oga [Wed, 30 Jul 2008 01:30:45 +0000 (01:30 +0000)]
fix up a few free -> drm_free() cases that were missed before.
kettenis [Tue, 29 Jul 2008 22:24:25 +0000 (22:24 +0000)]
Sun stopped distributing patches through FTP :(.
oga [Tue, 29 Jul 2008 22:23:50 +0000 (22:23 +0000)]
Update to DRM git.
Some stability fixes for radeon. The most part of this diff is related
to fixing up the VBLANK (vertical blank interrupt) handling. Now, if the
X driver supports the DRM_IOCTL_MODESET_CTL ioctl, (to be used when
changing the video modes), then allow the vblank to be disabled once
that ioctl has been called. Otherwise, keep the interrupt enabled at all
time, since disabling it otherwise will lead to problems.
Tested by a few. "no problem" on API/ABI deraadt@.
kettenis [Tue, 29 Jul 2008 22:20:04 +0000 (22:20 +0000)]
Update list of supported machines.
martynas [Tue, 29 Jul 2008 22:12:29 +0000 (22:12 +0000)]
add descriptions for fpclassify, isfinite, isnormal, nan, remquo,
signbit
deraadt [Tue, 29 Jul 2008 22:10:18 +0000 (22:10 +0000)]
sync
martynas [Tue, 29 Jul 2008 22:08:43 +0000 (22:08 +0000)]
- add man pages for nan and remainder, from freebsd
- mlink drem, dremf, remainderf to remainder; nanf to nan
- describe that drem and dremf are obsolete aliases
- remove descriptions for remainder and remainderf from ieee
looked over by jmc@, but it's easier for him to work on when they
are in tree
deraadt [Tue, 29 Jul 2008 22:04:38 +0000 (22:04 +0000)]
sync
martynas [Tue, 29 Jul 2008 21:57:13 +0000 (21:57 +0000)]
describe exp2, exp2f and mlink them
deraadt [Tue, 29 Jul 2008 21:46:27 +0000 (21:46 +0000)]
when detaching pcbs, also free the v6 output options so that we do not
leak kernel memory for every closed v6 descriptor with certain options set
ok otto jsing todd claudio
miod [Tue, 29 Jul 2008 21:18:53 +0000 (21:18 +0000)]
In ahc_free(), which is invoked if attachment fails, do not free()
pointers we don't own, but the autoconf machinery does.
deraadt [Tue, 29 Jul 2008 20:19:36 +0000 (20:19 +0000)]
sync
gilles [Tue, 29 Jul 2008 20:15:53 +0000 (20:15 +0000)]
clarify EMSGSIZE
rewording by jmc@, "lovely" deraadt@
jmc [Tue, 29 Jul 2008 20:11:45 +0000 (20:11 +0000)]
tweak previous;
kettenis [Tue, 29 Jul 2008 20:09:11 +0000 (20:09 +0000)]
Add an ugly hack to disable DMA on the Tadpole SPARCLE laptop. It doesn't
work and this way we fall back on PIO which does work. I'm pretty sure
this is caused by bugs in our code, but I cannot find them.
ok deraadt@, marco@
oga [Tue, 29 Jul 2008 19:44:13 +0000 (19:44 +0000)]
Switch all instances of malloc/free in the DRM to drm_alloc, drm_free
and drm_calloc.
With the recent change to check overflow in drm_calloc, this means that
all allocations that require multiplication are now checked. Also use
drm_calloc() when zeroing is needed and drop the bzero/memset
afterwards. Finally, make drm_free() check for NULL, so we don't need
to do so every time.
ok miod@, deraadt@
miod [Tue, 29 Jul 2008 19:32:50 +0000 (19:32 +0000)]
Split SHA1Transform() back into smaller pieces when compiling on landisk,
to defeat gcc optimization bugs. Similar to what had been done on sparc64
in the past.
ok millert@ deraadt@
miod [Tue, 29 Jul 2008 19:13:56 +0000 (19:13 +0000)]
Stricter bounds checking for values controlling loops or memory allocations,
which may come from userland via ioctls. ok oga@
miod [Tue, 29 Jul 2008 19:13:19 +0000 (19:13 +0000)]
Check for multiplication overflow in drm_calloc(). ok oga@
deraadt [Tue, 29 Jul 2008 18:43:28 +0000 (18:43 +0000)]
sync
miod [Tue, 29 Jul 2008 18:40:23 +0000 (18:40 +0000)]
Give the eisa device a valid bus_dma_tag_t.
miod [Tue, 29 Jul 2008 18:39:45 +0000 (18:39 +0000)]
Fix range check in sio_intr_establish().
martynas [Tue, 29 Jul 2008 18:38:21 +0000 (18:38 +0000)]
remove finite from ieee.3, and unmlink from makefile
martynas [Tue, 29 Jul 2008 18:25:51 +0000 (18:25 +0000)]
remove
sobrado [Tue, 29 Jul 2008 18:25:28 +0000 (18:25 +0000)]
an enum specifier is more elegant than a set of #defines;
storing the program mode variable (pmode) as a global let us have
a more consistent prototype for usage().
changes suggested by pyr@.
ok millert@, pyr@
sobrado [Tue, 29 Jul 2008 18:24:31 +0000 (18:24 +0000)]
md5(1), sha1(1), rmd160(1), cksum(1) and sum(1) have different options;
while here, some KNF improvements.
based on a diff for compress(1) written by millert@,
fixes from guenther@ and pyr@.
ok millert@, pyr@; (for the manual page tweaks) jmc@
damien [Tue, 29 Jul 2008 18:20:02 +0000 (18:20 +0000)]
s/affect/assign/ in wmm option.
martynas [Tue, 29 Jul 2008 18:19:17 +0000 (18:19 +0000)]
- man pages for fpclassify, isfinite, isinf, isnan, isnormal, signbit,
mostly from freebsd
- also describe deprecated aliases for isinff, isnanf, finite,
finitef
- describe behavior on vax
- add mlinks for finite, finitef, isfinite, isinf, isinff, isnan,
isnanf, isnormal, signbit
- add man pages for isgreater, isgreaterequal, isless, islessequal,
islessgreater, isunordered; from freebsd
looked over by jmc@, it's better for him to work on when they are in tree
jmc [Tue, 29 Jul 2008 17:03:35 +0000 (17:03 +0000)]
tweak the wep section somewhat, to bring it into line with what
we say for those devices which support wpa;
jmc [Tue, 29 Jul 2008 16:44:19 +0000 (16:44 +0000)]
- beef up the text on wep/wpa
- simplify wpa example
help/ok damien
deraadt [Tue, 29 Jul 2008 15:40:36 +0000 (15:40 +0000)]
disable these targets since this will not be fixed until post-release
jsing [Tue, 29 Jul 2008 15:06:51 +0000 (15:06 +0000)]
There is currently no CD-ROM install available for OpenBSD/sgi.
ok deraadt@
jmc [Tue, 29 Jul 2008 13:53:14 +0000 (13:53 +0000)]
example code fix from Will Maier; ok otto
mglocker [Tue, 29 Jul 2008 13:45:04 +0000 (13:45 +0000)]
The stream header length and flags field are uint8_t not int.
thib [Tue, 29 Jul 2008 10:05:38 +0000 (10:05 +0000)]
check for m_devget() returning NULL, increment ierror count
and just return;
OK mglocker@
yuo [Tue, 29 Jul 2008 06:51:54 +0000 (06:51 +0000)]
add description for the modem which has multiple com ports.
checked and ok jsg@
ratchov [Tue, 29 Jul 2008 05:59:11 +0000 (05:59 +0000)]
When paused (or overrun), the record ring pointers are not incremented
properly in audio_rint(), the periodic boundary conditions aren't met. This
causes, later read(2) to return EFAULT while trying to access unmapped
regions of the kernel address space. Fix this by using the correct pointer
arithmetic.
ok jakemsr@
miod [Tue, 29 Jul 2008 04:20:35 +0000 (04:20 +0000)]
Reenable the AUXWRITE dance to try and find the aux port in pckbc(4), based
on an attachment dependent flag; the Tadople SPARCLE needs it.
ok kettenis@ deraadt@
marco [Tue, 29 Jul 2008 01:18:02 +0000 (01:18 +0000)]
Add rebuild mark so that we can restart a rebuild upon clean shutdown.
Fix a typo while here.
The rebuild field was appended to the metadata so that we can automatically
update from v2 to v3. The only visible difference will be that in the dmesg
the SCSI version number will go from 002 to 003.
ok deraad.
reyk [Tue, 29 Jul 2008 00:18:25 +0000 (00:18 +0000)]
- fix FIFO overruns on PCI-E chipsets by setting the DMA size
RX/TX configuration registers to 128 instead of 512 bytes.
- add a few more MAC/RF id strings for the dmesg.
- check for PCI-E instead of single chip variants in a few places.
ok deraadt@
deraadt [Tue, 29 Jul 2008 00:12:18 +0000 (00:12 +0000)]
sync
jsg [Mon, 28 Jul 2008 23:44:10 +0000 (23:44 +0000)]
Install man pages for the BIO_* libcrypto functions, but not bio.3
as the page doesn't directly describe any functions.
ok deraadt@
kurt [Mon, 28 Jul 2008 22:11:00 +0000 (22:11 +0000)]
Only optimize away plt relocation when obj_base == 0. Corrects
pie relocation. Assembly debugging help from kettenis@.
okay kettenis@ miod@
fgsch [Mon, 28 Jul 2008 20:58:41 +0000 (20:58 +0000)]
zap some extra spaces and tabs.
fgsch [Mon, 28 Jul 2008 20:49:28 +0000 (20:49 +0000)]
When getting the string descriptors, fetch 2 bytes (size and type) first,
and then the whole string based on the returned size, not just one byte.
The Lexar card reader kindly loaned by
Denis Doroshenko (denis dot doroshenko at gmail.com) it's happy now, and
after further inspection it's what other OSs do.
Discussed with yuo@. krw@ yuo@ ok.
jmc [Mon, 28 Jul 2008 20:19:32 +0000 (20:19 +0000)]
some SEE ALSO fixes;
damien [Mon, 28 Jul 2008 20:10:28 +0000 (20:10 +0000)]
document WPA-PSK support.
"i would really appreciate just something going in" jmc@
otto [Mon, 28 Jul 2008 19:53:03 +0000 (19:53 +0000)]
man page bits for new malloc; ok jmc@
brad [Mon, 28 Jul 2008 19:52:21 +0000 (19:52 +0000)]
mention newer versions.
damien [Mon, 28 Jul 2008 19:42:13 +0000 (19:42 +0000)]
ignore PS mode changes and PS-Poll from non-associated STAs.
keep track of the number of associated STAs in PS mode.
claudio [Mon, 28 Jul 2008 19:38:07 +0000 (19:38 +0000)]
Align the route message length to the next natural boundary via ALIGN() to
ensure that the next message is nicely aligned as well. Some archs (sparc, m88k)have strict alignement issues since the inclusion of 64bit counters in the
messages because those values could end up on non aligned addresses.
Found and fix tested by miod@, OK deraadt@
miod [Mon, 28 Jul 2008 19:08:43 +0000 (19:08 +0000)]
No longer clear ci_want_resched within cpu_switchto(), now that it's done
in the MI code.
miod [Mon, 28 Jul 2008 18:51:11 +0000 (18:51 +0000)]
regen
miod [Mon, 28 Jul 2008 18:50:59 +0000 (18:50 +0000)]
Put XBOW in the generated constants, not PCI...
miod [Mon, 28 Jul 2008 18:48:25 +0000 (18:48 +0000)]
In addition to cop0 sr, prevent cop0 ic from being modified in
process_write_regs().
millert [Mon, 28 Jul 2008 18:22:24 +0000 (18:22 +0000)]
Update to tzcode2008e from elsie.nci.nih.gov
millert [Mon, 28 Jul 2008 18:19:57 +0000 (18:19 +0000)]
Update to tzdata2008e from elsie.nci.nih.gov
deraadt [Mon, 28 Jul 2008 17:57:49 +0000 (17:57 +0000)]
sync
miod [Mon, 28 Jul 2008 17:57:25 +0000 (17:57 +0000)]
Remove dead code.
miod [Mon, 28 Jul 2008 17:50:09 +0000 (17:50 +0000)]
In process_write_regs() and sigreturn(), be more strict about the bits
userland is allowed to change in psr.
miod [Mon, 28 Jul 2008 17:49:38 +0000 (17:49 +0000)]
According to the manual, delay slot kill the benefits of being superscalar,
so don't use any in the 88110-specific parts of locore.
reyk [Mon, 28 Jul 2008 16:56:05 +0000 (16:56 +0000)]
sync
reyk [Mon, 28 Jul 2008 16:53:18 +0000 (16:53 +0000)]
revert AR5416 PCIE to AR5418, the product description is clear about
it while atheros' driver says something wrong (even if it is
technically correct). also rename AR9280 PCIE to AR9281 (guessed).
triggered by kettenis@
deraadt [Mon, 28 Jul 2008 16:27:39 +0000 (16:27 +0000)]
document which functions use which YP maps; Ingo Schwarze
deraadt [Mon, 28 Jul 2008 16:22:11 +0000 (16:22 +0000)]
some cleanup; Gleydson Soares
kettenis [Mon, 28 Jul 2008 16:04:26 +0000 (16:04 +0000)]
regen
kettenis [Mon, 28 Jul 2008 16:03:48 +0000 (16:03 +0000)]
Name PLX PEX devices a bit more consistently, and keep them sorted in
numerical order.
claudio [Mon, 28 Jul 2008 15:42:07 +0000 (15:42 +0000)]
Do not use __progname in inetd as it is not portable. Instead hardcode it to
"inetd" in the few locations that print out the program name.
requested and OK deraadt@
thib [Mon, 28 Jul 2008 14:21:17 +0000 (14:21 +0000)]
remove an #if noyet block that will never be needed.
softupdates are reported too statfs via the mount point flags
or the mount_info part of statfs;
ok pedro@
kurt [Mon, 28 Jul 2008 14:17:00 +0000 (14:17 +0000)]
Remove separate pic versions of crt0, crtbegin, crtend. Next
release we are taking a different approach. Idea from kettenis@.
okay kettenis@ weingart@
jsg [Mon, 28 Jul 2008 14:16:19 +0000 (14:16 +0000)]
regen
jsg [Mon, 28 Jul 2008 14:15:18 +0000 (14:15 +0000)]
Add devices from submitted dmesgs and some VX800 bits.
thib [Mon, 28 Jul 2008 13:35:14 +0000 (13:35 +0000)]
dont stuff nfs mount point flags into the statfs f_flags member, its
wrong. But this was harmless anyway since sys_statfs() sets this field
corrently after calling VFS_STATFS();
ok pedro@, blambert@
claudio [Mon, 28 Jul 2008 13:25:10 +0000 (13:25 +0000)]
Fix the tracking of RTF_MPATH. Until now the magic happend on the first route
and not on the routes with the right prio. So pick up the correct route by
calling rn_mpath_prio() first.
OK henning@
yuo [Mon, 28 Jul 2008 10:42:12 +0000 (10:42 +0000)]
add another 3G modems support to umsm(4).
- Option GlobeSuffer ICON7.2
- Option GlobeTrotter HSDPA ICON 225
These modems require special request to change its mode to modem.
It is similar with huawei E220, but these modems using UMASS
standard query to change mode.
tested by pyr@ and ajacoutot@
ok jsg@ and pyr@
damien [Mon, 28 Jul 2008 10:38:05 +0000 (10:38 +0000)]
missing "goto err".
fix IEEE80211_DEBUG builds.
reyk [Mon, 28 Jul 2008 10:02:32 +0000 (10:02 +0000)]
sync
reyk [Mon, 28 Jul 2008 09:58:24 +0000 (09:58 +0000)]
new atheros PCI Ids for the ar9k chipsets, change AR5418 to be AR5416 PCIE.
jmc [Mon, 28 Jul 2008 08:29:50 +0000 (08:29 +0000)]
reinstate a comment whacked in -r1.138; ok deraadt
stefan [Mon, 28 Jul 2008 06:13:22 +0000 (06:13 +0000)]
Fix integer truncation in ttwrite(). ok deraadt, miod.
otto [Mon, 28 Jul 2008 04:56:38 +0000 (04:56 +0000)]
Almost complete rewrite of malloc, to have a more efficient data
structure of tracking pages returned by mmap(). Lots of testing by
lots of people, thanks to you all.
ok djm@ (for a slighly earlier version) deraadt@
deraadt [Mon, 28 Jul 2008 01:54:50 +0000 (01:54 +0000)]
sync
deraadt [Mon, 28 Jul 2008 01:54:46 +0000 (01:54 +0000)]
3 plx devices found on Sun T2 systems
jmc [Sun, 27 Jul 2008 21:14:31 +0000 (21:14 +0000)]
document COMPAT_O43; requested by Oleg Safiullin
text from otto
kettenis [Sun, 27 Jul 2008 20:33:23 +0000 (20:33 +0000)]
Increase the size of the TSB on large memory machines. This make building
a kernel 10-15% faster on the t1k. Don't do this for SMALL_KERNEL though,
otherwise the 4MB locked mapping for the data segment will be too small to
include a ramdisk.
damien [Sun, 27 Jul 2008 18:24:01 +0000 (18:24 +0000)]
sanitize RX path a bit.
make sure drivers pass a contiguous header, check header length earlier.
fix checking of frames sequence number for frames containing an Address 4
field (required for future work).
fix processing of control frames (only pspoll for now).
jmc [Sun, 27 Jul 2008 16:36:09 +0000 (16:36 +0000)]
+I-O DATA WN-G54/CF to the malo(4) list;
damien [Sun, 27 Jul 2008 14:21:15 +0000 (14:21 +0000)]
s/IEEE80211_DPRINTF/DPRINTF/
automatically prepend __func__ to output.
deobfuscates debug messages a bit.
no binary change unless compiled with IEEE80211_DEBUG.
damien [Sun, 27 Jul 2008 14:15:42 +0000 (14:15 +0000)]
remove unused structures and duplicated definitions.
remove clause 3 of license while I'm here (from FreeBSD).
sobrado [Sun, 27 Jul 2008 13:15:31 +0000 (13:15 +0000)]
an enum specifier is more elegant than a set of #defines;
storing the program mode variable (pmode) as a global let us have
a more consistent prototype for usage().
changes suggested by pyr@.
ok pyr@
mglocker [Sun, 27 Jul 2008 13:02:37 +0000 (13:02 +0000)]
Some devices take longer to load the firmware. Increase the firmware
load timeout from 50000us to 500000us.
Reported and tested by William Dunand with an I-O DATA WN-G54/CF device.
Since this device works now, we add it to the man page.
mbalmer [Sun, 27 Jul 2008 11:28:17 +0000 (11:28 +0000)]
fix a typo in a comment.
ok mglocker
jmc [Sun, 27 Jul 2008 10:24:27 +0000 (10:24 +0000)]
bad comma;
claudio [Sun, 27 Jul 2008 10:06:10 +0000 (10:06 +0000)]
Use __progname instead of hand rolled version using argv[0].
Diff from Gleydson Soares gsoares at gmail dot com
OK millert@
stefan [Sun, 27 Jul 2008 07:06:42 +0000 (07:06 +0000)]
Get TAILQ_REPLACE and CIRCLEQ_REPLACE prototypes right.
ok jaredy
miod [Sat, 26 Jul 2008 19:46:56 +0000 (19:46 +0000)]
Recognize an explicit + sign in exponent of hex float constants, needed to
compile current libm. ok martynas@
krw [Sat, 26 Jul 2008 18:55:31 +0000 (18:55 +0000)]
Silence scsi_inquire_vpd() so devices that don't understand the necessary
INQUIRY options don't spam dmesg during probe. Seen by miod@ and kettenis@
for SCSI CD's.
ok miod@
ian [Sat, 26 Jul 2008 16:20:17 +0000 (16:20 +0000)]
Add M$ NX-6000 cam, ok mglocker@
damien [Sat, 26 Jul 2008 12:56:06 +0000 (12:56 +0000)]
shrink ieee80211_set_link_state().