Commit Graph

75277 Commits

Author SHA1 Message Date
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
rafal
08bbc8e180 Fix typo in HW checksum code -- check for TCP & UDP HW checksumming being
enabled rather than TCP twice.
2005-03-17 15:51:28 +00:00
bouyer
9af95b6ee2 Protect various IRQ and event allocation/deallocations with splhigh().
Print the IRQ used for debug and misdirect events.
2005-03-17 15:32:38 +00:00
bouyer
b3b63c9707 print the IRQ used by the domain controller. 2005-03-17 15:31:17 +00:00
bouyer
3307398997 When handling a defered event, unmasking it isn't enouth, we also need to check
if the corresponding bit needs to be set in evtchn_pending_sel, and eventually
force an upcall (if we got a second event when this one what being handled).
For now to this by calling hypervisor_enable_irq(), this could be rewritten
in inline assembly by someone knowing enouth about i386 assembly :)
2005-03-17 15:30:45 +00:00
bouyer
02e969d512 Avoid loosing upcalls in stipending() by checking evtchn_upcall_pending
with upcalls unmasked.
2005-03-17 15:26:06 +00:00
yamt
0c03ee5404 vlan_input: add a missing EVL_VLANOFTAG in the case of hw offloading. 2005-03-17 10:33:28 +00:00
jmc
335ffe57a0 Kernel dump to 3.99.1 2005-03-17 00:22:34 +00:00
briggs
344246d697 Changes to match xxCICADA 8201B found in a VT6122.
Match at > 1 (10) to ensure we get ciphy instead of ukphy.
Use aprint(9) on attach.
Minor stylistic changes.
All from Tomokazu HARADA in PR kern/29705.
2005-03-16 17:25:32 +00:00
briggs
90cf94f285 regen for xxCICADA 8201B 2005-03-16 17:22:11 +00:00
briggs
a55f55e73a Add new/alternate OUI for CICADA that's been spotted in a VIA VT6122.
Submitted in PR 29705 from Tomokazu HARADA.
2005-03-16 17:20:28 +00:00
erh
d99a4ce8bf Fix PR#24302. Clear PCI abort and parity errors to give the card a chance at
working.  Patch provided by Jean-Luc Wasmer, based on the FreeBSD driver.
2005-03-16 17:11:17 +00:00
bouyer
a982855f7e Sync with i386/locore.S 1.33:
Check the passed in address as well as determining the maximum length
using VM_MAXUSER_ADDRESS in copyinstr and copyoutstr.

Problem originally fixed in OpenBSD/i386.
This fix suggested by Charles Hannum (mycroft at netbsd dot org).
2005-03-16 14:52:29 +00:00
bouyer
c0c525e11b Fix stack offset to account for an extra register pushl compared to the i386
version.
Thanks to fvdl@ for confirming I was right on this.
2005-03-16 11:25:03 +00:00