aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix target mode support for Qlogic 2200 FC adapters.Alexander Motin2015-11-236-30/+30
| | | | | | | | Now target mode works for all supported FC adapters except ancient 2100, which is not tested. Notes: svn path=/head/; revision=291209
* Fix dumpon compatibility with dumpdev kenvSteven Hartland2015-11-231-4/+19
| | | | | | | | | | | The dumpdev kenv supports devices without the /dev/ prefix, fix dumpon to also support this which is required after r288153. MFC after: 1 week Sponsored by: Multiplay Notes: svn path=/head/; revision=291207
* Fix inconsistent use of malloc type for cdev private data.Svatopluk Kraus2015-11-231-3/+1
| | | | | | | | | | Remove M_VCHIQ malloc type, now not used anywhere. Reviewed by: gonzo Approved by: kib (mentor) Notes: svn path=/head/; revision=291200
* Fix compile warning about shifting signed negative constant.Hans Petter Selasky2015-11-231-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=291199
* Retire the NONE cipher option.Dag-Erling Smørgrav2015-11-2321-247/+4
| | | | Notes: svn path=/head/; revision=291198
* markup fixesDag-Erling Smørgrav2015-11-231-3/+9
| | | | Notes: svn path=/head/; revision=291197
* Revert r291142.Svatopluk Kraus2015-11-236-12/+12
| | | | | | | | | | The not quite consistent logic for bounce pages allocation is utilizited by re(4) interface which can hang now. Approved by: kib (mentor) Notes: svn path=/head/; revision=291193
* Rip off target mode support for parallel SCSI QLogic adapters.Alexander Motin2015-11-2318-8907/+161
| | | | | | | | | | Hacks to enable target mode there complicated code, while didn't really work. And for outdated hardware fixing it is not really interesting. Initiator mode tested with Qlogic 1080 adapter is still working fine. Notes: svn path=/head/; revision=291188
* Integrate contrib/netbsd-tests/kernel/t_mqueue into the FreeBSD testEnji Cooper2015-11-231-0/+5
| | | | | | | | | suite as tests/sys/kern/mqueue_test MFC after: 1 week Notes: svn path=/head/; revision=291181
* Fix up convert.c generationEnji Cooper2015-11-231-2/+3
| | | | | | | | | | | | | - Use a temporary file for convert.c to reduce likelihood of an interrupted build resulting in bad code being written to convert.c - Truncate the file instead of appending to it to ensure that the file being touched will not result in duplicate declarations/definitions from kern_acct.c if/when kern_acct.c changes. MFC after: 1 week Notes: svn path=/head/; revision=291180
* Use __MAKE_SHELL instead of HOST_SHELL when generating aton_ether_subr.cEnji Cooper2015-11-231-1/+1
| | | | | | | | | | | | | (HOST_SHELL is used in NetBSD) This fixes permission denied issues when gen_ether_subr is not executable MFC after: 3 days Reported by: José Pérez <fbl@aoek.com> Suggested by: bdrewery, sjg Notes: svn path=/head/; revision=291172
* Split kerne timekeep ABI structure vdso_sv_tk out of the structKonstantin Belousov2015-11-236-53/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | sysentvec. This allows the timekeep data to be shared between similar ABIs which cannot share sysentvec. Make the timekeep_push_vdso() tick callback to the timekeep structures instead of sysentvecs. If several sysentvec share the vdso_sv_tk structure, we would update the userspace data several times on each tick, without the change. Only allocate vdso_sv_tk in the exec_sysvec_init() sysinit when sysentvec is marked with the new SV_TIMEKEEP flag. This saves allocation and update of unneeded vdso_sv_tk for ABIs which do not provide userspace gettimeofday yet, which are PowerPCs arches right now. Make vdso_sv_tk allocator public, namely split out and export alloc_sv_tk() and alloc_sv_tk_compat32(). ABIs which share timekeep data now can allocate it manually and share as appropriate. Requested by: nwhitehorn Tested by: nwhitehorn, pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Notes: svn path=/head/; revision=291171
* Install mce(4) and mlx5en(4) if MK_OFED != noEnji Cooper2015-11-231-2/+6
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=291170
* Bump .DdEnji Cooper2015-11-231-1/+1
| | | | Notes: svn path=/head/; revision=291169
* - Fix bad double space between HW and LROEnji Cooper2015-11-231-2/+2
| | | | | | | | | - Fix improperly capitalized `interface` MFC after: 1 week Notes: svn path=/head/; revision=291168
* Bump .DdEnji Cooper2015-11-221-1/+1
| | | | Notes: svn path=/head/; revision=291167
* Recommend cc -Wall instead of gcc -WallEnji Cooper2015-11-221-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=291166
* Don't explicitly set INET/INET6 in the Makefile; opt_inet.h and opt_inet6.hEnji Cooper2015-11-221-1/+0
| | | | | | | | | already do this MFC after: never (depends on kern.opts.mk; will not be MFCed probably) Notes: svn path=/head/; revision=291165
* Print more detailed info about the disk and partition chosen for booting.Ian Lepore2015-11-221-7/+7
| | | | | | | | | | | | | | | No behavioral changes, just cosmetics. A partition number of zero is not a wildcard, it's the 'a' partition in a BSD slice, so don't print it as "<auto>". (Only slices are 1-based, unit and partition numbers are 0-based and -1 is their wildcard marker.) Also, after doing all the probing and choosing, print the final result as "Booting from <disk spec>" where disk spec has all the wildcards resolved and looks like familiar BSD slice-and-partition notation (disk0s3a, etc). Notes: svn path=/head/; revision=291164
* Explicitly call SEND CHANGE REQUEST for pre-24xx chips in target mode.Alexander Motin2015-11-221-3/+18
| | | | | | | | | While later firmware always registers for RSCN requests, older one does it only in initiator mode. But in target mode there RSCN can be the only way to detect gone intiator. Notes: svn path=/head/; revision=291163
* Generate fake ISPASYNC_CHANGE_PDB on fake login on pre-24xx.Alexander Motin2015-11-221-1/+7
| | | | | | | This makes port scanner fix absent port ID for added initiator. Notes: svn path=/head/; revision=291162
* Gracefully stop firmware before resetting chip when changing role.Alexander Motin2015-11-221-2/+25
| | | | Notes: svn path=/head/; revision=291161
* Add some more asynchronous event status codes.Alexander Motin2015-11-222-23/+45
| | | | Notes: svn path=/head/; revision=291160
* Add mode mailbox command codes.Alexander Motin2015-11-222-47/+74
| | | | Notes: svn path=/head/; revision=291159
* Record proper commit message for r291157.Konstantin Belousov2015-11-221-1/+1
| | | | | | | | | | | | | | | The r289895 revision did not accounted for the block containing the requested page, when calculating the run of pages. Include the pages before/after the requested page, that fit into the reqblock, into the calculation. Noted by: glebius Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Notes: svn path=/head/; revision=291158
* Noted by: glebiusKonstantin Belousov2015-11-221-4/+5
| | | | | | | | | Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Notes: svn path=/head/; revision=291157
* Ignore the inbound checksum flags when doing packet forwarding in netvsc driver.Wei Hu2015-11-221-1/+11
| | | | | | | | | | | | | | PR: 20363 Submitted by: whu Reviewed by: royger, whu Approved by: royger MFC after: 1 week Relnotes: No Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D4131 Notes: svn path=/head/; revision=291156
* bc: sync with OpenBSDPedro F. Giffuni2015-11-224-13/+14
| | | | | | | | | | | | | | | | | | | | | | tty.c Rev. 1.3 Avoid unintended problems with operator precedence when doing an assignment and comparison. bc.1, Rev. 1.31, 1.32 '.Ql Quit' -> '.Ql quit' because only the lowercase command is valid. Clarify sentence about `quit` in BUGS section. extern.h, Rev. 1.12 whitespace bc.y, Rev. 1.47 Prefer setvbuf() to setlinebuf() for portability Obtained from: OpenBSD MFC after: 2 weeks Notes: svn path=/head/; revision=291155
* [mips]: Don't hard-code PHYS_AVAIL_ENTRIES.Adrian Chadd2015-11-221-1/+1
| | | | Notes: svn path=/head/; revision=291154
* Remove unneeded includes of opt_kdtrace.h.Mark Johnston2015-11-226-6/+3
| | | | | | | | As of r258541, KDTRACE_HOOKS is defined in opt_global.h, so opt_kdtrace.h is not needed when defining SDT(9) probes. Notes: svn path=/head/; revision=291153
* Remove a debug panic that crept into r291151Justin Hibbits2015-11-221-1/+0
| | | | Notes: svn path=/head/; revision=291152
* Modernize mpc85xx PCI hostbridge driver.Justin Hibbits2015-11-222-138/+8
| | | | | | | | | | | | | | | | Summary: * Take advantage of NEW_PCIB to remove a lot of setup code. * Fix some bugs related to multiple PCI bridges. There's still room for more cleanup, and still some bugs leftover, but this cleans up a lot. Test Plan: Tested on P5020 board with IDT PCIe switch. Differential Revision: https://reviews.freebsd.org/D4127 Notes: svn path=/head/; revision=291151
* When the nfsd threads are terminated, the NFSv4 server stateRick Macklem2015-11-213-7/+50
| | | | | | | | | | | | | | | | | | | (opens, locks, etc) is retained, which I believe is correct behaviour. However, for NFSv4.1, the server also retained a reference to the xprt (RPC transport socket structure) for the backchannel. This caused svcpool_destroy() to not call SVC_DESTROY() for the xprt and allowed a socket upcall to occur after the mutexes in the svcpool were destroyed, causing a crash. This patch fixes the code so that the backchannel xprt structure is dereferenced just before svcpool_destroy() is called, so the code does do an SVC_DESTROY() on the xprt, which shuts down the socket upcall. Tested by: g_amanakis@yahoo.com PR: 204340 MFC after: 2 weeks Notes: svn path=/head/; revision=291150
* Update the imx5/imx6 cpu_reset() implementation based on a new understandingIan Lepore2015-11-211-6/+4
| | | | | | | | | of the SRS (software reset) bit in the watchdog control register. Despite what the manual seems to imply, this bit DOES trigger an immediate reset, as opposed to simply flagging the type of reset as software-triggered. Notes: svn path=/head/; revision=291149
* Add a missing brace to fix vmstat -s output.Mark Johnston2015-11-211-1/+1
| | | | Notes: svn path=/head/; revision=291148
* Increase maximal value of vports tunable to 254.Alexander Motin2015-11-211-1/+1
| | | | | | | | I am not sure this value is really viable yet, but that is what chips officially support in NPIV mode (in loop mode maximum is 125). Notes: svn path=/head/; revision=291147
* Add support for Kana and Eisu keys to the USB keyboard driver.Hans Petter Selasky2015-11-211-2/+8
| | | | | | | | | PR: 204709 Submitted by: naito.yuichiro@gmail.com MFC after: 3 days Notes: svn path=/head/; revision=291146
* Fix scancodes for Kana and Eisu keys.Hans Petter Selasky2015-11-211-2/+2
| | | | | | | | | PR: 204709 Submitted by: naito.yuichiro@gmail.com MFC after: 3 days Notes: svn path=/head/; revision=291145
* Fix target mode with fabric for pre-24xx chips.Alexander Motin2015-11-214-19/+70
| | | | | | | | | | For those chips we are not receiving login events, adding initiators based on ATIO requests. But there is no port ID in that structure, so in fabric mode we have to explicitly fetch it from firmware to be able to do normal scan after that. Notes: svn path=/head/; revision=291144
* Update Qlogic 23XX firmware from 3.03.26 to 3.03.28Alexander Motin2015-11-212-14368/+15112
| | | | Notes: svn path=/head/; revision=291143
* Fix BUS_DMA_MIN_ALLOC_COMP flag logic. When bus_dmamap_t map is beingSvatopluk Kraus2015-11-216-12/+12
| | | | | | | | | | | | | | | | | | | | created for bus_dma_tag_t tag, bounce pages should be allocated only if needed. Before the fix, they were allocated always if BUS_DMA_COULD_BOUNCE flag was set but BUS_DMA_MIN_ALLOC_COMP not. As bounce pages are never freed, it could cause memory exhaustion when a lot of such tags together with their maps were created. Note that there could be more maps in one tag by current design. However BUS_DMA_MIN_ALLOC_COMP flag is tag's flag. It's set after bounce pages are allocated. Thus, they are allocated only for first tag's map which needs them. Approved by: kib (mentor) Notes: svn path=/head/; revision=291142
* Fix the handling of IPSec policies in the SCTP stack. At leastMichael Tuexen2015-11-212-47/+9
| | | | | | | | | make sure they are not leaked... MFC after: 1 week Notes: svn path=/head/; revision=291141
* Revert part of r291137 which seems correct, bit does not fix theMichael Tuexen2015-11-211-2/+4
| | | | | | | | | | resource problem I'm currently hunting down. MFC after: 1 week X-MFC with: 291137 Notes: svn path=/head/; revision=291140
* Document why we use -z nonexecstack in the Makefile since itWarner Losh2015-11-212-4/+10
| | | | | | | | | | is so unusual. Turn off mis-match warnings for building uathload because the firmware .o file is produced in a way that we can't get to match exactly. This fixes the build on mips, so stop excluding it from the build. Notes: svn path=/head/; revision=291139
* Clear the so_pcb pointer in case of ipsec_init_policy() fails.Michael Tuexen2015-11-211-1/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=291138
* Don't send SHUTDOWN chunk when the association is in a front stateMichael Tuexen2015-11-212-8/+5
| | | | | | | | | | and the applications calls shutdown(..., SHUT_WR) or shutdown(..., SHUT_RDWR). MFC after: 1 week. Notes: svn path=/head/; revision=291137
* Move hdmi_if.m to files.arm so other kernel configs can use it.Andrew Turner2015-11-212-1/+1
| | | | Notes: svn path=/head/; revision=291136
* Create device options for the two common ARM timers.Andrew Turner2015-11-2119-15/+21
| | | | | | | Sponsored by: ABT Systems Ltd Notes: svn path=/head/; revision=291135
* Move more bus_space_* files to be built by files.arm. This leaves theAndrew Turner2015-11-2124-54/+2
| | | | | | | | | | definition in a file.* file under sys/arm/arm in the few cases we need it for non-fdt platforms. Sponsored by: ABT Systems Ltd Notes: svn path=/head/; revision=291133
* Update firmware for QLogic 22xx from 2.02.06 to 2.02.08.Alexander Motin2015-11-211-4720/+5180
| | | | Notes: svn path=/head/; revision=291132