]>
CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
mlaier [Tue, 3 Nov 2009 21:57:00 +0000 (21:57 +0000)]
MFC r197334,r197433:
Extract svn and git version info from git-svn repos.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198863
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
alc [Mon, 2 Nov 2009 18:44:01 +0000 (18:44 +0000)]
MFC r197524
Make malloc(3) superpage aware.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198815
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
emaste [Mon, 2 Nov 2009 16:54:23 +0000 (16:54 +0000)]
MFC r197011:
Increase AAC_CMD_TIMEOUT from 30s to 120s to help avoid spurious
"COMMAND 0x........ TIMEOUT AFTER .. SECONDS" messages. Any commands
that get truly stuck will still trigger the warning and the hardware
health check, just a little bit later.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198809
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
emaste [Mon, 2 Nov 2009 16:46:06 +0000 (16:46 +0000)]
MFC r197082:
If the pxe client is told to use / as the root path, honour that rather
of trying to mount /pxeroot instead.
PR: i386/106493
Submitted by: Andrey Russev
git-svn-id: svn://svn.freebsd.org/base/stable/8@198806
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
emaste [Mon, 2 Nov 2009 16:32:32 +0000 (16:32 +0000)]
MFC r197692:
In fill_kinfo_thread, copy the thread's name into struct kinfo_proc even
if it is empty. Otherwise the previous thread's name would remain in the
struct and then be reported for this thread.
Submitted by: Ryan Stone
git-svn-id: svn://svn.freebsd.org/base/stable/8@198805
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
emaste [Mon, 2 Nov 2009 16:27:34 +0000 (16:27 +0000)]
MFC r198029:
Correct typo: thetime -> the time
PR: docs/139447
Submitted by: Guido Falsi mad at madpilot dot net
git-svn-id: svn://svn.freebsd.org/base/stable/8@198802
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
emaste [Mon, 2 Nov 2009 16:22:59 +0000 (16:22 +0000)]
MFC r198541:
Do first controller time sync after 1 minute, as in Adaptec's vendor
driver.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198799
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
rnoland [Mon, 2 Nov 2009 16:02:16 +0000 (16:02 +0000)]
MFC 198696
Cleanup in r600_blit
- Don't bother to assign vb until we know we have enough space
- Add variables for sx2, sy2, dx2, dy2 so that these aren't
calculated over and over, also reduce chance of errors.
- Use switch to assign color/format
git-svn-id: svn://svn.freebsd.org/base/stable/8@198797
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
rnoland [Mon, 2 Nov 2009 15:59:55 +0000 (15:59 +0000)]
MFC 198695
A bit of cleanup work on radeon_freelist_get()
* Fix the main loop to search all buffers before sleeping.
* Remove dead code
git-svn-id: svn://svn.freebsd.org/base/stable/8@198795
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
rnoland [Mon, 2 Nov 2009 15:57:03 +0000 (15:57 +0000)]
MFC 198692
Use system specified memory barriers rather than rolling our own.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198794
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
rnoland [Mon, 2 Nov 2009 15:53:32 +0000 (15:53 +0000)]
MFC 198691
Fix blitter support for RS880 chips
git-svn-id: svn://svn.freebsd.org/base/stable/8@198792
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
fjoe [Mon, 2 Nov 2009 09:47:15 +0000 (09:47 +0000)]
MFC: Allow KMOD with hypens and dots.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198783
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
alc [Sun, 1 Nov 2009 20:24:17 +0000 (20:24 +0000)]
MFC r197163
Add the FBSD_1.2 namespace.
Reminded by: kib
git-svn-id: svn://svn.freebsd.org/base/stable/8@198773
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
alc [Sun, 1 Nov 2009 19:22:07 +0000 (19:22 +0000)]
MFC r197331, r197394
Add getpagesizes(3).
git-svn-id: svn://svn.freebsd.org/base/stable/8@198772
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
alc [Sun, 1 Nov 2009 18:48:06 +0000 (18:48 +0000)]
MFC r197393
Add FreeBSD 7.2 and 7.3.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198771
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
avg [Sun, 1 Nov 2009 18:39:26 +0000 (18:39 +0000)]
MFC 197450: number of cleanups in i386 and amd64 pci md code
git-svn-id: svn://svn.freebsd.org/base/stable/8@198769
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
avg [Sun, 1 Nov 2009 18:16:55 +0000 (18:16 +0000)]
MFC 198272, 198288: fix watchdogd(8) reference
git-svn-id: svn://svn.freebsd.org/base/stable/8@198766
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
avg [Sun, 1 Nov 2009 18:10:38 +0000 (18:10 +0000)]
MFC 198279: fix sorting of some amd* entries in some makefiles
git-svn-id: svn://svn.freebsd.org/base/stable/8@198765
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
avg [Sun, 1 Nov 2009 17:56:45 +0000 (17:56 +0000)]
MFC 198279: fix sorting of some amd* entries in some makefiles
git-svn-id: svn://svn.freebsd.org/base/stable/8@198763
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
avg [Sun, 1 Nov 2009 17:53:33 +0000 (17:53 +0000)]
MFC 198271: add amdtemp to i386 NOTES
git-svn-id: svn://svn.freebsd.org/base/stable/8@198761
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
avg [Sun, 1 Nov 2009 17:45:37 +0000 (17:45 +0000)]
MFC 197647: cpufunc.h: unify/correct style of c extension names
git-svn-id: svn://svn.freebsd.org/base/stable/8@198760
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
avg [Sun, 1 Nov 2009 17:40:05 +0000 (17:40 +0000)]
MFC 197658: print machine in kernel boot version string
PR: kern/126926
git-svn-id: svn://svn.freebsd.org/base/stable/8@198758
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
avg [Sun, 1 Nov 2009 17:36:36 +0000 (17:36 +0000)]
MFC 197641: print_caddr_t: drop incorrect __unused from parameter
git-svn-id: svn://svn.freebsd.org/base/stable/8@198756
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
avg [Sun, 1 Nov 2009 11:34:13 +0000 (11:34 +0000)]
MFC r197128,197325: add support for smbus controller found in AMD SB700
git-svn-id: svn://svn.freebsd.org/base/stable/8@198749
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
brueffer [Sun, 1 Nov 2009 10:56:03 +0000 (10:56 +0000)]
MFC: r198609
Revert part of r198363, there is no "device cam", it is
included in "device scbus".
git-svn-id: svn://svn.freebsd.org/base/stable/8@198746
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
ed [Sun, 1 Nov 2009 10:30:30 +0000 (10:30 +0000)]
MFC various commits back to stable/8:
SVN r197174:
Make sure we never place the cursor outside the screen.
For some vague reason, it may be possible that scp->cursor_pos exceeds
scp->ysize * scp->xsize. This means that teken_set_cursor() may get
called with an invalid position. Just ignore the old cursor position in
this case.
Reported by: Paul B. Mahol <onemda gmail com>
SVN r198213:
Make lock devices work properly.
It turned out I did add the code to use the init state devices to set
the termios structure when opening the device, but it seems I totally
forgot to add the bits required to force the actual locking of flags
through the lock state devices.
Reported by: ru
SVN r198215, r198217:
Fix a typo in the jail(8) manpage.
Submitted by: Jille Timmermans <jille quis cx>
SVN r198216:
Fix qouting in a comment, to make it look more consistent
Submitted by: Jille Timmermans <jille quis cx>
SVN r198223:
Properly set the low watermarks when reducing the baud rate.
Now that buffers are deallocated lazily, we should not use
tty*q_getsize() to obtain the buffer size to calculate the low
watermarks. Doing this may cause the watermark to be placed outside the
typical buffer size.
This caused some regressions after my previous commit to the TTY code,
which allows pseudo-devices to resize the buffers as well.
Reported by: yongari, dougb
git-svn-id: svn://svn.freebsd.org/base/stable/8@198745
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mav [Sun, 1 Nov 2009 10:01:39 +0000 (10:01 +0000)]
MFC rev. 198623:
Add missing ATA kernel options dependencies.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198744
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
sson [Sat, 31 Oct 2009 21:22:18 +0000 (21:22 +0000)]
MFC 197240,197241,197242,197243,197293,197294,197407:
Add EVFILT_USER filter and EV_DISPATCH/EV_RECEIPT flags to kevent(2).
Approved by: rwatson (mentor)
git-svn-id: svn://svn.freebsd.org/base/stable/8@198732
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
alc [Sat, 31 Oct 2009 19:02:08 +0000 (19:02 +0000)]
MFC r197317
When superpages are enabled, add the 2 or 4MB page size to the array of
supported page sizes.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198729
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
alc [Sat, 31 Oct 2009 18:54:26 +0000 (18:54 +0000)]
MFC r197316
Add a new sysctl for reporting all of the supported page sizes.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198728
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
alc [Sat, 31 Oct 2009 18:18:32 +0000 (18:18 +0000)]
MFC r198472
Eliminate an unnecessary check from vm_fault_prefault().
git-svn-id: svn://svn.freebsd.org/base/stable/8@198726
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
antoine [Sat, 31 Oct 2009 12:26:40 +0000 (12:26 +0000)]
MFC r196891 to stable/8:
Change w_notrunning and w_stillcold from pointer to array so that sizeof
returns what is expected.
PR: kern/138557
Discussed with: brucec@
MFC after: 1 month
git-svn-id: svn://svn.freebsd.org/base/stable/8@198715
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
brueffer [Sat, 31 Oct 2009 11:08:04 +0000 (11:08 +0000)]
MFC: r198356
Fix a memory leak in an error case.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198711
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
brueffer [Sat, 31 Oct 2009 10:59:53 +0000 (10:59 +0000)]
MFC: r198327
Add a missing free() call.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198710
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
edwin [Sat, 31 Oct 2009 06:35:40 +0000 (06:35 +0000)]
MFCs of r197764, r197765, r197766, r197847:
Modified locale(1) to be able to show the altmon_X fields and the
[cxX]_fmt's. Also modify the "-k list" option to display only
fields with a certain prefix.
Add the comment "(FreeBSD only)" to the altmonth_x keywords
git-svn-id: svn://svn.freebsd.org/base/stable/8@198704
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
rpaulo [Fri, 30 Oct 2009 19:59:50 +0000 (19:59 +0000)]
MFC r198230, r198242, r198260, r198346, r198369, r198384:
More mesh fixes to comply with latest draft.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198699
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
rafan [Fri, 30 Oct 2009 17:28:35 +0000 (17:28 +0000)]
MFC r198490
Pull upstream patch to fix ee(1) crash when received SIGWINCH:
modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a
SIGWINCH, and discard that value, to avoid confusing application
(patch by Eygene Ryabinkin, FreeBSD bin/136223).
PR: 136223
Submitted by: Eygene Ryabinkin
Obtained from: ncurses-5.7-
20091024 snapshot
git-svn-id: svn://svn.freebsd.org/base/stable/8@198693
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
rnoland [Fri, 30 Oct 2009 16:43:28 +0000 (16:43 +0000)]
MFC r197950
Add pci id's for Intel G41 chipset
git-svn-id: svn://svn.freebsd.org/base/stable/8@198689
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
rnoland [Fri, 30 Oct 2009 16:37:58 +0000 (16:37 +0000)]
MFC r197951
Add support for Intel G41 chipset
git-svn-id: svn://svn.freebsd.org/base/stable/8@198687
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
rnoland [Fri, 30 Oct 2009 16:32:35 +0000 (16:32 +0000)]
MFC r196470-196471,197154-197155,197603-197606
Sync radeon drm support
This adds kernel support for r6/7xx 3D.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198685
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
rnoland [Fri, 30 Oct 2009 16:14:17 +0000 (16:14 +0000)]
MFC r196466
Add a read only sysctl tracking the hw.drm.msi tunable.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198682
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
rnoland [Fri, 30 Oct 2009 16:12:28 +0000 (16:12 +0000)]
MFC r196465
Clean up the handling of device minors
git-svn-id: svn://svn.freebsd.org/base/stable/8@198681
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
rnoland [Fri, 30 Oct 2009 16:06:32 +0000 (16:06 +0000)]
MFC r196464
Clean up the locking in drm_alloc_resource()
git-svn-id: svn://svn.freebsd.org/base/stable/8@198679
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
rnoland [Fri, 30 Oct 2009 15:45:00 +0000 (15:45 +0000)]
MFC r198097
Set the active flag in the PMBR when we install bootcode on a GPT
partitioned disk. Some BIOS require this to be set before they will
boot the device.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198676
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mav [Fri, 30 Oct 2009 13:02:08 +0000 (13:02 +0000)]
MFC rev. 197621:
Fix bug, when RADIUS client gave up after single sendto() error, do not
trying backup servers.
PR: kern/103764, misc/139214
git-svn-id: svn://svn.freebsd.org/base/stable/8@198674
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mav [Fri, 30 Oct 2009 12:57:28 +0000 (12:57 +0000)]
MFC rev. 197086:
Add simple embedded RADIUS server support to libradius, by extending existing
API, keeping backward compatibility.
First consumer for this functionality is going to become forthcoming MPD-5.4,
supporting CoA and DR of RFC 3576: Dynamic Authorization Extensions to RADIUS.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198672
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:28:48 +0000 (23:28 +0000)]
MFC r198373
Allow dumping the USB mouse reports via 'sysctl -b dev.ums.N.parseinfo',
previously only available via bootverbose.
PR: usb/137191
git-svn-id: svn://svn.freebsd.org/base/stable/8@198664
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:28:21 +0000 (23:28 +0000)]
MFC r198258
Add opt_gdb.h which is now needed by ucom.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198663
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:27:40 +0000 (23:27 +0000)]
MFC r198257
Add support for newer WinChipHead CH341 chips, previously in the uch341 driver.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198662
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:27:00 +0000 (23:27 +0000)]
MFC r198153
Correct offset calcluation for the NCM implementation.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198661
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:26:29 +0000 (23:26 +0000)]
MFC r198152
Only poll ukbd if KDB is active.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198660
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:25:52 +0000 (23:25 +0000)]
MFC r198151
Workaround buggy BIOS code in USB regard. By doing the BIOS to OS handover for
all host controllers at the same time, we avoid problems where the BIOS will
actually write to the USB registers of all the USB host controllers every time
we handover one of them, and consequently reset the OS programmed values.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198659
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:25:13 +0000 (23:25 +0000)]
MFC r197999 (hrs)
Fix the 106/109 USB Japanese keyboard "underscore" issue.
Sun Type 6 USB keyboard support added in rev 1.46 conflicted with
some scan codes used in Japanese keyboards because the scan code
conversion routine was ambiguous for the overlapped codes.
PR: ports/134005
git-svn-id: svn://svn.freebsd.org/base/stable/8@198658
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:24:41 +0000 (23:24 +0000)]
MFC r197573
Add back endpoint swap detection that was disabled in an earlier driver
conversion.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198657
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:24:10 +0000 (23:24 +0000)]
MFC r197572
Add new FTDI IDs.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198656
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:23:34 +0000 (23:23 +0000)]
MFC r197570
Add experimental support for usb serial console and polled mode during DDB.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198655
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:22:54 +0000 (23:22 +0000)]
MFC r197569
Add a config number quirk for the ELSA_MODEM1
git-svn-id: svn://svn.freebsd.org/base/stable/8@198654
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:22:23 +0000 (23:22 +0000)]
MFC r197568
add more device IDs
git-svn-id: svn://svn.freebsd.org/base/stable/8@198653
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:21:52 +0000 (23:21 +0000)]
MFC r197567
Allow setting of MAC address for AXE based ethernet adapters.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198652
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:21:20 +0000 (23:21 +0000)]
MFC r197566
Increase the rx buffer size to 16384 bytes, this increases RX performance from
50Mbps to 220Mbps on PLANEX GU-1000T.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198651
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:20:47 +0000 (23:20 +0000)]
MFC r197565
- Remove SAMSUNG_YP_U2 now that it is in the cam layer
- Add quirk from Tobias Grosser for Western Mypassword
git-svn-id: svn://svn.freebsd.org/base/stable/8@198650
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:20:15 +0000 (23:20 +0000)]
MFC r197564
Add new usbdev entries for Marvell, FTDI, Option and Western.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198649
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:19:41 +0000 (23:19 +0000)]
MFC r197563
Add basic support for USB Network Control Model (NCM) v1.0 to if_cdce.c.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198648
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:18:59 +0000 (23:18 +0000)]
MFC r197562
Add extra safety locking when clobbering xfer->flags_int.started in start and
stop functions, because xfer->flags_int is also updated by the USB controller,
under the controller lock.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198647
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:18:27 +0000 (23:18 +0000)]
MFC r197561
Correct buffer sizes used so that they match. The old code could give the
impression that a overflow situation existed but was not possible.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198646
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:17:54 +0000 (23:17 +0000)]
MFC r197559
Add support for USB language selection.
PR: usb/138563
git-svn-id: svn://svn.freebsd.org/base/stable/8@198645
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:17:23 +0000 (23:17 +0000)]
MFC r197558
Fix NULL-pointer dereference in usb_endpoint_foreach().
PR: usb/138389
git-svn-id: svn://svn.freebsd.org/base/stable/8@198644
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:16:39 +0000 (23:16 +0000)]
MFC r197556
Clear all interrupts rather than just SETUP packet.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198643
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:16:00 +0000 (23:16 +0000)]
MFC r197555
Simplify logic around setting EHCI_QH_DTC and expand some htohc32(temp.sc, 0)
statements to zero.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198642
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:15:26 +0000 (23:15 +0000)]
MFC r197554
Import two PCI quirks from Linux
- Add quirk for ATI SB600 and SB700 to free SMB controller
- Correct schedule sleep time to 10us on the VIA ehci controller
git-svn-id: svn://svn.freebsd.org/base/stable/8@198641
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:14:39 +0000 (23:14 +0000)]
MFC r197553
- clean up USB detach logic. There seems to be some problems detaching multiple
USB HUBs connected in series from the root.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198640
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:14:06 +0000 (23:14 +0000)]
MFC r196826
Make umass(4) pass device USB serial number to CAM, making it possible
to e.g. retrieve it using camcontrol(8).
git-svn-id: svn://svn.freebsd.org/base/stable/8@198639
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:13:36 +0000 (23:13 +0000)]
MFC r196497
Remove redundant locking.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198638
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:13:02 +0000 (23:13 +0000)]
MFC r196496
Add a reminder comment to optimize bus_dmamap_sync calls.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198637
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:12:29 +0000 (23:12 +0000)]
MFC r196495
Add mass storage quirks.
PR: usb/137138,usb/137226,usb/137789,usb/135372
git-svn-id: svn://svn.freebsd.org/base/stable/8@198636
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:11:48 +0000 (23:11 +0000)]
MFC r196494
- fix uvisor support, mostly correct buffer sizes used.
- correct device info flag for SONY Cli NR70V
git-svn-id: svn://svn.freebsd.org/base/stable/8@198635
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:11:13 +0000 (23:11 +0000)]
MFC r196493
- Fix false positive uipaq probe
git-svn-id: svn://svn.freebsd.org/base/stable/8@198634
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:10:41 +0000 (23:10 +0000)]
MFC r196492
- fix CDC ethernet matching order so that the match flags get correct.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198633
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:10:11 +0000 (23:10 +0000)]
MFC r196491
We used force all of the GPIO pins low first and then
enable the ones we want. This has been changed to better
match the ADMtek's reference design to avoid setting the
power-down configuration line of the PHY at the same time
it is reset.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198632
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:09:37 +0000 (23:09 +0000)]
MFC r196490
- FIFO's are always opened separately in read and write direction even if the
actual device is opened for read and write. Fix fflags check so that the UFM
and URIO drivers work.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198631
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
thompsa [Thu, 29 Oct 2009 23:09:02 +0000 (23:09 +0000)]
MFC r196488
- allow disabling "root_mount_hold()" by setting a sysctl/tunable at boot
- remove some redundant initial explore code
git-svn-id: svn://svn.freebsd.org/base/stable/8@198630
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jilles [Thu, 29 Oct 2009 21:25:16 +0000 (21:25 +0000)]
MFC r197363: Update find(1) man page for -L/-delete interaction.
It is a bit unfortunate that the example to delete broken symlinks now uses
rm(1), but allowing this with -delete would require fixing fts(3) to not
imply FTS_NOCHDIR if FTS_LOGICAL is given (or hacks in the -delete option).
PR: bin/90687
git-svn-id: svn://svn.freebsd.org/base/stable/8@198628
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jilles [Thu, 29 Oct 2009 21:13:57 +0000 (21:13 +0000)]
MFC r197371: Mention that NUL characters are not allowed in sh(1) input.
I do not consider this a bug because POSIX permits it and argument strings
and environment variables cannot contain '\0' anyway.
PR: bin/25542
git-svn-id: svn://svn.freebsd.org/base/stable/8@198624
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
brueffer [Thu, 29 Oct 2009 16:30:48 +0000 (16:30 +0000)]
MFC: r198314
Add empty watchdogd_flags.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198615
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
kib [Thu, 29 Oct 2009 16:28:21 +0000 (16:28 +0000)]
MFC r197930:
Postpone dropping fp till both kq_global and kqueue mutexes are
unlocked.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198614
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
kib [Thu, 29 Oct 2009 16:24:39 +0000 (16:24 +0000)]
MFC r197389:
Do panic regardeless of execution mode at the moment of T_RESERVED trap.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198613
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
kib [Thu, 29 Oct 2009 16:21:52 +0000 (16:21 +0000)]
MFC r197429:
Document osrel node for procfs.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198612
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
kib [Thu, 29 Oct 2009 16:19:58 +0000 (16:19 +0000)]
MFC r197428:
Add per-process osrel node to the procfs, to allow read and set p_osrel
value for the process.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198611
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jhb [Thu, 29 Oct 2009 16:00:27 +0000 (16:00 +0000)]
MFC 197439:
Extract the code to find and map the MADT ACPI table during early kernel
startup and genericize it so it can be reused to map other tables as well:
- Add a routine to walk a list of ACPI subtables such as those used in the
APIC and SRAT tables in the MI acpi(4) driver.
- Move the routines for mapping and unmapping an ACPI table as well as
mapping the RSDT or XSDT and searching for a table with a given signature
out into acpica_machdep.c for both amd64 and i386.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198610
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jhb [Thu, 29 Oct 2009 15:39:18 +0000 (15:39 +0000)]
MFC 198085:
Add a manual page for BUS_BIND_INTR() and bus_bind_intr().
git-svn-id: svn://svn.freebsd.org/base/stable/8@198604
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jhb [Thu, 29 Oct 2009 15:28:05 +0000 (15:28 +0000)]
MFC 197649:
Do not hold the ACPI A/C adapter lock when changing the power profile.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198602
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jhb [Thu, 29 Oct 2009 15:24:57 +0000 (15:24 +0000)]
MFC 197648:
Split the 'video' ACPI lock up into two locks to resolve a LOR with the
sysctl lock. The 'video' lock now protects the 'bus' of video output
devices attached to a graphics adapter. It is used when iterating over
the list of outputs, etc. The 'video_output' lock is used to lock the
output-specific data similar to a driver lock for the individual video
outputs.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198600
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jhb [Thu, 29 Oct 2009 15:17:59 +0000 (15:17 +0000)]
MFC 196840:
Fill the reverse RSS map with 0xff's so that the subsequent loop to
calculate the values will work properly.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198598
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jhb [Thu, 29 Oct 2009 15:13:36 +0000 (15:13 +0000)]
MFC 197460:
Remove unnecessary locking from attach(). This fixes a LOR between the
acpi_ibm lock and the sysctl lock.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198596
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jhb [Thu, 29 Oct 2009 15:09:54 +0000 (15:09 +0000)]
MFC 196615:
Extend the device pager to support different memory attributes on different
pages in an object.
- Add a new variant of d_mmap() currently called d_mmap2() which accepts
an additional in/out parameter that is the memory attribute to use for
the requested page.
- A driver either uses d_mmap() or d_mmap2() for all requests but not both.
The current implementation uses a flag in the cdevsw (D_MMAP2) to indicate
that the driver provides a d_mmap2() handler instead of d_mmap(). This
is done to make the change ABI compatible with existing drivers and
MFC'able to 7 and 8.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198594
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
jhb [Thu, 29 Oct 2009 14:40:21 +0000 (14:40 +0000)]
MFC 196555:
- Use the headers from ACPI-CA to define various constants and structures
for table layouts, etc. rather than homerolling our own structures and
constants in acpidump.h.
- Verify the extended checksum on the RSDP.
- Handle new ACPI 3.0 fields in MADT including X2APIC entries and
UIDs for local SAPICs.
- Add handling for new ACPI 3.0 flags in the FADT.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198591
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mav [Thu, 29 Oct 2009 10:38:17 +0000 (10:38 +0000)]
MFC rev. 198487:
Round timeout up when converting CAM milliseconds to ATA seconds.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198578
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mav [Thu, 29 Oct 2009 10:35:50 +0000 (10:35 +0000)]
MFC rev. 198488:
Report SATA speeds to CAM, to not confuse users with low numbers logged.
git-svn-id: svn://svn.freebsd.org/base/stable/8@198577
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mav [Thu, 29 Oct 2009 10:05:08 +0000 (10:05 +0000)]
MFC rev. 198481, 198482:
Add two more VIA SATA chip IDs.
PR: kern/135057
git-svn-id: svn://svn.freebsd.org/base/stable/8@198576
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f
mav [Thu, 29 Oct 2009 09:58:16 +0000 (09:58 +0000)]
MFC rev. 198480, 198483:
Document new modularised ATA kernel modules and options.
PR: kern/133162, amd64/139859
git-svn-id: svn://svn.freebsd.org/base/stable/8@198574
ccf9f872 -aa2e-dd11-9fc8-
001c23d0bc1f