| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
resource_ to subr_rman.c where it belongs.
|
|
|
|
|
|
|
|
|
|
| |
the 5GHz band.
o Enable 802.11a channels scanning for 2915ABG adapters.
o Fix a typo (negociated->negotiated).
With hints from NetBSD.
MFC after: 2 days
|
|
|
|
|
|
| |
grab Giant for vnode backing.
Found by: pho & tegge
|
|
|
|
|
|
| |
is not safe.
Discussed with: stefanf, njl
|
|
|
|
|
|
|
| |
- strdup() uses M_WAITOK, so we don't need to check it's return value
against NULL.
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
If bus_setup_intr() fails, cleanup the ifnet setup in vx_attach() by
calling ether_ifdetach() and if_free().
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Rename vxfoo() functions to vx_foo() to improve readability and
consistency with other drivers.
- Prefix most the softc members with 'vx_' (the other members already had
the prefix).
- Switch to using callout_init_mtx() and callout_*() rather than
timeout() and untimeout().
- Add some missing calls to if_free() in some failure cases in vx_attach().
- Use if_printf() and remove the unit number from the softc.
- Remove uses of the 'register' keyword and spls.
- Add locked variants of vx_init() and vx_start().
- Add a mutex to the softc and lock it in various appropriate places.
- Setup the interrupt handler last during attach.
Tested by: imp
MFC after: 1 week
|
|
|
|
| |
Reviewed by: marcel@
|
|
|
|
|
|
| |
Use this for the SiI3112 workaround to get rid of the "oversized DMA" errors.
MFC to 6.0 candidate.
|
|
|
|
| |
instead of <machine/param.h>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It allows to specify options for NFS root file system.
Currently supported options are: soft, intr, conn, lockd.
I'm adding this functionality mostly for 'lockd' option, which is only
honored when performing the initial mount and will be silently ignored
if used while updating the mount options.
This will allow to use flock(2) without the need of using varmfs or
rpc.lockd and friends.
Example of use:
boot.nfsroot.options="intr,lockd"
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
| |
if (foo);
bar();
to:
if (foo)
bar();
Really, really nasty bug and a very nice catch of mine.
Unfortunately, I'll not become a hero of the day, because the code is
commented out.
|
|
|
|
|
|
|
|
|
| |
module name to something that wouldn't conflict with
sys/dev/firewire/firewire.c.
Submitted by: Cai, Quanqing <caiquanqing at gmail dot com>
PR: kern/82727
MFC after: 3 days
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't keep the SPDIF state in the driver private struct since it
can be overriden by hand with pciconf(8), query it when needed instead.
Regarding the locking I let Ariff explain it himself:
---snip---
About the locking, that is what I'm intended to do since the beginning.
The reason I'm not putting that along since my first patchset was
because several people especially from amd46 camp reported that it cause
lots of LORs, which is weird considering that I've never encounter such
in a pretty much strict locking environment (i386). However, since our
previous discussion with Pyun YongHyeon about strict locking, I've
decided to bring it back for all the affected drivers, not just for
es137x. It turns out that the root of the problem was within dsp.c
during device open, which has been fixed since dsp.c revision 1.84.
---snip---
Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my>
|
|
|
|
|
|
|
|
|
|
|
| |
code which may help.
People with a ich compatible soundcard which want to help out should
change the "#if 1" to a "#if 0" and try if the soundcard still works.
Reports about working or not-working soundcards with this change to
multimedia@ please.
PR: 73987
|
|
|
|
|
| |
Submitted by: Igor Sysoev <is@rambler-co.ru>
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
opt_device_polling.h
- Include opt_device_polling.h into appropriate files.
- Embrace with HAVE_KERNEL_OPTION_HEADERS the include in the files that
can be compiled as loadable modules.
Reviewed by: bde
|
|
|
|
| |
- Include opt_device_polling.h
|
|
|
|
|
|
|
|
|
|
| |
modules along with kernel.
After this change it is possible to embrace opt_*.h includes with ifdef
HAVE_KERNEL_OPTION_HEADERS. And thus, avoid editing a lot of Makefiles
in modules directory each time we introduce a new opt_xxx.h.
Requested by: bde
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
o Add support for Tamarack TC5299J + MII found on SMC 8041TX V.2
and corega PCCCCTXD
o Add support for ISA/PCI RTL80[12]9 chips
o Improve support for the ax88790 based
o minor code movement
Submitted by: (#2) David Madole
|
| |
|
|
|
|
|
|
|
| |
don't print anything at all.
# this fixes a problem that I noticed with devd.pipe not terminating lines
# with \n correctly sometimes.
|
| |
|
|
|
|
|
| |
to savectx isn't always, so always use stmia, savectx isn't called enough
to need that kind of optimization.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the arp code will search all local interfaces for a match. This triggers a
kernel log if the bridge has been assigned an address.
arp: ac:de:48:18:83:3d is using my IP address 192.168.0.142!
bridge0: flags=8041<UP,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.142 netmask 0xffffff00
ether ac:de:48:18:83:3d
Silence this warning for 6.0 to stop unnecessary bug reports, the code will need
to be reworked.
Approved by: mlaier (mentor)
MFC after: 3 days
|
|
|
|
|
| |
Pointed out by: nate
Pointy hat to: andre
|
|
|
|
| |
Sponsored by: TCP/IP Optimization Fundraise 2005
|
|
|
|
|
|
|
|
| |
the MAC result, as well as avoid losing the DAC check result when MAC
is enabled.
MFC after: 3 days
Reported by: Patrick LeBlanc <Patrick dot LeBlanc at sparta dot com>
|
|
|
|
| |
declaration out of the #ifdef.
|
|
|
|
|
|
|
|
| |
Slightly discussed on current@.
LOR #055
MFC after: 14 days
|
|
|
|
|
|
|
| |
locks. Also while we are here, protect the bpf descriptor during
knlist_remove{add} operations.
Discussed with: rwatson
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before this change a copy operation with cp(1) would not update the
file access times.
According to the POSIX mmap(2) documentation: the st_atime field
of the mapped file may be marked for update at any time between the
mmap() call and the corresponding munmap() call. The initial read
or write reference to a mapped region shall cause the file's st_atime
field to be marked for update if it has not already been marked for
update.
|
|
|
|
|
|
|
|
| |
While we are here, add a note that we need to lock the object before walking
the backing object list.
Pointed out by: alc
Discussed with: rwatson
|
| |
|
|
|
|
| |
Remove kernel.tramp if it exists on make clean.
|
|
|
|
| |
make arm/in_cksum.c and arm/in_cksum_asm.S depend on INET.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
framework. This makes Giant protection around MAC operations which inter-
act with VFS conditional, based on the MPSAFE status of the file system.
Affected the following syscalls:
o __mac_get_fd
o __mac_get_file
o __mac_get_link
o __mac_set_fd
o __mac_set_file
o __mac_set_link
-Drop Giant all together in __mac_set_proc because the
mac_cred_mmapped_drop_perms_recurse routine no longer requires it.
-Move conditional Giant aquisitions to after label allocation routines.
-Move the conditional release of Giant to before label de-allocation
routines.
Discussed with: rwatson
|
|
|
|
|
|
|
| |
we can drop it all together in __mac_set_proc.
Reviewed by: alc
Discussed with: rwatson
|
|
|
|
|
|
|
|
| |
No compatibility code is provided, as this will be the production name
as of 6.0.
MFC after: 3 days
Requested by: scottl
|
|
|
|
|
|
| |
instead of an int. No other FreeBSD architecture does this. Patch over
this problem in the lmc driver. While I'm here, correct a mistake with
DEVICE_POLLING.
|
| |
|
| |
|
| |
|