Commit Graph

12481 Commits

Author SHA1 Message Date
attilio
56b77d9915 Reflect changes for the vfs_busy() prototype. 2008-11-02 10:33:57 +00:00
trasz
d773e920c4 Remove obsolete pseudocode from VOP_ACCESS.9, replacing it with something
closer to reality.

Approved by:	rwatson (mentor)
2008-11-01 19:02:05 +00:00
brueffer
5d99062f35 - Add one more supported adapter (1)
- Fix a couple of typos

Submitted by:	Horvath Andras (1)
2008-11-01 14:19:55 +00:00
maxim
782d4d3f4b o OpenBSD 4.4 added. 2008-11-01 06:48:28 +00:00
rwatson
06bee05bb5 In style(9) examples of err() and errx(), use sysexits(3) errors rather
than returning 1.

Submitted by:	Bruce Cran <bruce at cran dot org dot uk>
MFC after:	3 days
2008-10-31 14:47:15 +00:00
brueffer
e3f7e53f34 Misc cleanup. 2008-10-29 18:49:37 +00:00
n_hibma
dcd1a459de - Add documentation on how to temporarily display the umass devices that
are automatically hidden by the u3gstub device.
- Add a link to the u3g driver man page for u3gstub.
2008-10-29 16:17:34 +00:00
trasz
0ad8692247 Introduce accmode_t. This is required for NFSv4 ACLs - it will be neccessary
to add more V* constants, and the variables changed by this patch were often
being assigned to mode_t variables, which is 16 bit.

Approved by:	rwatson (mentor)
2008-10-28 13:44:11 +00:00
edwin
bbf1e3cc5b MFV of tzdata2008i.
- United States zone reordering and recommenting
- Argentina DST changes update.
2008-10-28 10:37:40 +00:00
mav
7ab8bc1fe7 Fix month mistake. Again. Sorry. :) 2008-10-24 18:57:11 +00:00
mav
e2f3199b95 Add hint.hdac.%d.msi description. 2008-10-24 18:28:52 +00:00
des
66f807ed8b Retire the MALLOC and FREE macros. They are an abomination unto style(9).
MFC after:	3 months
2008-10-23 15:53:51 +00:00
n_hibma
486f9a87d6 The driver supports the Sony W810i phone (interface class driver).
Note: This entry is added as this is there was no mention of any phones
in the list. This entry might have people try the driver against their
device.

The Sony Ericsson phone provides an OBEX stack on further CDC
interfaces. Umodem wrongfully assumes that it is the driver for this
interface. This is due to a bogus implementation in the umodem driver
when searching for the data interface. This should be read from the CDC
descriptors. Also, more of this should happen in the probe instead of
attach.

MFC after:	4 weeks
2008-10-22 21:46:59 +00:00
mav
90249f54fb Use full month name. 2008-10-22 09:11:35 +00:00
mav
fa1fc2e24f Add sdhci driver man page. Link it up to mmc subsystem. 2008-10-22 09:04:05 +00:00
mav
bc7938d38d Update man page. 2008-10-22 08:43:35 +00:00
attilio
2efd12327d Reflect changes into vinvalbuf(9) prototype. 2008-10-20 20:00:34 +00:00
simon
1981c41623 Remove trailing comma in SEE ALSO section. 2008-10-19 17:19:42 +00:00
ed
1a26719e3c Increase the date in the manual page, which should have been done in r183922.
In r183922 I introduced a new DDB command, documented it, but forgot to
bump the date in the manual page.

