Commit Graph

134089 Commits

Author SHA1 Message Date
christos d59582c127 Don't zero out the linux request; we still need values from it.
Limit the sense len to the linux input buffer.
2005-02-13 09:05:31 +00:00
christos 47be3434ec We were zeroing out the wrong struct. 2005-02-13 09:01:25 +00:00
dyoung 6e9d895c23 Bug fix: use the MAC that the firmware tells us, resorting to the
CIS MAC only on error.

(NetBSD these days tries to read the MAC address from the PCMCIA
CIS.  Prism cards made by Senao set the MAC in every PCMCIA CIS to
00:02:6f:00:02:15.  In a network of Senao cards, this causes MAC
duplication.)
2005-02-13 07:33:06 +00:00
snj 6bad99a279 Lincoln's birthday belongs (and already exists) in calendar.birthday. 2005-02-13 07:05:03 +00:00
christos ca8762570f Mention new OpenSSH. 2005-02-13 06:14:00 +00:00
christos 033bdf5505 Bump libssh to 1.0 2005-02-13 06:09:00 +00:00
christos cea75c91ac Add PAM glue [unused] 2005-02-13 06:07:54 +00:00
christos 573119d831 Update for OpenSSH-3.9 2005-02-13 06:07:21 +00:00
christos 9233e29e04 Update for OpenSSH-3.9; bump major. 2005-02-13 06:06:48 +00:00
christos ea7d905559 Bring back files we need from the dead. 2005-02-13 06:01:36 +00:00
christos 43dbbb7ed8 Merge conflicts. 2005-02-13 06:01:14 +00:00
christos 8b8ab8547b Resolve conflicts. 2005-02-13 05:57:25 +00:00
christos 797648d563 Change the order of the set{e,}{u,g}id calls. NetBSD is stricter and needs
to keep the euid until the end. Add a bit of debugging.
2005-02-13 05:54:27 +00:00
atatat 61ae0cbaf1 print the proper pointer for the pcb address. otherwise, all the udp6
pcb addresses are the same as unrelated udp pcb addresses.
2005-02-13 03:15:18 +00:00
chs 4d33e8a954 move recursion-detection code inside interrupt-protected region. PR 24254. 2005-02-13 02:03:54 +00:00
christos cad419c94d from ftp.openbsd.org 2005-02-13 00:52:40 +00:00
heas 2d4ced7c82 For controllers (eg: hme & gem) that can only perform linear hardware checksums
(from an offset to the end of the packet), the pseudo-header checksum must be
calculated by software.  So, provide it in the TCP/UDP header when
M_CSUM_NO_PSEUDOHDR is set in the interface's if_csum_flags_tx.

The start offset, the end of the IP header, is also provided in the high 16
bits of pkthdr.csum_data.  Such that the driver need not examine the packet
at all.

XXX At the request of Jonathan Stone, note that sharing of if_csum_flags_tx &
    pkthdr.csum_flags for checksum quirks should be re-evaluated.
2005-02-12 23:25:29 +00:00
christos be3704c73f pass the flag to fdclone. 2005-02-12 23:14:03 +00:00
fvdl 7b10f1cabc Don't panic when lwp_suspend finds an LWP on another CPU, just return
EINVAL for now.
2005-02-12 21:39:00 +00:00
chs 365df27e4b in sparc_interrupt(), wait to enable interrupts until just before calling
the handler and disable them again right after the handler returns.
we don't want another hardware interrupt coming in while we're mucking
with the list pointers.  also, clear the intrhand's ih_pending pointer
before calling the handler rather than after, so that if another interrupt
comes in while the handler is running, we can put the intrhand back on
the list so it will be called again.

in send_softint(), disable interrupts via %pstate instead of %pil, so that
hardware interrupts at higher levels are blocked while we manipulate the
intrpending list.  also, if the intrhand already has ih_pending set,
don't bother poking the SET_SOFTINT register again, since being on the list
implies that there is already a softint pending in the hardware.

these appear to fix PR 21750 (the "sleep forever" problem).

