summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix coherency issue. From submitter:imp2006-11-221-0/+7
| | | | | | | | | | | | | | | | | | | | | | | I have been debugging the usb problems some more. Your were right in your assumption (thanks for the pointer) about lack of calls to bus_dmamap_sync(). In usbdi.c bus_dmamap_sync() does get used for transfers that move data from PC to USB and it is used for transfers that move data from USB to PC. But someone forgot that control transfers consist of possibly two data chunks : the request itself and optionally a buffer of data that should be transfered to or from the USB device. On requests to the control endpoint without additional data bus_dmamap_sync() didn't get called. For some reason my first tests with umass worked (due to enough cache poisening I guess). The attached patch adds a call to bus_dmamap_sync() to usbdi.c and now all devices I have tried work out of the box. I have successfully transfered large files using the if_axe driver and I have mounted several different umass devices. submitted by: Daan Vreeken sponsored by: Vitsch Electronics reviewed by: cognet@
* Change error codes returned by protocol operations when an inpcb issam2006-11-221-6/+6
| | | | | | | | | | | | | | | | | | | | marked INP_DROPPED or INP_TIMEWAIT: o return ECONNRESET instead of EINVAL for close, disconnect, shutdown, rcvd, rcvoob, and send operations o return ECONNABORTED instead of EINVAL for accept These changes should reduce confusion in applications since EINVAL is normally interpreted to mean an invalid file descriptor. This change does not conflict with POSIX or other standards I checked. The return of EINVAL has always been possible but rare; it's become more common with recent changes to the socket/inpcb handling and with finer-grained locking and preemption. Note: there are other instances of EINVAL for this state that were left unchanged; they should be reviewed. Reviewed by: rwatson, andre, ru MFC after: 1 month
* Initialization bugfixes and enhancements:gallatin2006-11-222-6/+51
| | | | | | | | | | | - Fix bug preventing adoption of running firmware - Set PCIe max read request size to 4KB - Read PCIe link width from config space - Assume aligned completions from the southbridge ports of intel E5000 chips - Use aligned firmware when link width is x4 or less - Add hw.mxge.force_firmware tunable to allow user to force selection of aligned (or unaligned) firmware
* Remove reference to mount_fdescfs.rodrigc2006-11-221-1/+0
| | | | Suggested by: ru
* Cross-reference nextboot(8).jkoshy2006-11-222-0/+2
| | | | MFC after: 3 days
* Bring in status led support for /dev/led/gpioled on Avila.kevlo2006-11-224-0/+118
| | | | Approved by: cognet
* Remove reference to mount_devfs(8).rodrigc2006-11-221-2/+1
| | | | Reminded by: ru
* It's been possible to build linprocfs as a module for some time now.ru2006-11-221-1/+1
| | | | Submitted by: rdivacky
* Add the SUBMAKE_TARGETS (like ppp_make) to the dependency listjb2006-11-221-1/+1
| | | | | | for linking the crunched app so that when a parallel make is run (like -j32 on sun4v), the link waits for the sub-make processes to complete.
* MFp4: Make it work :-)imp2006-11-221-139/+9
| | | | | | | | | | | o Don't delay when checking the done bits. There's no gain other than a small performance hit. o calculate the clock divisors better (things are still way slow, so maybe there's more here?) o don't always fail reset. Always succeed instead. o fix inverted logic around at91_twi_wait() return value o remove debug code o remove unneeded, unworking junk
* MFp4: Add ixpiic bit-bang driver.imp2006-11-221-0/+1
| | | | Submitted by: sam@
* <blush> copyout on read, not write.imp2006-11-221-2/+2
| | | | Tweak a comment while I'm here.
* Integrate, but do not enable support for dynamically resizing TSBskmacy2006-11-224-1/+114
|
* pmap_track_modified has been removed from other architectures -kmacy2006-11-223-33/+11
| | | | likewise remove from sun4v
* reduce whining from LINT by removing another GPL sound driverkmacy2006-11-221-0/+1
|
* add support for resizing the the tte_hash of multi-threaded processeskmacy2006-11-223-17/+25
|
* remove unused field from pcpu structurekmacy2006-11-221-2/+1
|
* remove dead code from tsb.ckmacy2006-11-224-68/+29
| | | | | switch tsbscratch over to using order of number of pages as opposed to actual number of pages switch tsb.c over to using wrappers for contig page allocation
* move contiguous allocation and free routines from tte_hash.c into pmap.ckmacy2006-11-223-41/+43
|
* Add tte_hash and tsb update handlers for handling tte_hash and tsbkmacy2006-11-222-9/+56
| | | | resizing across cpus
* Remove reference to mount_fdescfs.rodrigc2006-11-221-2/+2
| | | | Reminded by: ru
* Remove references to mount_std, mount_procfs.rodrigc2006-11-221-3/+0
| | | | Reminded by: ru
* Remove references to mount_devfs, mount_fdescfs, mount_linprocfs,rodrigc2006-11-227-28/+0
| | | | | | mount_procfs, and mount_std. Reminded by: ru
* Remove references to mount_devfs, mount_fdescfs, mount_linprocfs, mount_procfs.rodrigc2006-11-221-2/+1
| | | | Reminded by: ru
* Add mechanism to track TSB misses in tsb miss handlerkmacy2006-11-223-41/+53
| | | | Remove unused debug code
* Remove reference to mount_procfs.rodrigc2006-11-221-2/+1
| | | | Reminded by: ru
* Change mount_devfs reference to "mount -t devfs".rodrigc2006-11-211-2/+2
| | | | Reminded by: ru
* Acknowledge (dearly) departed filesdougb2006-11-211-12/+0
|
* Added MSI support.gallatin2006-11-211-12/+34
| | | | Sponsored by: Myricom Inc.
* Remove the NO_CTF option. It would have been required to supportjb2006-11-211-1/+1
| | | | DTrace.
* Remove the KDTRACE option because I can't implement it thejb2006-11-211-1/+0
| | | | | | | | | way I intended due to licensing restrictions. I had intended that it would be defaulted on, with opt-out possible for companies that don't accept the CDDL. The FreeBSD GENERIC kernel has to be entirely BSD licensed, so the only alternative would have been to make KDTRACE an opt-in option. That isn't a design I favour.
* o Sort Xrs.maxim2006-11-211-1/+1
|
* don't mark the cksum as invalid here... off is incorrect when we getjmg2006-11-211-1/+0
| | | | | | | here, it's either unset, or it's valid, so we don't need to do anything different... Reported by: Neterion (via rwatson)
* Change reference from mount(2) to nmount(2), since mount(8) usesrodrigc2006-11-211-1/+1
| | | | nmount to mount an mqueufs filesystem.
* Fix typo.yongari2006-11-211-1/+1
|
* Change reference from mount_devfs(8) to mount(8), and add an example.rodrigc2006-11-211-2/+8
| | | | | | Remove reference to mount_fdescfs(8), since mount(8) calls nmount() directly to mount an fdescfs filesystem, instead of forking an external mount_fdescfs program.
* Add TSO support.yongari2006-11-212-10/+25
| | | | Tested by: wilko, Pieter de Goeje < pieter AT degoeje DOT nl >
* o Correctly set IFCAP_VLAN_HWCSUM as re(4) can do VLAN tagging/checksumyongari2006-11-211-5/+17
| | | | | offloading in hardware. o Correctly set media header length for VLAN.
* Don't set RL_CFG1_FULLDUPLEX bit. The RL_CFG1_FULLDUPLEX bit inyongari2006-11-211-1/+1
| | | | config register 1 is only valid on 8129.
* Use #ifndef __NO_STRICT_ALIGNMENT rather thanyongari2006-11-211-1/+1
| | | | | #if !defined(__i386__) && !defined(__amd64__) for architectures with alignment constraints.
* Increase WARNS to 3.rodrigc2006-11-211-1/+1
|
* Fix last element of nc_protos[] array to appease GCC.rodrigc2006-11-211-1/+1
|
* Convert mount_nfs from old mount(2) API to new nmount(2) API.rodrigc2006-11-211-1/+11
| | | | Reviewed by: mohans
* Add suspend/resume support. Unlike many other NIC drivers,jhb2006-11-201-0/+38
| | | | | | | | bfe_init_locked() wasn't sufficient to bring the chip back to life, it also required a call to bfe_chip_reset() during resume. Tested by: Stepan Zastupov +redchrom at gmail+ MFC after: 1 week
* Document that the data field for NOTE_EXIT holds the process exit status.jhb2006-11-201-0/+2
| | | | | Submitted by: Jared Yanovich -phirerunner at comcast.net- MFC after: 2 weeks
* Save exit status of an exiting process in kn_data in the knote.jhb2006-11-201-0/+1
| | | | | Submitted by: Jared Yanovich ^phirerunner at comcast.net^ MFC after: 2 weeks
* Fix an integer overflow and allow access to files larger than 4GB onle2006-11-203-19/+19
| | | | NTFS.
* Officially rename archive_{read,write}_open_file() tokientzle2006-11-203-9/+17
| | | | | | | | | archive_{read,write}_open_filename(): * Update Makefile to build the files using the new name. * Update docs to document the new names, mentioning the old ones as "deprecated synonyms." * The old filenames will be reconnected to the build soon; I'll soon recyce those files for a slightly different purpose.
* Forced commit to note CVS repo-copy of archive_{read,write}_open_file.ckientzle2006-11-200-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | to archive_{read,write}_open_filename.c. This is part of a minor file shuffle/name clarification: * The archive_{read,write}_open_file() functions are officially renamed to archive_{read,write}_open_filename(), which more accurately reflects their function (they open a data stream identified by a filename). * Preserve the file naming conventions by renaming the files as well. * Keep the old function names (in the new files) as synonyms for backwards compatibility. * Keep the old files around; they'll be recycled soon for the upcoming archive_{read,write}_open_FILE() functions (which open a data stream identified by a FILE * reference). * I'm also, of course, making a nod here to MacOS/Windows case-insensitive filesystems that can't have both _open_file.c and _open_FILE.c. ;-)
* The clean_map has been made local to vm_init.c long ago.ru2006-11-201-1/+0
|
OpenPOWER on IntegriCloud