summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* Add myselfgleb2011-10-121-0/+3
| | | | Approved by: mdf (mentor)
* Document that memguard(9) now can guard uma(9) allocations.glebius2011-10-121-14/+52
|
* Updates from Newsletter VI-9 and VI-10:edwin2011-10-121-2/+10
| | | | | | | | | | Newsletter VI-9 2011-06-12 Name changes for Fiji and Myanmar as well as other minor corrections Newsletter VI-10 2011-08-09 Code elements for South Sudan. Reviewed by: http://www.iso.org/iso/country_codes.html
* Fix date in last commit.glebius2011-10-111-1/+1
| | | | Noticed by: Larry Rosenman <ler lerctr.org>
* Properly document default number of rx/tx descriptors for Intel cards.glebius2011-10-112-6/+8
|
* Also pass the -ansi flag through to mkdep (requested by bde), and fixdas2011-10-111-2/+2
| | | | a cut-and-paste-o (noticed by rdivacky).
* Pass -std= flags in CFLAGS to mkdep. Without this, preprocessor testsdas2011-10-101-2/+2
| | | | | for particular compiler features might be evaluated differently by mkdep than they would be by cc.
* Bump .Dd to reflect the date of the last content change, so MFC contentgjb2011-10-091-1/+1
| | | | | | makes sense. Pointy-hat to: gjb (myself)
* Revert unapproved commit to bsd.port.mk.crees2011-10-081-16/+0
| | | | | | This would have had more discussion, but it was explicitly rejected at submission by portmgr: http://lists.freebsd.org/pipermail/freebsd-ports/2011-September/070591.html
* - Add a couple of more sed subsitutions needed to get the correctstas2011-10-081-2/+6
| | | | | | | libtool.m4. With these fixes libtool will correctly indentify the system as ELF (and not a.out). - While here, change the substitutions so they're still correctly match freebsd1.x, freebsd2.x etc.
* - ${WRKSRC} might be missing when the autotools fixup is running.stas2011-10-071-2/+2
| | | | | | Account for this. Reported by: Mykola Dzham <i@levsha.me>
* Add myself.jceel2011-10-071-0/+4
| | | | Approved by: wkoszek (mentor)
* Mention tdsignal(9).des2011-10-072-5/+16
| | | | MFC after: 1 week
* Disallow various debug.kdb sysctl's when securelevel is raised.obrien2011-10-071-0/+6
| | | | PR: 161350
* Add myself.melifaro2011-10-061-0/+4
| | | | Approved by: kib (mentor)
* Work around the autotools problem with the 10.0 version.jilles2011-10-041-0/+12
| | | | | | | | | | With this, I can build various ports on a 10.0-CURRENT system without hacking or hiding the version number. This commit should be reverted when there is a cleaner fix in autotools and/or ports/Mk/bsd.port.mk. The original patch is from Ed Schouten but needed some additions.
* Add the 9750 SATA+SAS 6Gb/s RAID controller card driver, tws(4). Manydelphij2011-10-042-0/+119
| | | | | | | | thanks for their contiued support to FreeBSD. This is version 10.80.00.003 from codeset 10.2.1 [1] Obtained from: LSI http://kb.lsi.com/Download16574.aspx [1]
* Add descriptor sense support to CAM, and honor sense residuals properly inken2011-10-033-18/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CAM. Desriptor sense is a new sense data format that originated in SPC-3. Among other things, it allows for an 8-byte info field, which is necessary to pass back block numbers larger than 4 bytes. This change adds a number of new functions to scsi_all.c (and therefore libcam) that abstract out most access to sense data. This includes a bump of CAM_VERSION, because the CCB ABI has changed. Userland programs that use the CAM pass(4) driver will need to be recompiled. camcontrol.c: Change uses of scsi_extract_sense() to use scsi_extract_sense_len(). Use scsi_get_sks() instead of accessing sense key specific data directly. scsi_modes: Update the control mode page to the latest version (SPC-4). scsi_cmds.c, scsi_target.c: Change references to struct scsi_sense_data to struct scsi_sense_data_fixed. This should be changed to allow the user to specify fixed or descriptor sense, and then use scsi_set_sense_data() to build the sense data. ps3cdrom.c: Use scsi_set_sense_data() instead of setting sense data manually. cam_periph.c: Use scsi_extract_sense_len() instead of using scsi_extract_sense() or accessing sense data directly. cam_ccb.h: Bump the CAM_VERSION from 0x15 to 0x16. The change of struct scsi_sense_data from 32 to 252 bytes changes the size of struct ccb_scsiio, but not the size of union ccb. So the version must be bumped to prevent structure mis-matches. scsi_all.h: Lots of updated SCSI sense data and other structures. Add function prototypes for the new sense data functions. Take out the inline implementation of scsi_extract_sense(). It is now too large to put in a header file. Add macros to calculate whether fields are present and filled in fixed and descriptor sense data scsi_all.c: In scsi_op_desc(), allow the user to pass in NULL inquiry data, and we'll assume a direct access device in that case. Changed the SCSI RESERVED sense key name and description to COMPLETED, as it is now defined in the spec. Change the error recovery action for a number of read errors to prevent lots of retries when the drive has said that the block isn't accessible. This speeds up reconstruction of the block by any RAID software running on top of the drive (e.g. ZFS). In scsi_sense_desc(), allow for invalid sense key numbers. This allows calling this routine without checking the input values first. Change scsi_error_action() to use scsi_extract_sense_len(), and handle things when invalid asc/ascq values are encountered. Add a new routine, scsi_desc_iterate(), that will call the supplied function for every descriptor in descriptor format sense data. Add scsi_set_sense_data(), and scsi_set_sense_data_va(), which build descriptor and fixed format sense data. They currently default to fixed format sense data. Add a number of scsi_get_*() functions, which get different types of sense data fields from either fixed or descriptor format sense data, if the data is present. Add a number of scsi_*_sbuf() functions, which print formatted versions of various sense data fields. These functions work for either fixed or descriptor sense. Add a number of scsi_sense_*_sbuf() functions, which have a standard calling interface and print the indicated field. These functions take descriptors only. Add scsi_sense_desc_sbuf(), which will print a formatted version of the given sense descriptor. Pull out a majority of the scsi_sense_sbuf() function and put it into scsi_sense_only_sbuf(). This allows callers that don't use struct ccb_scsiio to easily utilize the printing routines. Revamp that function to handle descriptor sense and use the new sense fetching and printing routines. Move scsi_extract_sense() into scsi_all.c, and implement it in terms of the new function, scsi_extract_sense_len(). The _len() version takes a length (which should be the sense length - residual) and can indicate which fields are present and valid in the sense data. Add a couple of new scsi_get_*() routines to get the sense key, asc, and ascq only. mly.c: Rename struct scsi_sense_data to struct scsi_sense_data_fixed. sbp_targ.c: Use the new sense fetching routines to get sense data instead of accessing it directly. sbp.c: Change the firewire/SCSI sense data transformation code to use struct scsi_sense_data_fixed instead of struct scsi_sense_data. This should be changed later to use scsi_set_sense_data(). ciss.c: Calculate the sense residual properly. Use scsi_get_sense_key() to fetch the sense key. mps_sas.c, mpt_cam.c: Set the sense residual properly. iir.c: Use scsi_set_sense_data() instead of building sense data by hand. iscsi_subr.c: Use scsi_extract_sense_len() instead of grabbing sense data directly. umass.c: Use scsi_set_sense_data() to build sense data. Grab the sense key using scsi_get_sense_key(). Calculate the sense residual properly. isp_freebsd.h: Use scsi_get_*() routines to grab asc, ascq, and sense key values. Calculate and set the sense residual. MFC after: 3 days Sponsored by: Spectra Logic Corporation
* Revive the LLVM and Clang license files, which were removed in mydim2011-09-293-1/+33
| | | | | | | | | too-thorough cleanup of unused files, in r213695. Also make sure these get installed under /usr/share/doc. Submitted by: rwatson, brooks Pointy hat to: dim MFC after: 3 days
* Whitespace cleanup in build(7).gjb2011-09-291-8/+8
| | | | | MFC after: 1 week Need-MFC: 225858
* Document, and provide an example for, PORTS_MODULES in build(7).gjb2011-09-291-0/+10
| | | | | | PR: 161017 Submitted by: gcooper MFC after: 1 week
* - fix whitespace issue in calendareadler2011-09-281-1/+1
| | | | | | | - add a n after \ Submitted by: brueffer Approved by: bapt (mentor)
* - add myself to committers-ports.doteadler2011-09-281-0/+3
| | | | Approved by: sahil (mentor)
* Fix typo in OSIOCGIFADDR.pluknet2011-09-271-1/+1
| | | | MFC after: 3 days
* - Move misplaced reference [1]gabor2011-09-271-7/+6
| | | | | | | | | - Sort references [1] - s/Since/Because/ [2] Submitted by: arundel [1], Chad Perrin <perrin@apotheon.com> [2] MFC after: 3 days
* Add myself to committers-src.dot.rmh2011-09-271-0/+3
| | | | Approved by: kib (mentor)
* Forgot to add "RELENG_8" to list of CVS tags.kensmith2011-09-261-1/+1
| | | | | Submitted by: Mamontov Roman <mr.xanto at gmail.com> Approved by: re (implicit)
* Shift head from 9.0-CURRENT to 10.0-CURRENT in preparation for releasingkensmith2011-09-261-5/+5
| | | | | | it from the 9.0-RELEASE release cycle code freeze. Approved by: re (implicit)
* - Document $ipv6_cpe_wanif.hrs2011-09-191-26/+116
| | | | | | | | | - Emphasize $ipv6_enable and $ipv6_prefer are deprecated. - Add more detail descriptions about $ipv6_activate_all_interfaces. - Add some more examples of $ifconfig_IF_ipv6. - rtsold(8) and rtadvd(8) can be used even when ipv6_gateway_enable=NO now. Approved by: re (kib)
* Add myself and connect me with my mentorscs2011-09-161-0/+3
| | | | Approved by: re@, glarkin@
* Rename the cc.4 and cc.9 modular congestion control related man pages tolstewart2011-09-1512-37/+37
| | | | | | | | | mod_cc.4 and mod_cc.9 respectively to avoid any possible confusion with the cc.1 gcc man page. Update references to these man pages where required. Requested by: Grenville Armitage Approved by: re (kib) MFC after: 3 days
* Correct the RFC number for the description of IPv6 privacy addressingdougb2011-09-151-1/+1
| | | | | Reviewed by: bz Approved by: re (kib)
* Ensure that ta_pending doesn't overflow u_short by capping its value at ↵adrian2011-09-151-1/+1
| | | | | | | | | | | | | USHRT_MAX. If it overflows before the taskqueue can run, the task will be re-added to the taskqueue and cause a loop in the task list. Reported by: Arnaud Lacombe <lacombar@gmail.com> Submitted by: Ryan Stone <rysto32@gmail.com> Reviewed by: jhb Approved by: re (kib) MFC after: 1 day
* Include descriptions for keymaps missing from INDEX.keymaps. This fixesgavin2011-09-131-0/+16
| | | | | | | | the five keymaps referred to only by filename on the keymap selection screen of bsdinstall. Approved by: re (kib) MFC after: 1 week
* Document vm_page_aflag_set(9), vm_page_aflag_clear(9) and vm_page_reference(9).kib2011-09-062-13/+53
| | | | | | | Retire vm_page_flag_set() and vm_page_flag_clear() functions. Reviewed by: alc Approved by: re (bz)
* Add my doc mentor/mentee relationships.gavin2011-09-031-0/+4
| | | | Approved by: re (kib), bcr, jkois (mentors)
* Upgrade to BIND version 9.8.1. Release notes at:dougb2011-09-031-1/+3
| | | | | | | | https://deepthought.isc.org/article/AA-00446/81/ or /usr/src/contrib/bind9/ Approved by: re (kib)
* Wording, grammar and markup cleanup.brueffer2011-09-021-26/+38
| | | | | | PR: 159948 Submitted by: Ben Kaduk <kaduk@mit.edu> Approved by: re (kib)
* Remove an incorrect apostrophe.brueffer2011-09-021-1/+1
| | | | | | | PR: 160267 Submitted by: Warren Block <wblock@wonkity.com> Approved by: re (kib) MFC after: 1 week
* Fix a little typo and get rid of a cryptic description by aligning therse2011-09-021-2/+2
| | | | | | text to the remaining description. Approved by: re
* Remove broken link to supported wifi cards. There doesn't appear tobrueffer2011-08-282-8/+2
| | | | | | | | | be an equivalent list anywhere else. PR: 157778 Submitted by: Ted Mittelstaedt <tedm@mittelstaedt.us> Approved by: re (blackend) MFC after: 1 week
* Remove information and MLINK for MULTI_DRIVER_MODULE().brueffer2011-08-272-8/+1
| | | | | | | | The macro was removed in r121129 almost 8 years ago. PR: 150244 Submitted by: Gireesh Nagabhushana <dngireesh@avrita.com> Approved by: re (kib)
* - Replace references to sio(4) with uart(4) instead.jhb2011-08-261-9/+4
| | | | | | | | - We no longer use the same data structure in as NetBSD in pucdata.c. - ppc(4) has had a puc(4) attachment for a while now. Approved by: re (blackend) MFC after: 3 days
* Fix the manpage section number, thus unbreaking the hardware notes build. (1)brueffer2011-08-262-1/+5
| | | | | | | Also hook up vxge(4) to the build. Submitted by: simon (1) Approved by: re (blackend)
* Fix an error in the generation of the manpage after r225177.attilio2011-08-251-1/+2
| | | | | | | | Sponsored by: Sandvine Incorporated Submitted by: jkim Approved by: re (bz) MFC after: 3 weeks X-MFC: r225177
* Fix a deficiency in the selinfo interface:attilio2011-08-252-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a selinfo object is recorded (via selrecord()) and then it is quickly destroyed, with the waiters missing the opportunity to awake, at the next iteration they will find the selinfo object destroyed, causing a PF#. That happens because the selinfo interface has no way to drain the waiters before to destroy the registered selinfo object. Also this race is quite rare to get in practice, because it would require a selrecord(), a poll request by another thread and a quick destruction of the selrecord()'ed selinfo object. Fix this by adding the seldrain() routine which should be called before to destroy the selinfo objects (in order to avoid such case), and fix the present cases where it might have already been called. Sometimes, the context is safe enough to prevent this type of race, like it happens in device drivers which installs selinfo objects on poll callbacks. There, the destruction of the selinfo object happens at driver detach time, when all the filedescriptors should be already closed, thus there cannot be a race. For this case, mfi(4) device driver can be set as an example, as it implements a full correct logic for preventing this from happening. Sponsored by: Sandvine Incorporated Reported by: rstone Tested by: pluknet Reviewed by: jhb, kib Approved by: re (bz) MFC after: 3 weeks
* Add new USB ID.hselasky2011-08-201-0/+2
| | | | | | Approved by: re (kib) MFC after: 1 week PR: usb/159836
* Update ata(4) manual page, reflecting migration to CAM-based ATA stackmav2011-08-172-164/+126
| | | | | | (`options ATA_CAM` enabled by default). Approved by: re (kib)
* Fix a couple of issues in last commit.glebius2011-08-151-1/+2
| | | | | Submitted by: maxim Approved by: re (kib)
* Describe how carp(4) status changes can be processed withglebius2011-08-151-1/+39
| | | | | | | help of devd(8). Submitted by: "Alexander V. Chernikov" <melifaro ipfw.ru> Approved by: re (kib)
OpenPOWER on IntegriCloud