summaryrefslogtreecommitdiffstats
path: root/share/examples
Commit message (Collapse)AuthorAgeFilesLines
* Tell about the full name we opened, not the unit.mjacob2009-09-191-1/+1
| | | | | Obtained from: Sean Bruno MFC after: 1 month
* A few enhancements I made while working on the Firewire target (sbp_targ).sbruno2009-09-072-3/+7
| | | | | | | | | | | Update the error handling in a couple of cases to exit gracefully if certain mandatory conditions aren't met. Reduce the maximum number of initiators to 8 for this example code. While 1024 is more correct, this example code would act like it was stalled out even though it was merely allocating the needed structures in init_ccbs() Reviewed by: scottl@freebsd.org
* Update example for RELENG_8.kensmith2009-08-241-4/+5
|
* Where if not in examples we should follow style(9)?pjd2009-06-032-34/+30
|
* Mention the danger of running programs using ``!''.brian2009-05-261-1/+6
| | | | | PR: 112481 MFC after: 1 week
* Fix broken URL and use the same base directory as thetrhodes2009-01-131-3/+3
| | | | | | | example files. PR: 123035 Submitted by: Lawrence Mayer <lawmay3@i12.com> (original version)
* Add unistd.h to the getosreldate(3) manpage.kib2008-09-301-5/+9
| | | | | | Update referenced example to include unistd.h per manpage. Update example to be more style(9)-ish, silence warnings and add FreeBSD id to the source file.
* Also use dev2unit() in the pseudo-driver example script.ed2008-09-271-1/+1
| | | | | Because I'm planning on MFC'ing my last change to this file, make sure we use dev2unit() here as well.
* Make the make_pseudo_driver.sh shellscript work again.ed2008-09-221-2/+2
| | | | | | | | | | | It seems this script was broken because of the SYSINIT changes and a rather awkward variable initialisation. For some reason the make_device_driver.sh script is also broken, related to BUS_SETUP_INTR. I have no experience with FreeBSD's interrupt handling, so I hope someone else is willing to take a look at that shell script. PR: misc/126435 MFC after: 1 month
* Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE andbz2008-05-2633-5487/+0
| | | | | | | | | | | | | | | | | | parts relied on the now removed NET_NEEDS_GIANT. Most of I4B has been disconnected from the build since July 2007 in HEAD/RELENG_7. This is what was removed: - configuration in /etc/isdn - examples - man pages - kernel configuration - sys/i4b (drivers, layers, include files) - user space tools - i4b support from ppp - further documentation Discussed with: rwatson, re
* Remove netatm from HEAD as it is not MPSAFE and relies on the now removedrwatson2008-05-2510-1521/+0
| | | | | | | | | | | | | | | | | | | NET_NEEDS_GIANT. netatm has been disconnected from the build for ten months in HEAD/RELENG_7. Specifics: - netatm include files - netatm command line management tools - libatm - ATM parts in rescue and sysinstall - sample configuration files and documents - kernel support as a module or in NOTES - netgraph wrapper nodes for netatm - ctags data for netatm. - netatm-specific device drivers. MFC after: 3 weeks Reviewed by: bz Discussed with: bms, bz, harti
* Add a new awk script which parses informations returned by the newlyattilio2008-05-071-0/+24
| | | | | | | | added sysctl debug.witness.graphs and returns all the graphs involving Giant lock creating an appropriate script in DOT format which can be plotted immediately. Submitted by: Michele Dallachiesa <michele dot dallachiesa at poste dot it>
* Add projects-all collection to cvs-supfileedwin2008-03-131-0/+6
| | | | | | | PR: misc/121680 Submitted by: "Philip M. Gollucci" <pgollucci@p6m7g8.com> Approved by: grog@ (mentor) MFC after: 1 week
* - Add doc/hu_* and doc/mn_* to the refuse examples so that include allgabor2007-12-071-0/+2
| | | | | | | | of the currently used languages PR: docs/118476 (related) Submitted by: Chess Griffin <chess@chessgriffin.com> MFC after: 3 days
* - Add doc/hu_* and doc/mn_* to the sample refuse file so that it includes allgabor2007-12-071-0/+2
| | | | | | | | of the languages PR: docs/118476 Submitted by: Chess Griffin <chess@chessgriffin.com> MFC after: 3 days
* Update pf examples from OpenBSD to catch up with new stateful defaults andmlaier2007-11-1110-89/+121
| | | | other syntax changes. Move pf.conf from /etc to examples, too.
* To honor the birth of RELENG_7 bump HEAD to 8.0-CURRENT.kensmith2007-10-111-4/+4
| | | | Approved by: re (implicit)
* - Remove info about the consumed space in base dir. This info is notgabor2007-09-077-35/+21
| | | | | | | | | | relevant any more. PR: docs/115335 Submitted by: Wayne Sierke <ws@au.dyndns.ws> Reviewed by: keramida Approved by: re (bmah) MFC after: 3 days
* Include the <sys/sysproto.h> header which includes the prerequisite headerkevlo2007-07-221-0/+1
| | | | | | for AUE_NULL. Approved by: re (kensmith)
* Disconnect netatm from the build as it is not MPSAFE and relies onrwatson2007-07-141-10/+14
| | | | | | | | | | | | | | | | | | | | NET_NEEDS_GIANT, which will shortly be removed. This is done in a away that it may be easily reattached to the build before 7.1 if appropriate locking is added. Specifics: - Don't install netatm include files - Disconnect netatm command line management tools - Don't build libatm - Don't include ATM parts in rescue or sysinstall - Don't install sample configuration files and documents - Don't build kernel support as a module or in NOTES - Don't build netgraph wrapper nodes for netatm This removes the last remaining consumer of NET_NEEDS_GIANT. Reviewed by: harti Discussed with: bz, bms Approved by: re (kensmith)
* I4B header files are now installed in include/i4b/ and no longerbz2007-07-066-8/+8
| | | | | | | | in include/machine/. Adapt #include paths. Approved by: re (kensmith)
* Add new x11-drivers category.flz2007-05-192-0/+2
| | | | MFC after: 3 days
* Retire /usr/share/examples/netgraph/bluetooth/rc.bluetooth.emax2007-04-242-268/+0
| | | | MFC after: 1 week
* Add ports-net-im, ports-net-p2p and ports-ports-mgmt collections.ru2007-04-141-0/+3
|
* Add src-cddl and src-rescue.ru2007-04-143-0/+6
|
* - Add ports-ports-mgmt collectionpav2007-01-311-0/+1
|
* On i386, make "prescott" an alias for "nocona" (instead of the other waydes2007-01-171-3/+4
| | | | | | | | | around), and introduce "core", along with the alias "core2". All of these enable SSE3. On amd64, add "core2" (enables SSE3). MFC after: 3 weeks
* Remove references to pccard.conf, it is no longer used.imp2006-10-191-2/+0
|
* Revert my previous change as it does not seem to be entirely correct anddanger2006-09-271-6/+8
| | | | popular.
* Bump MAX_INITIATORS to 1024- the LSI-Logic can go even higher thanmjacob2006-09-273-96/+150
| | | | | | | | | | | | | | this for 'initiator id'- this is a stopgap until a sparse map is added. Make compat defines for offset format (FreeBSD 5 or less). Add no-asyncio flag. There's some breakage with ASYNC I/O that every now and then drops us into an infinite loop. This also then does a fallback to no-asyncio if the AIO option isn't loaded/compiled into the kernel. A number of other chanes to try and track some breakage.
* - Use existing functions mtx_lock() and mtx_unlock().pjd2006-09-271-8/+9
| | | | | | | | | | | | | | | | | | | - Change variable name to 'error', as this is what is mostly used for functions that return an error. - Add mutex(9) to the SEE ALSO section. - Bump the date. I don't really like the example code. I'd prefer symmetry where possible, eg. mtx_lock(&example_lock); error = example(NULL, EXAMPLE_ONE); mtx_unlock(&example_lock); if (error != 0) return (error); But I'll leave it as it is for now. Reviewed by: simon
* Remove second person from the sentece and rephrase a bit.danger2006-09-261-8/+6
| | | | Approved by: trhodes (mentor), keramida (mentor)
* Fix wording to what I intended originally.ru2006-09-181-4/+5
|
* - Avoid using second person.ru2006-09-181-4/+7
| | | | | - Demonstrate how .Nm can be used without the side effect of causing a line break in the SYNOPSIS section.
* - Change the example CFLAGS entry to match our default in sys.mk.ru2006-09-131-3/+7
| | | | | | - Document that -fno-strict-aliasing is required for -O2. Prodded by: users of stable@
* Fix path for source file in files.FOO.rik2006-08-231-1/+1
|
* - Added ability to provide (optional) path to the kernel sourcesrik2006-08-091-22/+122
| | | | | | | | | | | | - Added check of dirs used by example generator - Fixed path for ${s}/conf/files.FOO and include it via files directive from config file - Changed kernel configuration example with the driver: it is not produced by copying Generic but by including it - KDB is added to config (for DDB) - Added module building instead and fixed kernel building Reviewed by: julian@
* Added copyright templeterik2006-08-091-32/+57
| | | | | | Fixed compilation Reviewed by: julian@
* - Added 'files "files.FOO"' to config for inclusion of user specific files.rik2006-08-091-3/+24
| | | | | | | - Added KDB option to config file (for DDB). - Added ability to compile custom kernel. Discussed with: julian@
* - Added ability to provide (optional) path to the kernel sourcesrik2006-08-061-19/+32
| | | | | | | | | | - Fixed path for ${s}/conf/files.FOO and a note that it should be merged into corresponding file to be able to compile the kernel - Changed kernel configuration example with the driver: it is not produced by copying Generic but by including it - Changed from automatic module building to asking an user if it whants to Reviewed by: julian@
* Fix compilation.rik2006-08-061-12/+9
| | | | Reviewed by: julian@
* Add CPUTYPE support for Via C3 and C3-2 processors.des2006-07-191-0/+1
| | | | MFC after: 2 weeks
* doc fix: option MFS is obsolete. use MD_ROOT instead.motoyuki2006-06-021-1/+1
| | | | PR: conf/93878
* Make this example more real world usable: When the manpage first appearedbrueffer2006-05-201-1/+1
| | | | | | | is not interesting, when the driver appeared is. Most people who use this example leave the manpage appearance date in and the driver date out. MFC after: 3 days
* We don't have d_maj field in cdevsw structure anymore.sobomax2006-05-191-8/+1
|
* Close a "(" I left open.matteo2006-05-161-1/+1
|
* Update README.examples according to the current state of the examples/etc ↵matteo2006-05-151-18/+30
| | | | | | directory PR: conf/97232
* If we end up with a CTIO completing with CAM_REQUEUE_REQ,mjacob2006-04-111-2/+16
| | | | | be obliging and just redo the request instead of squawking and dying.
* Add a standard boilerplate to the SYNOPSIS section that mentions howbrueffer2006-04-011-1/+13
| | | | | | to load a kernel module. MFC after: 3 days
* Move the check for non-ATIO_CMD ahead of the cache chech so thatmjacob2006-03-251-9/+10
| | | | | | | completion for unsupported commands doesn't abort. Reviewed by: nate MFC after: 2 weeks
OpenPOWER on IntegriCloud