summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't build and install the 07.lpd doc if WITHOUT_LPR is set.jhb2012-08-271-1/+5
| | | | MFC after: 1 week
* Add a altera_sdcardc(4) man page link for altera_sdcard(4), as that isrwatson2012-08-261-0/+1
| | | | | | the name that will appear in dmesg. Sponsored by: DARPA, AFRL
* Add terasic_mtl(4), a device driver for the Terasic Multi-Touch LCD,rwatson2012-08-252-0/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | used with Terasic's DE-4 and other similar FPGA boards. This display is 800x480 and includes a capacitive touch screen, multi-touch gesture recognition, etc. This device driver depends on a Cambridge- provided IP core that allows the MTL device to be hooked up to the Altera Avalon SoC bus, and also provides a VGA-like text frame buffer. Although it is compiled as a single device driver, it actually implements a number of different device nodes exporting various aspects of this multi-function device to userspace: - Simple memory-mapped driver for the MTL 24-bit pixel frame buffer. - Simple memory-mapped driver for the MTL control register set. - Simple memory-mapped driver for the MTL text frame buffer. - syscons attachment for the MTL text frame buffer. This driver attaches directly to Nexus as is common for SoC device drivers, and for the time being is considered BERI-specific, although in principle it might be used with other hard and soft cores on Altera FPGAs. Control registers, including touchscreen input, are simply memory mapped; in the future it would be desirable to hook up a more conventional device node that can stream events, support kqueue(2)/ poll(2)/select(2), etc. This is the first use of syscons on MIPS, as far as I can tell, and there are some loose ends, such as an inability to use the hardware cursor. More fundamentally, it appears that syscons(4) assumes that either a host is PC-like (i386, amd64) *or* it must be using a graphical frame buffer. While the MTL supports a graphical frame buffer, using the text frame buffer is preferable for console use. Fixing this issue in syscons(4) requires non-trivial changes, as the text frame buffer support assumes that direct memory access can be done to the text frame buffer without using bus accessor methods, which is not the case on MIPS. As a workaround for this, we instead double-buffer and pretend to be a graphical frame buffer exposing text accessor methods, leading to some quirks in syscons behaviour. Sponsored by: DARPA, AFRL
* When using -stdlib=libc++, add the correct dependency to .depend indim2012-08-251-0/+4
| | | | | | | bsd.prog.mk. Submitted by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp> MFC after: 2 weeks
* Add isf(4), a driver for the Intel StrataFlash family of NOR flash parts.brooks2012-08-252-0/+136
| | | | | | | | | | | The driver attempts to support all documented parts, but has only been tested with the 512Mbit part on the Terasic DE4 FPGA board. It should be trivial to adapt the driver's attach routine to other embedded boards using with any parts in the family. Also import isfctl(8) which can be used to erase sections of the flash. Sponsored by: DARPA, AFRL
* Minor mdoc fix.joel2012-08-251-1/+1
|
* Add altera_jtag_uart(4), a device driver for Altera's JTAG UART soft core,rwatson2012-08-252-0/+122
| | | | | | | | | | | | | | | | | | | | | | which presents a UART-like interface over the Avalon bus that can be addressed over JTAG. This IP core proves extremely useful, allowing us to connect trivially to the FreeBSD console over JTAG for FPGA-embedded hard and soft cores. As interrupts are optionally configured for this soft core, we support both interrupt-driven and polled modes of operation, which must be selected using device.hints. UART instances appear in /dev as ttyu0, ttyu1, etc. However, it also contains a number of quirks, which make it difficult to tell when JTAG is connected, and some buffering issues. We work around these as best we can, using various heuristics. While the majority of this device driver is not only not BERI-specific, but also not MIPS-specific, for now add its defines in the BERI files list, as the console-level parts are aware of where the first JTAG UART is mapped on Avalon, and contain MIPS-specific address translation, to use before Newbus and device.hints are available. Sponsored by: DARPA, AFRL
* Add a device driver for the Altera University Program SD Card IP Core,rwatson2012-08-252-0/+119
| | | | | | | | | | | | | | | | | | | | | | which can be synthesised in Altera FPGAs. An altera_sdcardc device probes during the boot, and /dev/altera_sdcard devices come and go as inserted and removed. The device driver attaches directly to the Nexus, as is common for system-on-chip device drivers. This IP core suffers a number of significant limitations, including a lack of interrupt-driven I/O -- we must implement timer-driven polling, only CSD 0 cards (up to 2G) are supported, there are serious memory access issues that require the driver to verify writes to memory-mapped buffers, undocumented alignment requirements, and erroneous error returns. The driver must therefore work quite hard, despite a fairly simple hardware-software interface. The IP core also supports at most one outstanding I/O at a time, so is not a speed demon. However, with the above workarounds, and subject to performance problems, it works quite reliably in practice, and we can use it for read-write mounts of root file systems, etc. Sponsored by: DARPA, AFRL
* Add altera_avgen(4), a generic device driver to be used by hard and softrwatson2012-08-252-0/+156
| | | | | | | | | | | | | | | | | | | | CPU cores on Altera FPGAs. The device driver allows memory-mapped devices on Altera's Avalon SoC bus to be exported to userspace via device nodes. device.hints directories dictate device name, permissible access methods, physical address and length, and I/O alignment. Devices can be accessed using read(2)/write(2), but also memory mapped in userspace using mmap(2). Devices attach directly to the Nexus, as is common for embedded device drivers; in the future something more mature might be desirable. There is currently no facility to support directing device-originated interrupts to userspace. In the future, this device driver may be renamed to socgen(4), as it can in principle also be used with other system-on-chip (SoC) busses, such as Axi on ASICs and FPGAs. However, we have only tested it on Avalon busses with memory-mapped ROMs, frame buffers, etc. Sponsored by: DARPA, AFRL
* Make sure bsd.dep.mk does not filter out -stdlib=xxx from CXXFLAGS,dim2012-08-231-2/+4
| | | | | | since this determines parts of the C++ include path. MFC after: 1 week
* Remove trailing whitespace.joel2012-08-211-1/+1
|
* Add a manpage for BUS_CHILD_DETACHED().jhb2012-08-212-0/+53
|
* Add a BUS_CHILD_DELETED() method that a bus can hook to allow it to cleanupjhb2012-08-212-0/+56
| | | | | | | any bus-specific state (such as ivars) when a child device is deleted. Requested by: kan MFC after: 1 month
* Document DRIVER_MODULE_ORDERED, EARLY_DRIVER_MODULE, andjhb2012-08-212-3/+52
| | | | EARLY_DRIVER_MODULE_ORDERED.
* - Add myself as a new src committer.zont2012-08-211-0/+2
| | | | Approved by: kib (mentor)
* Add manual pages for clock_getcpuclockid and pthread_getcpuclockid.davidxu2012-08-212-0/+85
|
* Merge ACPICA 20120816.jkim2012-08-161-9/+1
|
* Small tweaks:kib2012-08-151-4/+4
| | | | | | | | - fix macro argument - wrap long line - be more explicit about old pid_t type. MFC after: 1 week
* Minor mdoc fixes and language tweaks.joel2012-08-151-23/+24
|
* Streamline use of cdevpriv and correct some corner cases.hselasky2012-08-151-1/+5
| | | | | | | | | | | | | | | | | | | | 1) It is not useful to call "devfs_clear_cdevpriv()" from "d_close" callbacks, hence for example read, write, ioctl and so on might be sleeping at the time of "d_close" being called and then then freed private data can still be accessed. Examples: dtrace, linux_compat, ksyms (all fixed by this patch) 2) In sys/dev/drm* there are some cases in which memory will be freed twice, if open fails, first by code in the open routine, secondly by the cdevpriv destructor. Move registration of the cdevpriv to the end of the drm open routines. 3) devfs_clear_cdevpriv() is not called if the "d_open" callback registered cdevpriv data and the "d_open" callback function returned an error. Fix this. Discussed with: phk MFC after: 2 weeks
* Add a short man page describing how to run a.out binaries on thekib2012-08-152-0/+147
| | | | | | current kernels. MFC after: 1 week
* Merging of projects/armv6, part 3gonzo2012-08-153-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | r238211: Support TARGET_ARCH=armv6 and TARGET_ARCH=armv6eb This adds a new TARGET_ARCH for building on ARM processors that support the ARMv6K multiprocessor extensions. In particular, these processors have better support for TLS and mutex operations. This mostly touches a lot of Makefiles to extend existing patterns for inferring CPUARCH from ARCH. It also configures: * GCC to default to arm1176jz-s * GCC to predefine __FreeBSD_ARCH_armv6__ * gas to default to ARM_ARCH_V6K * uname -p to return 'armv6' * make so that MACHINE_ARCH defaults to 'armv6' It also changes a number of headers to use the compiler __ARM_ARCH_XXX__ macros to configure processor-specific support routines. Submitted by: Tim Kientzle <kientzle@freebsd.org>
* Some minor tunings/cleanups inspired by bde@ after previous commits:mav2012-08-101-1/+4
| | | | | | | | | | - remove extra dynamic variable initializations; - restore (4BSD) and implement (ULE) hogticks variable setting; - make sched_rr_interval() more tolerant to options; - restore (4BSD) and implement (ULE) kern.sched.quantum sysctl, a more user-friendly wrapper for sched_slice; - tune some sysctl descriptions; - make some style fixes.
* Minor style(9) improvementemaste2012-08-071-3/+3
|
* Make the polling interface in igb able to handlejfv2012-08-061-0/+1
| | | | | | | multiqueue, and correct the rxdone handling. Update the polling man page to include igb as well. Thanks to Mark Johnston for these changes.
* Add supported device.glebius2012-08-061-1/+3
|
* Add PCI IDs for various new High Point RocketRAID 43xx and 3xxx devices.delphij2012-08-061-12/+24
| | | | | Obtained from: FreeNAS MFC after: 3 days
* Use new method of assigning IPv4 addresseseadler2012-08-051-1/+1
| | | | | | | PR: conf/167648 Submitted by: Jeff Kletsky <freebsd@wagsky.com> Approved by: bcr MFC after: 3 days
* Support multiple interface devices. The driver had previously hardcodedgavin2012-08-041-7/+4
| | | | | | | | | | | | | support for only the first port, but the CP2105 can have multiple ports. Although this allowed the first port to mostly work on multi port devices, there could be issues with this arrangement. Update the man page to reflect support for both ports and the CP2105. Many thanks to Silicon Labs (www.silabs.com) for providing a CP2105-EK dev board for testing. MFC after: 2 weeks
* Remove trailing whitespace.joel2012-08-021-2/+2
|
* mdoc: remove superfluous paragraph macro.joel2012-08-022-6/+0
|
* Update netmap page, fixing the API documentation and usage example.luigi2012-08-023-15/+173
| | | | Add a new manpage for the vale switch
* - Add myself to calendar.freebsdbdrewery2012-08-011-0/+3
| | | | | | - Add my mentor relationships to committers-ports.dot Approved by: eadler (mentor)
* Refactor enclosure manegement support in ahci(4). Move it out into separatemav2012-07-261-7/+10
| | | | | | | | | subdevice ahciem. Emulate SEMB SES device from AHCI LED interface to expose it to users in form of ses(4) CAM device. If we ever see AHCI controllers supporting SES of SAF-TE over I2C as described by specification, they should fit well into this new picture. Sponsored by: iXsystems, Inc.
* Add support for more devices to uslcom(4). This commit syncronises thegavin2012-07-261-12/+129
| | | | | | | | | | | | | | | | | | | list of supported devices with the union of: NetBSD src/sys/dev/usb/uslsa.c 1.18 OpenBSD src/sys/dev/usb/uslcom.c 1.24 Linux source/drivers/usb/serial/cp210x.c HEAD Remove duplicate JABLOTRON PC60B entry. Note that some of the devices added here are multi-port devices. The uslcom(4) driver currently only supports the first port on such devices. Update the man page to reflect the full list of supported devices. Remove two caveats from the CAVEATS section, as both listed caveats no longer apply. Add a caveat about multi-port devices. MFC after: 2 weeks
* Add OS X 10.8.pluknet2012-07-261-1/+3
| | | | | | | Although they dropped the 'Mac' in this version, prefer to stick with it for consistency. Reviewed by: maxim
* Update supported hardware list after r238766.gavin2012-07-251-1/+3
| | | | MFC after: 1 week
* Document the following in rc.conf.5:gjb2012-07-221-1/+29
| | | | | | | | - rtsold_enable - rtsold_flags - rtsol_flags MFC after: 1 week
* Correct ugen.4 to show that it has been integrated into usb(4). Also fixwblock2012-07-221-34/+24
| | | | | | | some punctuation errors. Approved by: hps MFC after: 3 days
* Remove copy/pasteo in the copyright notice.gnn2012-07-211-3/+0
|
* Add a new script, hotopen, which shows what uid is opening filesgnn2012-07-202-2/+63
| | | | | | on a per second basis. While here clean up the Makefile as well. MFC after: 1 week
* Import an updated version of moduli(5) manual page from OpenBSD.delphij2012-07-201-133/+99
| | | | MFC after: 1 month
* Add some examples about how to use FreeBSD's libusb20 in your ownjoerg2012-07-187-0/+854
| | | | code.
* Put parenthesis around sizeof args.kevlo2012-07-174-6/+6
|
* Add a script that traces NFS attribute cache accesses.gnn2012-07-161-0/+74
| | | | | Submitted by: rwatson MFC after: 2 weeks
* Change language in WITH_BSDCONFIG to match other options, and regenzeising2012-07-141-1/+4
| | | | | | src.conf(5), which was missed in r238438. Approved by: joel (mentor)
* Import bsdconfig(8) as a replacement for the post-install abilities ofdteske2012-07-141-0/+1
| | | | | | | | deprecated sysinstall(8). NOTE: WITH_BSDCONFIG is currently required. Submitted by: Devin Teske (dteske), Ron McDowell <rcm@fuzzwad.org> Reviewed by: Ron McDowell <rcm@fuzzwad.org> Approved by: Ed Maste (emaste)
* Update for new core team. Looks like this file was not updated two yearsgavin2012-07-121-1/+1
| | | | | | ago for the last core team. MFC after: 3 days
* Make ipfw0 logging pseudo-interface clonable. It can be created automaticallyhrs2012-07-091-1/+11
| | | | | | | by $firewall_logif rc.conf(5) variable at boot time or manually by ifconfig(8) after a boot. Discussed on: freebsd-ipfw@
* - Add support of the following USB devices to run(4):hrs2012-07-091-1/+4
| | | | | | | * Logitec LAN-W150N/U2 * Buffalo WLI-UC-GNM2 - Add device id of Planex GW-USValue-EZ.
OpenPOWER on IntegriCloud