Edward Tomasz Napierala
18183ca93f
Fix lock interaction table for rmlocks - by default they cannot sleep,
...
just like rwlocks.
MFC after: 1 week
2012-05-29 14:41:16 +00:00
Alexander V. Chernikov
6c74ff0ea6
Fix panic on attaching to non-existent interface (introduced by r233937, pointed by hrs@)
...
Fix panic on tcpdump being attached to interface being removed (introduced by r233937, pointed by hrs@ and adrian@)
Protect most of bpf_setf() by BPF global lock
Add several forgotten assertions (thanks to adrian@)
Document current locking model inside bpf.c
Document EVENTHANDLER(9) usage inside BPF.
Approved by: kib(mentor)
Tested by: gnn
MFC in: 4 weeks
2012-05-21 22:13:48 +00:00
Glen Barber
73bbeaa529
Typo and mdoc(7) style fixes.
...
PR: 168117
Submitted by: Nobuyuki Koganemaru (kogane&jp!freebsd!org)
MFC after: 3 days
2012-05-20 16:43:47 +00:00
Glen Barber
f32235d532
Remove leading .Ns macro to silence mdoc(7) warning.
2012-05-12 20:53:00 +00:00
Glen Barber
ecb0bac9ab
mdoc(7) markup cleanup.
2012-05-12 20:46:19 +00:00
Glen Barber
e525498959
Fix mdoc(7) markup.
2012-05-12 20:41:40 +00:00
Glen Barber
9255dffde1
Set formatting width and offset in DB_COMMAND(9).
2012-05-12 20:08:16 +00:00
Glen Barber
437f059811
Fix an mdoc(7) nit.
2012-05-12 20:06:17 +00:00
Glen Barber
0dded3391e
Remove duplicate words in mdoc(7) pages.
...
PR: 167810
Submitted by: Bryan Drewery {bryan!shatow%net} (hackers lounge)
Found with: textproc/igor
MFC after: 3 days
2012-05-12 03:46:43 +00:00
Sergey Kandaurov
52116a1cb9
- Update the rest of struct ithd references.
...
- net_ih and softclock_ih cookies have gone away.
MFC after: 1 week
2012-04-19 16:13:15 +00:00
Sergey Kandaurov
eb55f31beb
Document swi_remove(9).
...
Reviewed by: jhb
MFC after: 1 week
2012-04-19 15:29:09 +00:00
Sergey Kandaurov
4b47ece986
Update the swi_add prototype after struct ithd was split up into
...
struct intr_event and struct intr_thread.
PR: docs/166864
Reviewed by: jhb (older version)
MFC after: 1 week
2012-04-12 16:02:45 +00:00
Joel Dahl
9b86e50de6
Remove end of line whitespace.
2012-03-31 07:10:16 +00:00
Joel Dahl
4008d26a11
Fix typo from last commit.
...
Noticed by: brueffer
2012-03-29 20:55:45 +00:00
Joel Dahl
10b4d262da
Remove unnecessary Xo/Xc.
...
Reviewed by: brueffer
2012-03-29 20:23:35 +00:00
Eitan Adler
50d675f7a9
Remove trailing whitespace per mdoc lint warning
...
Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days
2012-03-29 05:02:12 +00:00
Joel Dahl
c2965cd185
mdoc: terminate quoted strings.
...
Reviewed by: brueffer
2012-03-26 15:18:14 +00:00
Alexander V. Chernikov
b25711e6b0
- Add knlist_init_rw_reader() function to kqueue(9).
...
Function acquired reader lock if needed.
Assert check for reader or writer lock (RA_LOCKED / RA_UNLOCKED)
- While here, add knlist_init_mtx.9 to MLINKS and fix some style(9) issues
Reviewed by: glebius
Approved by: ae(mentor)
MFC after: 2 weeks
2012-03-26 09:34:17 +00:00
Joel Dahl
3030137a23
Remove superfluous paragraph macro.
2012-03-24 13:37:57 +00:00
Sergey Kandaurov
19d3a14cde
Expand contraction.
...
Spotted by: bjk
2012-03-23 16:24:07 +00:00
Sergey Kandaurov
7ddc82cc53
Update IFCAP_* macro descriptions.
...
Reviewed by: attilio (polling part, a previous version)
MFC after: 1 week
2012-03-23 10:39:50 +00:00
Sergey Kandaurov
b5c871bfe5
Clean up from the old kern.polling.
...
Reviewed by: attilio
MFC after: 1 week
2012-03-23 10:33:24 +00:00
Sergey Kandaurov
e8809d66d1
Document IFT_USB referenced by IFF_CANTCONFIG since the previous change,
...
so that ifnet(9) is self contained.
MFC after: 1 week
2012-03-23 06:06:37 +00:00
Sergey Kandaurov
dac61c3d62
Update IFF_* macro descriptions.
...
MFC after: 1 week
2012-03-23 06:01:16 +00:00
Sergey Kandaurov
8a9b1b14f6
Update the list of struct ifnet fields.
...
- Document if_vnet, if_home_vnet, if_carp, if_vlantrunk, if_multiaddrs,
if_amcount, if_addr, if_llsoftc stub, if_broadcastaddr, if_bridge,
if_label, if_afdata, if_afdata_initialized, if_afdata_lock, if_linktask,
if_addr_mtx (now if_addr_lock), if_clones, if_groups, if_pf_kif, if_lagg,
if_alloctype
- G/c now defunct and/or commented out in the manual page if_ipending,
if_poll_slowq, if_done, if_poll_recv, if_poll_xmit, if_poll_slowinput,
if_poll_intren
- Update if_snd type changed with ALTQ integration.
MFC after: 1 week
2012-03-20 16:56:35 +00:00
Sergey Kandaurov
c46ad71972
Move struct if_data basic description to a more suitable place, and remove
...
a bit of .Bx 4.4 history.
MFC after: 1 week
2012-03-07 14:53:53 +00:00
Maxim Konovalov
92bf2c1bc3
o Sync LOCK_PROFILING manpage with the current code: remove
...
unexistent sysctls, add new ones.
Reviewed by: gjb
Sponsored by: Nginx, Inc.
2012-03-07 14:50:14 +00:00
Sergey Kandaurov
3f978c3537
Reflect that if_output changed to take a struct route as its fourth
...
argument (r191148).
MFC after: 1 week
2012-03-07 11:29:43 +00:00
Sergey Kandaurov
c469a8f18f
Update ifa_rtrequest() description after post-4.4BSD change made in r85074.
...
3rd argument of ifa->ifa_rtrequest is now ``rt_addrinfo *'' instead of
``sockaddr *''. While here, un-document RTM_RESOLVE cmd argument for
ifa_rtrequest() that became a stub after separating L2 tables in r186119.
MFC after: 1 week
2012-03-07 09:42:19 +00:00
Sergey Kandaurov
5aa77f88ec
Remove if_watchdog remnants after if_timer/if_watchdog removal in r199975.
...
This part was missed in r199992.
MFC after: 1 week
2012-03-06 12:20:37 +00:00
Sergey Kandaurov
8b7b8e14a8
Fix a typo: use lower case in "A Shorthand".
...
Noted by: maxim
2012-03-06 09:57:50 +00:00
Sergey Kandaurov
4f0ab9dc95
Kill EoL whitespaces.
2012-03-06 09:40:34 +00:00
Sergey Kandaurov
40b39918be
The missing part of r232588 that documents ifaddr_byindex() itself.
...
MFC after: 1 week
2012-03-06 09:04:53 +00:00
Sergey Kandaurov
2abee21cd7
- ifnet_addrs has gone and replaced by ifaddr_byindex(), as per r83130
...
- access to the AF_LINK address through if_addrhead is deprecated (r128315)
MFC after: 1 week
2012-03-06 08:59:42 +00:00
Sergey Kandaurov
dfef665819
Actually bump date, sigh.
2012-03-05 20:04:28 +00:00
John Baldwin
281a359e83
Fix three instances of a missing word.
...
Submitted by: bjk
2012-03-05 19:38:59 +00:00
Sergey Kandaurov
642c499386
Fix typo. Bump .Dd for the previous change.
2012-03-05 17:38:44 +00:00
John Baldwin
68bf97175d
Document pci_find_extcap() and pci_find_htcap().
2012-03-04 18:55:33 +00:00
John Baldwin
855ed4c598
Expand and reorganize the pci(9) manpage a bit:
...
- Document the following routines: pci_alloc_msi(), pci_alloc_msix(),
pci_find_cap(), pci_get_max_read_req(), pci_get_vpd_ident(),
pci_get_vpd_readonly(), pci_msi_count(), pci_msix_count(),
pci_pending_msix(), pci_release_msi(), pci_remap_msix(), and
pci_set_max_read_req().
- Group the functions into five sub-sections: raw configuration access,
locating devices, device information, device configuration, and
message signaled interrupts.
- Discourage use of pci_disable_io() and pci_enable_io() in device drivers.
The PCI bus driver handles this automatically as resources are activated.
MFC after: 2 weeks
2012-03-03 14:23:54 +00:00
Sergey Kandaurov
c136083e86
Reflect the renaming of ifmaof_ifpforaddr() to if_findmulti() in r148652.
...
MFC after: 1 week
2012-03-02 09:52:42 +00:00
Sergey Kandaurov
1e0f75d313
ifp->if_ioctl() has moved to u_long cmd in r36735.
...
Somehow that change had not reached here together with ifioctl().
MFC after: 1 week
2012-03-02 09:30:54 +00:00
John Baldwin
adb6390718
Update the documentation on pci_get/set_powerstate(). These methods are
...
not ACPI-specific at all, but deal with PCI power states. Also,
pci_set_powerstate() fails with EOPNOTSUPP if a request is made that the
underlying device does not support rather than falling back to somehow
setting D0.
2012-03-01 20:36:50 +00:00
John Baldwin
0a9c80e520
Sort function prototypes.
2012-03-01 20:32:02 +00:00
John Baldwin
9415d1e0ac
Add pci_save_state() and pci_restore_state() wrappers around
...
pci_cfg_save() and pci_cfg_restore() for device drivers to use when
saving and restoring state (e.g. to handle device-specific resets).
Reviewed by: imp
MFC after: 2 weeks
2012-03-01 20:20:55 +00:00
John Baldwin
5c8d3de02b
Update for adjusted types for boundary arguments in 232356.
2012-03-01 20:19:21 +00:00
Jaakko Heinonen
8bffca5eb2
Since r199137 namei() returns EINVAL for DELETE and RENAME operations if
...
the last component of the pathname is ".".
Reviewed by: kib
MFC after: 1 week
2012-03-01 18:17:45 +00:00
Sergey Kandaurov
40d5e8a628
Changes in ifaddr refcounting: ifa_refcnt IFAREF/IFAFREE macros
...
moved to ifa_ref()/ifa_free() refcounting functions.
MFC after: 1 week
2012-03-01 12:52:14 +00:00
Sergey Kandaurov
8963e1b501
Refine r232333 [1] and put note about ifnet refcount caller responsibility.
...
Spotted by: gavin [1]
MFC after: 1 week
2012-03-01 12:30:57 +00:00
Sergey Kandaurov
1c6fed25bb
Reflect that ifa_ifwithnet() gained ignore_ptp argument.
...
MFC after: 1 week
2012-03-01 12:16:00 +00:00
Sergey Kandaurov
86d2665cdb
Document ifunit_ref function.
...
MFC after: 1 week
2012-03-01 12:03:52 +00:00