aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add the -m option to pmcstat.Attilio Rao2008-11-254-11/+69
| | | | | | | | | | | | This option prints the list of sampled PCs along with the function name, the start and end addresses of this where their live within. Reviewed by: jkoshy Tested by: gnn Sponsored by: Nokia Notes: svn path=/head/; revision=185322
* MFp4: We don't support TX_CREATE_ACL_ATTR nor TX_MKDIR_ACL_ATTR; code foundEdward Tomasz Napierala2008-11-251-0/+8
| | | | | | | | | | in zfs_replay.c will panic if it encounters transactions of this type. Make sure we don't put these into the ZIL. Approved by: rwatson (mentor), pjd Notes: svn path=/head/; revision=185321
* Straighten out those pesky SDP records for the BluetoothMaksim Yevmenkin2008-11-251-10/+26
| | | | | | | | | | Service Discovery Application Profile. Discussed with: Iain Hibbert of NetBSD plunky at rya dash online dot net MFC after: 3 weeks Notes: svn path=/head/; revision=185320
* Fix locking (file descriptor table and Giant around VFS).Pawel Jakub Dawidek2008-11-254-35/+56
| | | | | | | | Most submitted by: kib Reviewed by: kib Notes: svn path=/head/; revision=185319
* - Fix a potential NULL pointer reference. Note that this should not happen inUlf Lilleengen2008-11-251-1/+17
| | | | | | | | | | | | practice, but it is a good programming practice and allows the kernel to not depend on userland correctness. - While there, make sizeof usage match the rest of the code. Found with: Coverity Prevent(tm) CID: 660, 662 Notes: svn path=/head/; revision=185318
* Remove unused variable.Ganbold Tsagaankhuu2008-11-252-4/+2
| | | | | | | | | | Found with: Coverity Prevent(tm) CID: 3669,3671 Approved by: jb Notes: svn path=/head/; revision=185310
* - Fix a potential NULL pointer reference. Note that this cannot happen inUlf Lilleengen2008-11-255-6/+51
| | | | | | | | | | | practice, but it is a good programming practice nontheless and it allows the kernel to not depend on userland correctness. Found with: Coverity Prevent(tm) CID: 655-659, 664-667 Notes: svn path=/head/; revision=185309
* Remove unused variable.Ganbold Tsagaankhuu2008-11-251-2/+1
| | | | | | | | | | Found with: Coverity Prevent(tm) CID: 3678 Approved by: njl Notes: svn path=/head/; revision=185308
* Convert BWCT and HL200 over to new board mechanism as well. TheWarner Losh2008-11-2511-51/+260
| | | | | | | | TSC4370 config file wasn't committed to this tree, so I don't know if my changes will work on it or not. Notes: svn path=/head/; revision=185307
* Remove unused variable.Ganbold Tsagaankhuu2008-11-251-3/+0
| | | | | | | | | | Found with: Coverity Prevent(tm) CID: 3685 Approved by: scottl Notes: svn path=/head/; revision=185306
* Start to make it easier to add AT91RM9200 based boards:Warner Losh2008-11-257-52/+135
| | | | | | | | | | | | | | | | o Copy kb920x_machdep.c to at91_machdep.c o Move board_init to new board_kb920x.c o rename ramsize to at91_ramsize and make it accessible to board_* files. o Delete files.kb920x. We can do this selection with the new boards. o Add a stub for the tsc4370 board init, which will be added in a future commit. o Add new 'devices' at91_board_kb920x and at91_board_tsc4370. More are needed and will be added in future commits. Reviewed by: stass, cognet Notes: svn path=/head/; revision=185305
* Add tools-level test for POSIX.1e functionality.Edward Tomasz Napierala2008-11-253-0/+632
| | | | | | | Approved by: rwatson (mentor) Notes: svn path=/head/; revision=185304
* Whitespace nit.Warner Losh2008-11-251-2/+2
| | | | Notes: svn path=/head/; revision=185300
* Fix standalone module build by generating opt_kgssapi.h.Doug Rabson2008-11-251-0/+1
| | | | | | | Submitted by: n_hibma Notes: svn path=/head/; revision=185299
* Move vn_fullpath1() outside of FILEDESC locking. This is being done inJoe Marcus Clarke2008-11-251-5/+21
| | | | | | | | | | | | | advance of teaching vn_fullpath1() how to query file systems for vnode-to-name mappings when cache lookups fail. Thanks to kib for guidance and patience on this process. Reviewed by: kib Approved by: kib Notes: svn path=/head/; revision=185298
* Core i7 supports invaliant TSC and the presense is presented onTakanori Watanabe2008-11-251-1/+2
| | | | | | | this CPUID information, according to recently updated AP485. Notes: svn path=/head/; revision=185295
* Regularize /* FALLTHROUGH */ comments in the BSM event type switch, andRobert Watson2008-11-251-6/+10
| | | | | | | | | | add one that was missing. MFC after: 3 weeks Coverity ID: 3960 Notes: svn path=/head/; revision=185293
* Unbreak the build without INET6.Bjoern A. Zeeb2008-11-251-0/+2
| | | | Notes: svn path=/head/; revision=185292
* Unbreak the build until alfred@ is back to fix it correctly.Bjoern A. Zeeb2008-11-251-1/+1
| | | | | | | For now disconnect the nonexistent serial_3g. Notes: svn path=/head/; revision=185291
* src/lib/libusb20/libusb20_compat01.cAlfred Perlstein2008-11-2516-168/+780
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some issues about re-scanning of the devices. src/lib/libusb20/libusb20_ugen20.c Fix issue about libusb20 having to release the USB transfers before doing a SET_CONFIG, else the kernel will kill the file handle. src/sys/dev/usb2/core/usb2_device. src/sys/dev/usb2/core/usb2_generic.c src/sys/dev/usb2/core/usb2_generic.h Add support for U3G devices. Improve and cleanup FIFO free handling. Improve device re-enumeration. src/sys/dev/usb2/core/usb2_msctest.c src/sys/dev/usb2/core/usb2_msctest.h Fix some problems in the USB Mass Storage Test. Add Huawei vendor specific quirks. src/sys/dev/usb2/core/usb2_request.c Improve device re-enumeration. src/sys/dev/usb2/ethernet/if_aue2.c src/sys/dev/usb2/include/usb2_devid.h src/sys/dev/usb2/include/usb2_devtable.h src/sys/dev/usb2/quirk/usb2_quirk.c Integrate changes from the old USB driver. src/sys/dev/usb2/include/usb2_standard.h Add definition of USB3.0 structures from USB.org. src/sys/dev/usb2/serial/u3g2.c src/sys/dev/usb2/serial/ugensa2.c src/sys/modules/usb2/Makefile src/sys/modules/usb2/serial_3g/Makefile Import U3G driver. Submitted by: Hans Petter Selasky (usb4bsd) Notes: svn path=/head/; revision=185290
* Big update to the iSCSI initiator code. Highlights include IPv6 support,Scott Long2008-11-2518-290/+675
| | | | | | | | | | | | | | | | | | | | | | | | | | | | many bugs fixes, many more performance improvements. Submitted by: Danny Braniss M sbin/iscontrol/iscsi.conf.5 M sbin/iscontrol/iscontrol.8 M sbin/iscontrol/iscontrol.h M sbin/iscontrol/config.c M sbin/iscontrol/fsm.c M sbin/iscontrol/login.c M sbin/iscontrol/pdu.c M sbin/iscontrol/misc.c M sbin/iscontrol/auth_subr.c M sbin/iscontrol/iscontrol.c M sys/dev/iscsi/initiator/isc_cam.c M sys/dev/iscsi/initiator/iscsi.h M sys/dev/iscsi/initiator/isc_soc.c M sys/dev/iscsi/initiator/iscsi_subr.c M sys/dev/iscsi/initiator/iscsivar.h M sys/dev/iscsi/initiator/isc_subr.c M sys/dev/iscsi/initiator/iscsi.c M sys/dev/iscsi/initiator/isc_sm.c Notes: svn path=/head/; revision=185289
* Save boot args.Warner Losh2008-11-251-0/+5
| | | | Notes: svn path=/head/; revision=185288
* more silly whitespace changes.Warner Losh2008-11-251-4/+2
| | | | Notes: svn path=/head/; revision=185287
* Simplify Tx checksum offload configuration. Also clear CSUM_IP ifPyun YongHyeon2008-11-251-8/+5
| | | | | | | we've computed IP checksum with software method. Notes: svn path=/head/; revision=185286
* - Allow fxp_encap() enqueue failed transmissions and setPyun YongHyeon2008-11-252-70/+71
| | | | | | | | | | | | | | | | | | | | | | | | IFF_DRV_OACTIVE to note resource shortage to upper stack. - Don't count number of mbuf chains. Default 32 DMA segments for a frame is enough for most cases. If bus_dmamap_mbuf_sg fails use m_collapse(9) to collapse the mbuf chain instead of relying on expensive m_defrag(9). - Move bpf handling to fxp_start_body() which is supposed to be more appropriate place. - Always arm watchdog timer whenever a new Tx request is made. Previously fxp(4) used to arm watchdog timer only when FXP_CXINT_THRESH-th Tx request is made. Because fxp(4) does not rely on Tx interrupt to reclaim transmitted mbufs it's better to arm watchdog timer to detect potential lockups. - Add more aggresive Tx buffer reclaiming in fxp_start_body to make room for new Tx requests. Since fxp(4) does not request Tx completion interrupt for every frames it's necessary to clean TXCBs in advance to saturate link. - Make fxp(4) try to start more packets transmitting regardless of interrupt type in fxp_intr_body. Notes: svn path=/head/; revision=185285
* Simplify mode_t check treatment (suggested by trasz).Daichi GOTO2008-11-251-39/+2
| | | | | | | | | | By semantical view, trasz's code is better than prior one. Submitted by: trasz Reviewed by: Masanori OZAWA <ozawa@ongs.co.jp> Notes: svn path=/head/; revision=185284
* Fixes Unionfs socket issue reported as kern/118346.Daichi GOTO2008-11-253-39/+191
| | | | | | | | | | | PR: 118346 Submitted by: Masanori OZAWA <ozawa@ongs.co.jp> Discussed at: devsummit Strassburg, EuroBSDCon2008 Discussed with: rwatson, gnn, hrs MFC after: 2 week Notes: svn path=/head/; revision=185283
* - improve AL2230 RF handling when the device type is zd1211. After thisWeongyo Jeong2008-11-252-1145/+1526
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | patch the RX/TX performance becomes about 17~18 Mbps comparing with the previous whose values were RX 7~8Mbps and TX 13~14Mbps. - improve AL2230 RF handling in zd1211b - support AL2230S RF that PV2000 is renamed to AL2230S - use register ZYD_CR244, ZYD_CR243, ZYD_CR242 when the driver writes values on RF. This routine is more faster than the original one - use private TX lock to avoid LOR at zyd_raw_xmit() - increase TX slots from 1 to 5 - needs to set the channel at IEEE80211_S_AUTH not IEEE80211_S_RUN - detailed error handling. In previous the next command was sent to the device even if there was errors - setting ZYD_MAC_RX_THRESHOLD value should be different between 1211 and 1211b - only try to stop the device at zyd_init_locked() if the device is UPed - do not use MTX_RECURSE - do not try to grap Giant lock when the channel is changing - move the device initialization routines from zyd_attach to zyd_init to give a device full-reset chance to the driver. - code cleanup at zyd_raw_xmit() - simplify zyd_attach() routines - resort functions and clean up variables - DPRINTF style change. - style(9) Reviewed by: sam Notes: svn path=/head/; revision=185278
* Fixing !INET6 builds.Tai-hwa Liang2008-11-251-0/+2
| | | | Notes: svn path=/head/; revision=185277
* Move unarming watchdog timer and pending multicast configurationPyun YongHyeon2008-11-251-5/+5
| | | | | | | | | | | check to fxp_txeof(). While I'm here unarm watchdog timer only if there are no pending queued Tx requests. Previously the watchdog timer was unarmed whenever Tx interrupt is raised. This could be resulted in hiding root cause of watchdog timeouts. Notes: svn path=/head/; revision=185276
* Fix Tx/Rx checksum offload ioctl handling and make Rx handler honorPyun YongHyeon2008-11-251-9/+26
| | | | | | | | | | checksum offload configuration. Now checksum offload can be controlled by ifconfig(8). While I'm here add an additional check for interface capabilities before applying user's request. Notes: svn path=/head/; revision=185273
* Make fxp(4) build with FXP_IP_CSUM_WAR.Pyun YongHyeon2008-11-251-2/+2
| | | | Notes: svn path=/head/; revision=185272
* Sort head files and removed ununsed header file.Pyun YongHyeon2008-11-251-13/+9
| | | | Notes: svn path=/head/; revision=185271
* Fix various whitespace botches, mostly having them at the end of a line.Warner Losh2008-11-251-15/+13
| | | | Notes: svn path=/head/; revision=185270
* Whitespace fix.Pyun YongHyeon2008-11-253-25/+25
| | | | Notes: svn path=/head/; revision=185269
* Add support for Marvell PATA M88SX6121.Rui Paulo2008-11-252-0/+2
| | | | | | | | | PR: 129154 Submitted by: João Barros <joao.barros at gmail.com> MFC after: 1 month Notes: svn path=/head/; revision=185268
* Replace disclaimer with the one from COPYRIGHT. Joint authors aggreedWarner Losh2008-11-253-30/+33
| | | | | | | to the change. Notes: svn path=/head/; revision=185267
* Replace three magic constants with L1_S_SIZE, since that's what isWarner Losh2008-11-251-3/+3
| | | | | | | really meant in those places. Notes: svn path=/head/; revision=185266
* Tweak the disclaimer section of the license to match COPYRIGHT, forWarner Losh2008-11-2527-270/+298
| | | | | | | | better or worse. Ok'd by folks that have additional copyrights to the files in cases where there's joint authorship. Notes: svn path=/head/; revision=185265
* Correct typo in comment: thier -> theirEd Maste2008-11-241-1/+1
| | | | Notes: svn path=/head/; revision=185256
* Restore sfence semantics in mxge after the introductionAndrew Gallatin2008-11-242-25/+25
| | | | | | | of a global mfence based mb() in r185162 Notes: svn path=/head/; revision=185255
* Make sure arc4random(9) is properly seeded when /etc/rc.d/initrandom returns.Colin Percival2008-11-242-3/+24
| | | | | | | | | Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-08:11.arc4random Notes: svn path=/head/; revision=185254
* use consistent styleSam Leffler2008-11-241-10/+8
| | | | Notes: svn path=/head/; revision=185253
* This actually works on Linux, I just had wrong directory permission.Pawel Jakub Dawidek2008-11-241-4/+0
| | | | | | | Found by: trasz Notes: svn path=/head/; revision=185252
* Include TODO messages even if tests succeeds, so we can detect when somethingPawel Jakub Dawidek2008-11-241-6/+18
| | | | | | | suddenly started to work. Notes: svn path=/head/; revision=185251
* Change the universe target to warn the user for every world or kernel thatDag-Erling Smørgrav2008-11-241-8/+14
| | | | | | | | | | fails. The error message includes a reference to the relevant log file. Approved by: phk MFC after: 1 week Notes: svn path=/head/; revision=185250
* Correction: these PMCs do not support a "umask" modifier.Joseph Koshy2008-11-243-9/+0
| | | | Notes: svn path=/head/; revision=185247
* - Document the rules used to determine when spellings of eventsJoseph Koshy2008-11-241-16/+24
| | | | | | | | are equivalent. - Reorder text to make the manual page more coherent. Notes: svn path=/head/; revision=185246
* Save the value read from TX queue CSR, so we don't test against aPyun YongHyeon2008-11-241-1/+1
| | | | | | | | | stale one. Submitted by: sephe Notes: svn path=/head/; revision=185244
* print the extended tx/rx descriptor for 5416 and later partsSam Leffler2008-11-241-9/+32
| | | | Notes: svn path=/head/; revision=185243