summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Restore creation of passthrough devices with newer controller firmware byemaste2008-03-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | putting the correct size in the fib header. Presumably the older firmware silently ignored a bad size field. (This change tested with a 3805 controller. Passthrough devices were created when running firmware build 12814, but not 15323 or later. With this change they're created for both old and new firmware versions.) Submitted by: Adaptec
* | | Add ioctls FSACTL_SEND_LARGE_FIB, FSACTL_SEND_RAW_SRB,emaste2008-03-202-8/+37
| | | | | | | | | | | | | | | | | | | | | | | | FSACTL_LNX_SEND_LARGE_FIB, and FSACTL_LNX_SEND_RAW_SRB, and correct size checks on FIBs passed in from userspace. Both changes were obtained from Adaptec's driver build 15317. Adaptec's commandline RAID tool arcconf uses these ioctls when creating a RAID-10 array (and probably other operations too).
* | | add usb devices and more wlan stuff now that usb is functionalsam2008-03-201-13/+19
| | | | | | | | | | | | MFC after: 1 month
* | | o Add stub support for some new futex operations,rdivacky2008-03-202-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so the annoying message is not printed. o Don't warn about FUTEX_FD not being implemented and return ENOSYS instead of 0 (eg. success). o Clear FUTEX_PRIVATE_FLAG as we actually implement only private futexes so there is no reason to return ENOSYS when app asks for a private futex. We don't reject shared futexes because they worked just fine with our implementation so far. Approved by: kib (mentor) Tested by: bsam MFC after: 1 week
* | | Workaround design botch in usb: blindly mixing bus_dma with PIO does notsam2008-03-202-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | work on architectures with a write-back cache as the PIO writes end up in the cache which the sync(BUS_DMASYNC_POSTREAD) in usb_transfer_complete then discards; compensate in the xfer methods that do PIO by pushing the writes out of the cache before usb_transfer_complete is called. This fixes USB on xscale and likely other places. Sponsored by: hobnob Reviewed by: cognet, imp MFC after: 1 month
* | | Do not dereference cdev->si_cdevsw, use the dev_refthread() to properlykib2008-03-202-9/+28
| | | | | | | | | | | | | | | | | | | | | | | | obtain the reference. In particular, this fixes the panic reported in the PR. Remove the comments stating that this needs to be done. PR: kern/119422 MFC after: 1 week
* | | Correct cache handling for xfer requests marked URQ_REQUEST: many (if notsam2008-03-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | all uses) involve a read but usbd_start_transfer only does a PREWRITE; change this to BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE as I'm not sure if any users do write+read. Reviewed by: cognet, imp MFC after: 1 month
* | | map device 5; the optional USB controller on Gateworks 2348 boardssam2008-03-201-3/+4
| | | | | | | | | | | | | | | | | | | | | shows up here instead of the minipci slot at J4 Reviewed by: cognet, imp MFC after: 1 week
* | | Fix the leak of the vmspace on the fork when the process limitskib2008-03-201-2/+4
| | | | | | | | | | | | | | | | | | | | | are exceeded. Pointy hat to: me MFC after: 3 days
* | | Alert properly when we have stale mounts left after interuptingremko2008-03-201-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | a tinybsd build. If we do not do this, we can accidentally remove critical files from directories like /lib (if mounted). PR: misc/121763 Submitted by: Richard Arends < richard at unixguru dot nl > MFC after: 3 days
* | | Fix Problem with Intel Matrix RAID.sos2008-03-201-11/+19
| | | | | | | | | | | | Fix from PR/121899.
* | | pthread_mutexattr_destroy() was accidentally broken in last revision,ru2008-03-201-0/+1
| | | | | | | | | | | | unbreak it. We should really start compiling this with warnings.
* | | "track" is a script I've used for ages to track the progress of a build.des2008-03-203-0/+57
| | | | | | | | | | | | | | | Unlike whereintheworld, it continuously monitors the log file; it also produses less verbose output.
* | | s/wait/delta/ to avoid namespace collision.des2008-03-201-16/+16
| | | | | | | | | | | | MFC after: 2 weeks
* | | Fix usage string.des2008-03-201-2/+2
| | |
* | | Preserve application code's errno in rtld locking code, it attemps to keepdavidxu2008-03-201-2/+31
| | | | | | | | | | | | any case safe.
* | | Oops, add back the SYNOPSIS section header I accidently removed in thebrueffer2008-03-201-0/+1
| | | | | | | | | | | | previous revision.
* | | Make pthread_mutexattr_settype to return error number directly anddavidxu2008-03-201-3/+1
| | | | | | | | | | | | | | | | | | conformant to POSIX specification. Bug reported by: modelnine at modelnine dt org
* | | back out last change as Sam believes that it breaks multicast - need to ↵kmacy2008-03-201-2/+1
| | | | | | | | | | | | revisit after following up with pyun
* | | - Restore runq to manipulating threads directly by putting runq links andjeff2008-03-207-252/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rqindex back in struct thread. - Compile kern_switch.c independently again and stop #include'ing it from schedulers. - Remove the ts_thread backpointers and convert most code to go from struct thread to struct td_sched. - Cleanup the ts_flags #define garbage that was causing us to sometimes do things that expanded to td->td_sched->ts_thread->td_flags in 4BSD. - Export the kern.sched sysctl node in sysctl.h
* | | forced commit to add that the fix in the previous commit was submitted by ↵kmacy2008-03-200-0/+0
| | | | | | | | | | | | Devon H. O'Dell
* | | Don't re-initialize the interface if it is already running.kmacy2008-03-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This one line change makes the following code found in many ethernet device drivers (at least em, igb, ixgbe, and cxgb) gratuitous case SIOCSIFADDR: if (ifa->ifa_addr->sa_family == AF_INET) { /* * XXX * Since resetting hardware takes a very long time * and results in link renegotiation we only * initialize the hardware only when it is absolutely * required. */ ifp->if_flags |= IFF_UP; if (!(ifp->if_drv_flags & IFF_DRV_RUNNING)) { EM_CORE_LOCK(adapter); em_init_locked(adapter); EM_CORE_UNLOCK(adapter); } arp_ifinit(ifp, ifa); } else error = ether_ioctl(ifp, command, data); break;
* | | - Add the Corega CG-WLUSB2GL from NetBSDkevlo2008-03-202-0/+4
| | | | | | | | | | | | - Add the Corega CG-WLUSB2GPX
* | | Improve VT_WAITACTIVE semantics.bland2008-03-201-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | - Wait for requested vty activation regardless its open state. - Remove redundant console cleanup. Approved by: kib MFC after: 1 week
* | | add some debug msgs for tracking xferssam2008-03-201-4/+9
| | |
* | | add support for %b printing of request + xfer flagssam2008-03-202-0/+4
| | |
* | | - Remove the unused and redundant sched_newproc() function.jeff2008-03-202-37/+3
| | | | | | | | | | | | | | | - Remove the unused and redundant sched_newthread() which peaks into scheduler private structures.
* | | - There is no sense in calling sched_newthread() at thread_init() andjeff2008-03-201-2/+0
| | | | | | | | | | | | | | | | | | | | | thread_fini(). The schedulers initialize themselves properly during sched_fork_thread() anyhow. fini is only called when we're returning the memory to the allocator which surely doesn't care what state the memory is in.
* | | - ULE and 4BSD share only one line of code from sched_newthread() so implementjeff2008-03-202-7/+10
| | | | | | | | | | | | | | | the required pieces in sched_fork_thread(). The td_sched pointer is already setup by thread_init anyway.
* | | - Don't call the empty sched_newproc() function. sched_newproc() alreadyjeff2008-03-201-1/+0
| | | | | | | | | | | | existed as sched_fork() which is a non empty function in both schedulers.
* | | Resolve conflicts.delphij2008-03-202-7/+8
| | |
* | | Update upgrade instructions to reflect 1.0.5 import; add FREEBSD-vendordelphij2008-03-202-2/+9
| | | | | | | | | | | | metadata file.
* | | This commit was generated by cvs2svn to compensate for changes in r177420,delphij2008-03-2017-42/+57
|\ \ \ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | | Virgin import (trimmed) of Bzip2 version 1.0.5.delphij2008-03-2019-49/+65
| | | |
| * | | Remove manual.texi which does not belong to this distributiondelphij2007-03-281-2243/+0
| | | |
| * | | Remove Y2K_INFO which does not belong to this distributiondelphij2007-03-281-34/+0
| | | |
* | | | - Move maybe_preempt() from kern_switch.c to sched_4bsd.c. This is functionjeff2008-03-203-114/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is only used by 4bsd. - Create a new runq_choose_fuzz() function rather than polluting runq_choose() with 4BSD specific code. - Move the fuzz sysctl into sched_4bsd.c - Remove some dead code from kern_switch.c
* | | | - Directly include opt_sched.h in sched_4bsd.jeff2008-03-201-0/+1
| | | |
* | | | - Add an option to compile in SCHED_STATS.jeff2008-03-202-1/+7
| | | | | | | | | | | | | | | | - Add some more information about SLEEPQUEUE_PROFILING to NOTES.
* | | | Replace really convoluted code that simplifies to "a ^= 0x01;"julian2008-03-191-9/+2
| | | |
* | | | fix link management bug and conditionally allow the PHY to be kept on at all ↵kmacy2008-03-191-2/+8
| | | | | | | | | | | | | | | | times for allowing non-conformant link state checks
* | | | Rename vm_pageq_requeue() to vm_page_requeue() on account of its recentalc2008-03-193-15/+15
| | | | | | | | | | | | | | | | migration to vm/vm_page.c.
* | | | Re-enable the CVS build.obrien2008-03-191-3/+3
| | | |
* | | | Update for version 1.11-20080310.obrien2008-03-191-5/+44
| | | | | | | | | | | | | | | | | | | | Make our changes to CVS_RSH & CVS_SSH settings here instead of contrib/cvs/src/cvs.h.
* | | | + Make it clear this was taken from the CVS 1.11 branch on 10-March-2008.obrien2008-03-191-3/+3
| | | | | | | | | | | | | | | | + Depend on $CVSDIR/configure also - so things get properly remade if we tweak.
* | | | Remove FreeBSD ID's so these are exact copies of the vendor sources.obrien2008-03-194-9/+1
| | | |
* | | | We use the stock versions of these files.obrien2008-03-194-31/+109
| | | |
* | | | Actually our rev 1.21(change default from "rsh" to "ssh") tweaking isobrien2008-03-190-0/+0
| | | | | | | | | | | | | | | | | | | | moving to gnu/usr.bin/cvs/lib/config.h.proto. So the rev 1.21 no longer is applicable here.
* | | | Merge rev 1.9 (new long flag to ignore the CVSROOT/passwd file)obrien2008-03-191-32/+17
| | | | | | | | | | | | | | | | rev 1.2 (local tag/$Id$ keyword support) into version 1.11-20080310.
* | | | Merge rev 1.9 (update "-T" Template support) and rev 1.2 (-D'date'obrien2008-03-191-52/+95
| | | | | | | | | | | | | | | | option with -r'branch' on update) into version 1.11-20080310.
OpenPOWER on IntegriCloud