Commit Graph

75290 Commits

Author SHA1 Message Date
wiz
ec30909ad0 Remove duplicate word in comment. From Rui Paulo in PR 29767. 2005-03-23 13:24:47 +00:00
martin
71cce6ecd0 Add support for Proxim RangeLAN-DS 8430;
from Gabriel Forté, via Julien Rampon on tech-net
2005-03-23 12:00:22 +00:00
martin
8e03193d1b Regen (Proxim RangeLAN-DS 8430 added) 2005-03-23 11:59:38 +00:00
martin
a16552ce02 From Gabriel Forté, via Julien Rampon in mail to tech-net:
add Proxim RangeLAN-DS 8430
2005-03-23 11:58:56 +00:00
christos
ae9d3eacae Avoid a possible race during the time we give up our lock in order to
allocate memory. (From yamt)
2005-03-23 04:01:04 +00:00
christos
e0ba8227a7 Don't call malloc with a simple_lock held. Thanks to Greg Oster for pointing
my stupid mistake.
2005-03-23 01:16:44 +00:00
perseant
c716c3d307 Make LFS dirops get their vnode first, before incrementing the dirop count,
to prevent a deadlock trying to call VOP_PUTPAGES() on a VDIROP vnode.
This can happen when a stacked filesystem is mounted on top of an LFS: an
LFS dirop needs to get a vnode, which is available from the upper layer.
The corresponding lower layer vnode, however, is VDIROP, so the upper layer
can't be cleaned out since its VOP_PUTPAGES() is passed through to the lower
layer, which waits for dirops to drain before it can proceed.  Deadlock.

Tweak ufs_makeinode() and ufs_mkdir() to pass the a_vpp argument through
to VOP_VALLOC().

Partially addresses PR # 26043, though it probably does not completely fix
the problem described there.
2005-03-23 00:12:51 +00:00
xtraeme
3141856faf This needs <machine/bus.h> now. 2005-03-21 18:27:32 +00:00
cube
98201da433 pcppi at acpi needs some more work. Leave it commented out for now. 2005-03-21 18:10:15 +00:00
xtraeme
d1c67e4716 This needs <machine/bus.h>, needed for ACPI pcppi(4) attachment. 2005-03-21 17:16:10 +00:00
xtraeme
f9dbeebf6f Add "pcppi* at acpi?" commented out. 2005-03-21 14:15:27 +00:00
xtraeme
57218e5576 Add pcppi(4) ACPI attachment, which matches the "AT-style speaker
sound" ACPI device.

Reviewed by christos@.
2005-03-21 14:06:46 +00:00
xtraeme
65f27995a2 Move the struct pcppi_softc into pcppivar.h, add in this file
pcppi_attach(), which now accepts "struct pcppi_softc";
Split ISA specific bits from pcppi_attach() into pcppi_isa_attach()
(needed by the upcoming pcppi(4) ACPI attachment).

Reviewed by christos@.
2005-03-21 14:05:18 +00:00
xtraeme
a2dce2fece Use ANSI function declarations. 2005-03-21 10:51:52 +00:00
cgd
382487d844 correctly alphabetize bce, skc/sk, inphy relative to their neighbors.
devices.  correct typo in bce comment.
2005-03-21 01:57:54 +00:00
kleink
ef43d43dac Add PLATFORM_IBM_6015 to INSTALL, as present in GENERIC. 2005-03-20 20:19:07 +00:00
christos
cb282cd325 Keep track and limit the number of locks per uid. From OpenBSD 2005-03-20 19:16:33 +00:00
christos
f7c5085de0 It does not make sense to free the uidinfo struct since it is used now
for multiple things (proccnt,lockcnt,sbsize) and it adds too much code
complexity. Instead add a uid_find() routine that returns the existing
struct or allocates a new one.