Pointed out by:	bz
2008-10-18 06:23:08 +00:00
philip
80f8b9cd30 Add the nordic keyboard layout for Asus eee devices.
PR:		126841
Submitted by:	Peter <pb -at- ludd.ltu.se>
MFC after:	3 days
2008-10-17 14:07:39 +00:00
n_hibma
994d46ed0c Comment on the umass CD ROM devices in the UMTS modems. 2008-10-15 21:47:01 +00:00
ed
48c0c8f51a Import some improvements to the TTY code from the MPSAFE TTY branch.
- Change the ddb(4) commands to be more useful (by thompsa@):
  - `show ttys' is now called `show all ttys'. This command will now
    also display the address where the TTY data structure resides.
  - Add `show tty <addr>', which dumps the TTY in a readable form.

- Place an upper bound on the TTY buffer sizes. Some drivers do not want
  to care about baud rates. Protect these drivers by preventing the TTY
  buffers from getting enormous. Right now we'll just clamp it to 64K,
  which is pretty high, taking into account that these buffers are only
  used by the built-in discipline.

- Only call ttydev_leave() when needed. Back in April/May the TTY
  reference counting mechanism was a little different, which required us
  to call ttydev_leave() each time we finished a cdev operation.
  Nowadays we only need to call ttydev_leave() when we really mark it as
  being closed.

- Improve return codes of read() and write() on TTY device nodes.

- Make sure we really wake up all blocked threads when the driver calls
  tty_rel_gone(). There were some possible code paths where we didn't
  properly wake up any readers/writers.

- Add extra assertions to prevent sleeping on a TTY that has been
  abandoned by the driver.

- Use ttydev_cdevsw as a more reliable method to figure out whether a
  device node is a real TTY device node.

Obtained from:	//depot/projects/mpsafetty/...
Reviewed by:	thompsa
2008-10-15 16:58:35 +00:00
n_hibma
aa0334ca2f Correct the name of the device. 2008-10-14 15:30:17 +00:00
edwin
5be06c299e update the manual on how to import and MFV new tzdata releases 2008-10-14 04:09:33 +00:00
edwin
7651d8fb7f MFV of r183861:
Vendor import of tzdata2008h

- Minor update for Mauritius (which I don't understand)
- Syria goes to DST at 1 November instead of 1 October.
- Niue is now located at the right side of the equator.
2008-10-14 03:38:02 +00:00
n_hibma
cc9669b1f2 Update the man pages with the moved/added support for devices. The SD card slot
of the Huawei mobile card is supported by the (generic) umass driver.
2008-10-13 20:43:08 +00:00
n_hibma
2b85f752b6 Wrong FBSD version number in HISTORY section.
Submitted by:	pluknet
2008-10-10 06:26:37 +00:00
imp
b4da579f7f ata module additions now nest ata modules one deeper than any prior module.
Increase heuristic used to find them by one.
2008-10-09 22:01:27 +00:00
n_hibma
02c7a0e7d1 Say hello to the u3g driver, implementing support for 3G modems.
This was located in the ubsa driver, but should be moved into a separate
driver:

- 3G modems provide multiple serial ports to allow AT commands while the PPP
  connection is up.
- 3G modems do not provide baud rate or other serial port settings.
- Huawei cards need specific initialisation.
- ubsa is for Belkin adapters, an Linuxy choice for another device like 3G.

Speeds achieved here with a weak signal at best is ~40kb/s (UMTS). No spooky
STALLED messages as well.

Next: Move over all entries for Sierra and Novatel cards once I have found
testers, and implemented serial port enumeration for Sierra (or rather have
Andrea Guzzo do it). They list all endpoints in 1 iface instead of 4 ifaces.

Submitted by:	aguzzo@anywi.com
MFC after:	3 weeks
2008-10-09 21:25:01 +00:00
mav
729a83d111 Remove stale BUGS. 2008-10-08 18:27:54 +00:00
des
c317ce57a8 Whitespace nit
MFC after:	1 week
2008-10-08 13:20:02 +00:00
mav
fd60d4025e Document new NGM_NETFLOW_SETCONFIG control message. 2008-10-08 11:19:16 +00:00
sam
964dbca2f3 the 3945 firmware license does not require acknowledging the EULA,
remove the sysctl ack requirement

Pointed out by:	Joerg Sonnenberger
Reviewed by:	thompsa
Approved by:	core
2008-10-07 19:42:56 +00:00
simon
1d7527fd9e Reference igb(4) i SEE ALSO.
MFC after:	1 week
2008-10-06 21:55:53 +00:00
simon
836b7e07b6 Only a few of the loader tunables / sysctl variables are documented,
as I'm not really sure what the rest do.

The list of adaptors was found at
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&Inst=Yes&DwnldID=15815

MFC after:	1 week
2008-10-06 21:38:55 +00:00
simon
1c6773dfb9 - Add 82574 to list of supported controller chips.
- Add Intel PRO/1000 PF and Intel PRO/1000 PT adaptors to list of
  supported adaptors.

The list of adaptors was found at
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&Inst=Yes&DwnldID=10957

MFC after:	1 week
2008-10-06 20:45:08 +00:00
simon
2c7c3a9d9c Document that the bce(4) driver works with Dell PowerEdge 1950/2950
NIC's.

MFC after:	3 days
2008-10-06 18:07:07 +00:00
simon
c6ee8b827e Add a HARDWARE section. It doesn't contain any information not
already in the DESCRIPTION section, but this allows for the manual
page to be used in the automatic hardware notes generation.

MFC after:	3 days
2008-10-06 17:49:24 +00:00
lstewart
1cd4dae7a2 Add myself as requested by the committers-guide
Approved by:	gnn (mentor)
2008-10-06 14:20:03 +00:00
danger
d723e43411 Add initial version of the nullfs(5) man page
MFC after:	3 days
2008-10-05 18:57:27 +00:00
simon
869996544c Document that vr(4) supports Soekris Engineering net5501. 2008-10-05 11:39:16 +00:00
delphij
11b5fc7c3c Note recently added ICH10 support 2008-10-04 21:31:12 +00:00
simon
904c3a9693 - Minor mdoc cleanup.
- Make HARDWARE section a bit more friendly for the Hardware Notes.
2008-10-04 16:21:04 +00:00
stas
be8a06226f - Add ae(4) to the list of devices support full hardware VLAN
tags processing.

Approved by:	kib (mentor)
MFC after:	1 week
2008-10-04 15:44:22 +00:00
stas
b70d9c7717 - Add manual page for ae(4) driver.
Approved by:	kib (mentor)
MFC after:	1 week
2008-10-04 14:21:54 +00:00
simon
8f7c21ba0a - Document that 'show alllocks' and 'show locks' are only available
with witness.
- Remove references to non-existing witness(9) and replace with
  witness(4) where appropriate.
- Bump document date.

MFC after:	3 days
2008-10-04 14:12:09 +00:00
brueffer
64e78e1d64 ITE IT8213F support. 2008-10-03 11:37:33 +00:00
mav
056c4f1d97 Add hint about hw.snd.default_unit sysctl. 2008-10-03 09:19:07 +00:00
thompsa
a8d2a9f2d1 Update ng_tty for MPSAFE TTY.
This changes from a line discipline to the tty_hooks mechanism. Data will come
in directly via rint_bypass and sent to the peer node in a single mbuf.

As line disciplines are no longer used a new netgraph command called
NGM_TTY_SET_TTY is used to attach the tty. This takes a pointer to to the open
file descriptor of the tty and registers the tty hooks. When the tty disappears
the node will shutdown.

Thanks to:	ed
Sponsored by:	Hobnob, Inc
2008-10-03 05:14:54 +00:00
edwin
92bb4a2054 Apply upcoming fix for 2008g release. 2008-10-02 06:18:36 +00:00
yongari
ce9192ff12 Mention support for nForce MCP77 and MCP79.
Touch Dd.
2008-10-02 02:23:59 +00:00
glebius
897af1f238 Make example commands working.
Reviewed by:	benjsc
2008-09-30 14:24:03 +00:00
kib
c725244bd2 Add unistd.h to the getosreldate(3) manpage.
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.
2008-09-30 11:25:55 +00:00
ed
f837c471db Small typo in the makedev(3) manpage.
devtoname(3) is a nonexistent function. We do have devtoname(9), but
that's entirely different. The correct function is devname(3).
2008-09-28 20:26:16 +00:00
ed
3b64cecd5c Several documentation fixups related to device minor/major numbers:
- Document the minor(3), major(3) and makedev(3) macro's. They also
  apply to umajor() and uminor() in the kernel, but hopefully we'll sort
  that out one day.

- Briefly dev2unit() inside the make_dev(9) manual page, since this is
  now the preferred macro to obtain character device unit numbers inside
  the kernel.

- Remove the device_ids(9) manual page. It contains highly inaccurate
  information, such as a description of the nonexistent major().
2008-09-28 20:15:45 +00:00
imp
6b3a0f9ca4 Add stronger warning that spl is historical. I almost deleted this
man page entirely, but it is still mildly useful in understanding the
few splxxx usages we still have in the tree.
2008-09-28 03:45:16 +00:00
ed
b13cd39d11 Also use dev2unit() in the pseudo-driver example script.
Because I'm planning on MFC'ing my last change to this file, make sure
we use dev2unit() here as well.
2008-09-27 16:52:57 +00:00
ed
d421caabf9 Rename the minor' argument of make_dev(9) to unit'.
To prevent any further confusion about device minor and unit numbers,
we'd better just refer to device unit numbers. Many people still think
the numbers we show inside devfs have any relation to the numbers passed
to make_dev(9), which is not the case.

Discussed with:	kib
2008-09-26 14:31:24 +00:00
des
20ecbed762 Undocument dead option.
MFC after:	3 days
2008-09-24 21:07:11 +00:00
ru
821d9baa1c Allow a jail's IP alias to be created with an arbitrary netmask.
MFC after:	3 days
2008-09-24 15:18:27 +00:00
sam
081d7d9aba regen 2008-09-23 16:18:15 +00:00
rnoland
095f0c08e0 Add my entry to committers-src.dot
Approved by:	jhb(mentor)
2008-09-22 21:53:00 +00:00
ed
6c1702dda9 Make the make_pseudo_driver.sh shellscript work again.
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
2008-09-22 16:10:12 +00:00
jkoshy
0d9d822db0 Document changes in behaviour due to sparse CPU numbering support. 2008-09-22 14:31:24 +00:00
sam
9c3d2ffcdf add new build knobs and jigger some existing controls to improve
control over the result of buildworld and installworld; this especially
helps packaging systems such as nanobsd

Reviewed by:	various (posted to arch)
MFC after:	1 month
2008-09-21 22:02:26 +00:00
thompsa
4458fd8aa3 Change the wording to prefer 'forwarding' but still retain the word routing for
clarity.

Suggested by:	dougb
2008-09-19 15:27:37 +00:00
zec
509671a3d7 Hello, svn world! (adding myself to yet another list)
Approved by:	silby (mentor)
2008-09-18 17:32:13 +00:00
mav
2df5f40f49 Fix small mistake. 2008-09-18 10:30:29 +00:00
yongari
707edb064d Add ASUS P5KPL-C to the list of supported motherboard.
Reported by:	< nikola.lecic <at> anthesphoria dot net >
2008-09-18 05:08:17 +00:00
mav
9839b6d9f2 Bump modification date. 2008-09-17 20:34:50 +00:00
mav
522ebfdbfa Fix a typo. 2008-09-17 20:28:01 +00:00
mav
fc3ea65f78 Add set of snd_hda driver configuration examples to the man page. 2008-09-17 20:17:22 +00:00
attilio
23ff3dbeb8 Remove the suser(9) interface from the kernel. It has been replaced from
years by the priv_check(9) interface and just very few places are left.
Note that compatibility stub with older FreeBSD version
(all above the 8 limit though) are left in order to reduce diffs against
old versions. It is responsibility of the maintainers for any module, if
they think it is the case, to axe out such cases.

This patch breaks KPI so __FreeBSD_version will be bumped into a later
commit.

This patch needs to be credited 50-50 with rwatson@ as he found time to
explain me how the priv_check() works in detail and to review patches.

Tested by:      Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
Reviewed by:    rwatson
2008-09-17 15:49:44 +00:00
thompsa
09662c68f9 Allow a jail to be started with a specific route fib.
Reviewed by:	secteam (simon)
Reviewed by:	brooks, bz
2008-09-16 20:18:25 +00:00
kib
0488506405 Add the ffs structures introspection functions for ddb.
Show the b_dep value for the buffer in the show buffer command.
Add a comand to dump the dirty/clean buffer list for vnode.

Reviewed by:	tegge
Tested and used by:   pho
MFC after:   1 month
2008-09-16 11:19:38 +00:00
edwin
fda3e37246 MFV of tzdata2008c:
Changes for Mauritius, Morocco, Pakistan, Palestine, Argentina and Brazil.

Approved by:	bde@ (implicit)
2008-09-16 04:39:44 +00:00
sam
f367e5ff45 decription of macros to add ddb commands
Submitted by:	Guillaume Ballet <gballet@gmail.com>
MFC after:	1 month
2008-09-15 23:13:29 +00:00
kib
783912cc18 Connect dev_clone.9 and devfs_set_cdevpriv.9 to the build. 2008-09-15 10:12:04 +00:00
joel
bf08111cf0 Minor language fixes and updates to the hardware section. 2008-09-14 09:56:35 +00:00
mav
e9c25337c1 Update man page according to r182999 snd_hda driver update. 2008-09-13 17:01:38 +00:00
kib
0e5845a31b Remove unneeded comma.
Noted by:	kensmith
2008-09-12 13:04:39 +00:00
kib
8fbe72145e Document dev_clone eventhandler interface 2008-09-11 11:43:47 +00:00
kib
26d6e1da5d Add a first draft of the cdevpriv(9) documentation 2008-09-11 11:41:33 +00:00
kib
d397045a7c Document make_dev_credf(9), destroy_dev_sched(9) and destroy_dev_drain(9)
functions.

Reviewed by:	brueffer
2008-09-11 11:38:48 +00:00
kib
e3f791c62f Update insmntque(9) manpage, bringing it close to reality.
Reviewed by:	brueffer
2008-09-11 11:36:21 +00:00
jhb
70e9d3b331 Resurrect the sbni(4) driver. Someone finally tested the MPSAFE patches and
the driver worked ok with them.

Tested by:	friends of yar
2008-09-10 18:36:58 +00:00
emax
3ce5090dce Document TAPGIFNAME, TAPSIFINFO and TAPGIFINFO tap(4)
character device ioctl's.

MFC after:	1 week
2008-09-08 22:44:51 +00:00
thompsa
51f53f0bcf Put the bridge mac inheritance behind a sysctl with the default off as this
still needs all the edge cases fixed.

Submitted by:	Eygene Ryabinkin
2008-09-08 03:28:26 +00:00
kib
a38c80b72e Document BUS_DMA_NOCACHE.
MFC after:	3 days
2008-09-06 15:21:01 +00:00
jpaetzel
381ab7b037 Add myself to the list of ports committers.
Approved by:	ade (mentor)
2008-09-06 14:10:31 +00:00
emaste
9badf4bdbe Add a note that CTASSERT() should not be used in header files. 2008-09-05 15:24:54 +00:00
brueffer
2508db4535 Hook up ixgbe(4) to the build. D'oh! 2008-09-04 20:45:32 +00:00
ed
fa5c2849f2 Implement pts(4) packet mode.
As reported by several users on the mailing lists, applications like
screen(1) fail to properly handle ^S and ^Q characters. This was because
MPSAFE TTY didn't implement packet mode (TIOCPKT) yet. Add basic packet
mode support to make these applications work again.

Obtained from:	//depot/projects/mpsafetty/...
2008-09-04 16:39:02 +00:00
attilio
e2ca413d09 Decontextualize vfs_busy(), vfs_unbusy() and vfs_mount_alloc() functions.
Manpages are updated accordingly.

Tested by:	Diego Sardina <siarodx at gmail dot com>
2008-08-31 14:26:08 +00:00
attilio
5e52675f4f Reflect recent changes to the sysctl debug.witness.watch moving into a
tri-state variable.
2008-08-30 13:37:28 +00:00
jkim
7982995488 Add links to all bpf(9) functions. 2008-08-28 17:04:52 +00:00
attilio
dbf35e279f Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread
was always curthread and totally unuseful.

Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
2008-08-28 15:23:18 +00:00
imp
24cb53f12d Add recent ELSA additions to wi(4), plus make sure the list matches
the driver for ELSA.

PR:		77913
Submitted by:	Daan Vreeken
MFC after:	3 days
2008-08-27 04:55:37 +00:00
kevlo
de31c28616 Add DWA-110 and DWA-111 to the list of devices supported by rum(4) 2008-08-25 05:51:58 +00:00
imp
1d1291394d Note that most Windows CE phones are supported by this driver.
# It would be nice if we had a good way to generate this list from the driver
# list itself, since there's now over 400 listed Ids.
2008-08-25 02:38:28 +00:00