while I'm here, remove more vestiges of the !INTRLIST softint stuff
(code and comments).  and in sparc64_ipi_flush_all(), interrupts are
already disabled so we don't need to fiddle with %pstate.
2005-02-12 21:32:56 +00:00
manu 1cbaff0bc3 Remove .cvsignore files commtted by mistake 2005-02-12 15:52:36 +00:00
aymeric 425332b643 Correct a typo in a filename: s/fdstab/fstab/ 2005-02-12 15:06:59 +00:00
jdolecek f40d6d8ba8 add npx* at pnpbios? (commented out) 2005-02-12 13:07:27 +00:00
aymeric a3c4465703 Fix the RCSID's to be $NetBSD$ instead of $NetBSD 2005-02-12 12:53:22 +00:00
manu 5c217c1a67 Add support for IPsec Network Address Translator traversal (NAT-T), as
described by RFC 3947 and 3948.
2005-02-12 12:31:07 +00:00
manu a8f0ad3c37 Import ipsec-tools (tag ipsec-tools-0_6-base in ipsec-tools CVS)
ipsec-tools is a fork from KAME racoon/libipsec/setkey, with many
enhancements.
2005-02-12 11:11:11 +00:00
rearnsha ef3f4c0f7e DMA on the i31244 is now enabled by default. 2005-02-12 10:23:21 +00:00
rearnsha bae0bf4e87 Updated for changing PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA 2005-02-12 10:21:40 +00:00
rearnsha d0a75ee514 Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs.  Put the flag in opt_pciide.h.
2005-02-12 10:20:50 +00:00
rearnsha 16574672f1 Document the types and addresses of the IIC devices
(Disabled, beacuse they seem to be non-functional at present).
2005-02-12 09:59:29 +00:00
rearnsha fdac3760e5 ... but make it's filesystem type FFS (not NFS :-). 2005-02-12 09:54:36 +00:00
rearnsha 3633c570d2 Build a kernel variant with root on wd0. 2005-02-12 09:53:27 +00:00
rearnsha d8a87d92cb Bump the symtab space 2005-02-12 09:51:05 +00:00
rearnsha 6085be19d6 Redboot defaults to a console speed of 115200 baud on this board. 2005-02-12 09:49:40 +00:00
rearnsha 699b0c2c38 This board has a 33.0 crystal, so the counter speed comes out at 198MHz 2005-02-12 09:45:49 +00:00
rearnsha 31711b756b Permit the counter frequency to be overridden by a board configuration 2005-02-12 09:44:15 +00:00
nakayama 2d2c3aa5fa Make 32-bit kernels with DIAGNOSTIC compile again. 2005-02-12 09:38:28 +00:00
jmc 02a4880993 vm_map_max needs a struct pointer, so add a missing deref here 2005-02-12 09:38:25 +00:00
yamt 05617b0ee7 hp300 part of the following change,
which was missed due to a sticky tag in my local tree.
pointed by Izumi Tsutsui.

> remove uvm_map_protect from cpu_startup of several ports.
> - they shouldn't be needed with the current fault handler.
> - they causes assertion failure with the recent vm_map implementation.
>
> discussed on tech-kern@.  reviewed by Chuck Silvers.
> PR/29179 from Julio M. Merino Vidal.
2005-02-12 08:17:38 +00:00
martti 9576629e7a ipf 4.1.5 2005-02-12 05:48:57 +00:00
oster be864067da The 'next' argument to rf_CreateDiskQueueData is always NULL. Since
there is no particular reason to pass an extra NULL argument, turf it,
and initialize p->next to NULL within the function.
2005-02-12 03:44:41 +00:00
oster 0b15470982 Add a 'waitflag' argument to rf_CreateDiskQueueData() and use it to
determine if we are willing to wait for memory to come from the
diskqueuedata (dqd) and bufpool pools.  Cleanup the mess related to
code calling rf_CreateDiskQueueData() with different expectations
(and/or blatent disregard) of what might happen if there were
insufficient pool resources.
2005-02-12 03:27:33 +00:00
briggs ef57c7b216 Add twe. 2005-02-12 03:24:39 +00:00
heas 52b0cd6b47 ntohs->htons for ip6 plen (payload length).
It is not technically necessary to set plen here, since ip6_output() starts
off by calculating it, but leaving it keeps it consistent with other code.
2005-02-12 01:24:07 +00:00
kleink 759f32c14c tz{code,data}2005e are out, tzdata2005e was imported. 2005-02-12 00:36:19 +00:00
kleink 9f3c1a4838 Update for tzdata2005e. 2005-02-12 00:33:34 +00:00
kleink 6c51665c6e Merge tzdata2005e. 2005-02-12 00:31:41 +00:00
kleink bd9639e231 Import tzdata2005e. 2005-02-12 00:28:41 +00:00
matt 4612c7a119 When building kernel for OEA, allow unaligned accesses since OEA
processors will deal with them properly.
2005-02-12 00:03:21 +00:00
rearnsha dfcdd57e20 Add support for the Artisea device operating in DPA mode.
Approved by briggs.
2005-02-11 21:12:32 +00:00