Re-enable the sbsize limit code.
2005-03-20 19:15:48 +00:00
christos
08147aab3c Keep track of who the lock belongs to (from OpenBSD) 2005-03-20 19:13:57 +00:00
christos
f0bc73142d Add a member lockcnt to keep track of locks per uid. Add a uid_find() function
similar to the one in OpenBSD.
2005-03-20 19:13:23 +00:00
bouyer
83e1dbf7bb npxintr(): this function does the right thing if we don't try to clear
the interrupt latch (which is probably done by the hypervisor, linux/xen
doesn't do it either). Now the "fputest" configure test from pkgsrc/math/yorick
works as expected.
Thanks to Christian Limpach for the hint.
2005-03-20 13:12:59 +00:00
agc
dd93d335d3 Fix the spelling of Bill Studenmund's name - noticed from the licences
on the Sony PSP as found in:

	http://www.scei.co.jp/psp-license/pspnet.txt
2005-03-20 07:47:29 +00:00
thorpej
6f219f734d Define IFFBITS and IFCAPBITS here in <net/if.h>. Taken from ifconfig. 2005-03-20 02:51:33 +00:00
christos
d1ff4d2389 Regen 2005-03-19 22:00:27 +00:00
christos
5412502bb7 PR/29482: Kirk Strauser: Add support for Microsoft MN-520 PCMCIA WLAN card 2005-03-19 21:59:56 +00:00
dan
e652c56005 clear freed memory 2005-03-19 21:39:17 +00:00
tron
d8de2210c0 Add support for Intel PRO/1000 GT. Change provided in private e-mail by
unex at linija dot org.
2005-03-19 11:58:03 +00:00
tron
e56641a310 Regen. 2005-03-19 11:54:53 +00:00
tron
1836a77cb2 Add PCI id for Intel PRO/1000 GT. 2005-03-19 11:54:31 +00:00
tron
a1b0a42637 Use PCI id symbol for the Adaptec ASR-2410SA instead of hardcoding
the number.
2005-03-19 10:29:39 +00:00
tron
150390a8c2 Regen. 2005-03-19 10:28:12 +00:00
tron
f4f8f09cb9 Add missing PCI id for Adaptec ASR-2410SA. 2005-03-19 10:27:52 +00:00
kurahone
0eb940bc75 TCP/SACK changes from FreeBSD.
Ignore the SACK option if
 * The packet is not an ACK.
 * The ACK is outside of snd_una -> snd_max
2005-03-18 21:25:09 +00:00
bouyer
d0b115d1b9 Add PCI audio devices from i386/conf/GENERIC. 2005-03-18 16:32:33 +00:00
kleink
2a77702264 Make sure to declare functions with C linkage; should fix PR bin/29730
from Juergen Hannken-Illjes.
2005-03-18 16:11:14 +00:00
shige
a38e26c70d Add sources for OpenBlockS200 (OpenBlockS S/R) machine. 2005-03-18 15:31:58 +00:00
shige
b55107dced Rearrange codes for OpenBlockS266 machine. 2005-03-18 14:12:34 +00:00
shige
1a445aab8a Remove MD codes from arch/powerpc/ibm4xx. 2005-03-18 12:56:59 +00:00
tsutsui
a9a45cb796 Fix __KERNEL_RCSID. 2005-03-18 12:34:17 +00:00
bouyer
c18aecbd9d Note Xen devices. 2005-03-18 12:08:25 +00:00
bsh
25645b8f42 modify comments for clarity.
Original comments made several people misunderstand that the comment
says kernel's pagetable is at 0xa0004000.  What the comment says is
about RedBoot's pagetable.
2005-03-18 11:22:23 +00:00
cube
08498f7926 In xennet_ioctl, we need a declaration for sc when debugging macros are
active.  Reported on current-users by Teemu Rinta-aho.
2005-03-18 11:15:40 +00:00
yamt
5240b887db add agr(4), a pseudo network device driver for link aggregation. 2005-03-18 11:11:50 +00:00
yamt
a757217af7 add agr. 2005-03-18 11:00:46 +00:00
bsh
d608de2069 include <bsd.obj.mk> to teach make the rules for OBJDIR names.
This is to fix a problem on compiling gzboot with BUILDID defined
(by build.sh -B BUILDID).
2005-03-18 08:50:07 +00:00
bouyer
23b38e8659 Convert to ether_ioctl(), and claim IFF_SIMPLEX | IFF_MULTICAST.
This allows IPv6 on NetBSD domU.
2005-03-17 22:30:17 +00:00
kleink
08c05709a3 Pull in <sys/select.h> (XPG>=4.2, POSIX>=2001). 2005-03-17 20:51:00 +00:00
kleink
513c158344 A couple of <sys/select.h>-related changes:
* Factor out struct selinfo and its header dependencies into its own header,
  <sys/selinfo.h>, to avoid namespace pollution.
* Include <sys/selinfo.h> in user-visible headers where necessary.
2005-03-17 20:39:17 +00:00
jmc
9411ed143e Can't depend on shell scripts being executable from CVS. Preface mkimg.sh with
${HOST_SH}
2005-03-17 16:45:50 +00:00
bsh
a5d9dab3e0 Switch kernels for Lubbock and TwinTail to use pmap_devmap to map
I/O registers that are used in early start-up stage.  Also stop using
special bootstrap-time-only bus_space_map function in {lubbock,g42xxeb}_machdep.c.

This makes initarm() for them a bit simpler, and gives us smaller diffs
to other evbarm platforms.
2005-03-17 16:22:56 +00:00