Commit Graph

20427 Commits

Author SHA1 Message Date
tanimura
ddbca3f99d Add ACH2012 - 5634BTS 56K Video Ready Modem.
PR:		kern/17351
Submitted by:	Eric D. Futch <efutch@nyct.net>
2000-05-19 03:41:22 +00:00
peter
e7bffe5da6 Return ECONNRESET instead of EINVAL if the connection has been shot
down as a result of a reset.  Returning EINVAL in that case makes no
sense at all and just confuses people as to what happened.  It could be
argued that we should save the original address somewhere so that
getsockname() etc can tell us what it used to be so we know where the
problem connection attempts are coming from.
2000-05-19 00:55:21 +00:00
peter
7c263c5bb0 Eliminate a couple of evil common declarations. 2000-05-18 23:38:33 +00:00
billf
3c40b9af61 bump __FreeBSD_version for the bio/buf divorce by phk. 2000-05-18 21:57:34 +00:00
jayanth
d854ffaa25 snd_cwnd was updated twice in the tcp_newreno function. 2000-05-18 21:21:42 +00:00
dfr
bb3ccd98cb Print the correct value for the map type on a verbose boot.
PR:	kern/18662
Submitted by: tamaru@ap.t.u-tokyo.ac.jp
2000-05-18 20:28:15 +00:00
dcs
ed20714d67 Make corrections to allow for Alpha. 2000-05-18 12:44:50 +00:00
grog
621990cd68 Correct previous commit: solve the "stopped clock" syndrome in remote
kernel debugger.
2000-05-18 02:29:23 +00:00
tanimura
b5dca9211a Add a couple of new PnP IDs.
o OZO800f - Zoom 2812 (56k Modem)
PR:		kern/18603
Submitted by:	Matt Loschert <loschert@servint.com>

o DAV0336 - DAVICOM 336PNP MODEM
PR:		kern/18608
Submitted by:	Martijn Plak <martijn@be3.com>
2000-05-18 02:06:24 +00:00
msmith
41be544213 Implement real read/write barriers for the i386. Despite the comment in
previous versions of this file, some barrier functionality is required.
2000-05-18 00:06:10 +00:00
msmith
8fcf5c1468 If we are running in APIC_IO mode, pretend that we didn't see the BIOS
reporting an AT PIC.  We do this because otherwise the PIC will claim
IRQ 2 in an unshareable mode, preventing other devices from legitimately
using it.

For symmetry, in !APIC_IO mode, ignore the APIC if it's reported.

This is a hack; a better solution would have the PIC's driver release
the IRQ if it was not going to be active.
2000-05-17 19:44:16 +00:00
jayanth
e7034ee2a7 Sigh, fix a rookie patch merge error.
Also-missed-by:	peter
2000-05-17 06:55:00 +00:00
jlemon
e68744c276 Cast sizeof() calls to be of type (int) when they appear in a signed
integer expression.  Otherwise the sizeof() call will force the expression
to be evaluated as unsigned, which is not the intended behavior.

Obtained from:  NetBSD   (in a different form)
2000-05-17 04:05:07 +00:00
green
b987a44176 Put the wait(2) exit status in "data" for NOTE_EXIT kevents. 2000-05-17 01:16:11 +00:00
darrenr
5b92721b90 add IPFILTER_DEFAULT_BLOCK and put it in opt_ipfilter.h 2000-05-16 08:58:39 +00:00
jayanth
ba14a43fa0 snd_una was being updated incorrectly, this resulted in the newreno
code retransmitting data from the wrong offset.

As a footnote, the newreno code was partially derived from NetBSD
and Tom Henderson <tomh@cs.berkeley.edu>
2000-05-16 03:13:59 +00:00
paul
cabb5e540a Replace all references to lnc_softc with a typedef. 2000-05-16 02:30:53 +00:00
paul
ffba21ebbe Update copyright. 2000-05-16 02:18:49 +00:00
paul
3c5581f914 Re-organise lnc driver in preparation for newbusifying it. 2000-05-16 02:08:04 +00:00
ru
b3014de216 Do not call icmp_error() if ipfirewall(4) denied packet.
PR:		kern/10747, kern/18382
2000-05-15 18:41:01 +00:00
dillon
1adaa9f038 Change f_count and f_msgcount from short to int, solving the rollover
problem demonstrated by the PR.  MFC to follow.

PR: kern/18346
2000-05-15 06:54:41 +00:00
cg
85a224d838 fix a speed bug that nobody noticed 2000-05-15 02:10:27 +00:00
n_hibma
a9498f1f9c Sync with NetBSD:
Add quirks for self-powered hubs that are not.
2000-05-14 19:51:38 +00:00
n_hibma
1b242a6f37 Sync with NetBSD:
Textual changes.
2000-05-14 19:44:24 +00:00
n_hibma
6262213c44 Sync with NetBSD:
Make the behaviour more similar to what the Microsoft uhub driver
does.
2000-05-14 19:39:10 +00:00
paul
ba91f59db8 Unchain lnc include files. 2000-05-14 19:14:41 +00:00
paul
fa6295e001 Fix location of lnc pci code. 2000-05-14 19:10:46 +00:00
dillon
5303cc9523 Fixed bug in madvise() / MADV_WILLNEED. When the request is offset
from the base of the first map_entry the call to pmap_object_init_pt()
    uses the wrong start VA.  MFC to follow.

PR: i386/18095
2000-05-14 18:46:40 +00:00
paul
4aaede0d99 Remove old lnc files. 2000-05-14 18:27:47 +00:00
paul
2ed67f4c59 Remove if_pci_p.c from old location. 2000-05-14 18:25:51 +00:00
paul
538a676275 Build lnc driver from /sys/dev from now on. 2000-05-14 18:24:41 +00:00
paul
4933d1a224 Fix includes to build from /sys/dev/lnc 2000-05-14 18:21:39 +00:00
n_hibma
edb329e5b8 Sync with NetBSD:
Add USB_SET_REPORT ioctl.
Add FIOASYNC, TIOCSPGRP ioctl.
Change some debugging output
2000-05-14 17:43:59 +00:00
paul
72f1169b67 Sync with the BPF and BRIDGE changes. 2000-05-14 17:37:34 +00:00
n_hibma
81798fe43a Sync with NetBSD:
Mostly textual changes.
Set configuration to 0 (reset all endpoints) on open.
2000-05-14 17:33:26 +00:00
n_hibma
3e77629ca5 Make some if's cleaner. Add a define for the Zip 250. 2000-05-14 17:25:33 +00:00
dillon
47d5b4051e Zero out the uio structure prior to initializing it. A garbage (uninitialized)
proc pointer is believed to have been the cause of panics related to vnconfig
    on top of intr-optioned NFS mounts.

Reported by: "Sean O'Connell" <sean@stat.Duke.EDU>
2000-05-14 17:15:58 +00:00
n_hibma
923e94d400 Sync with NetBSD:
Fix the saving of the location at pop properly. Only save the position
and not the complete locator.

(sp? s/sav/saf/g if appropriate)
2000-05-14 16:59:31 +00:00
n_hibma
91806b2f48 Change Lennart's e-mail address. 2000-05-14 16:43:10 +00:00
dfr
503e2bb45e Port ppc driver to alpha.
Submitted by: Andrew M. Miklic <miklic@ibm.net>
2000-05-14 13:47:57 +00:00
asmodai
0d05e48123 Fix the rootmount code for now.
This function will probably rewritten/renamed to devpp.

Submitted by:	Assar Westerlund <assar@sics.se> on -current
Confirmed to work:	Steinar Haug <sthaug@nethelp.no>,
			Manfred Antar <mantar@pacbell.net>
Reviewed by:	phk
2000-05-14 07:43:12 +00:00
chris
3da2444315 Remove the -DFDESC cruft that is no longer necessary since the support
for it was removed from <sys/mount.h> long, long ago.
2000-05-14 04:44:30 +00:00
archie
fa21035b4e Move code to handle BPF and bridging for incoming Ethernet packets out
of the individual drivers and into the common routine ether_input().
Also, remove the (incomplete) hack for matching ethernet headers
in the ip_fw code.

The good news: net result of 1016 lines removed, and this should make
bridging now work with *all* Ethernet drivers.

The bad news: it's nearly impossible to test every driver, especially
for bridging, and I was unable to get much testing help on the mailing
lists.

Reviewed by:	freebsd-net
2000-05-14 02:18:43 +00:00
dfr
d066b07315 Enable EISA interrupts if the mcpcia has an attached EISA bus. 2000-05-13 21:33:57 +00:00
dfr
5817247b49 Use bus_space for all register accesses. 2000-05-13 18:47:24 +00:00
dfr
714d84ab03 Only probe network settings on the first open of the network device.
The alpha firmware takes a seriously long time to open the network device
the first time.
2000-05-13 15:40:46 +00:00
hoek
cda3a229f2 Change to comments only: spell FreeBSD.org correctly 2000-05-13 11:21:19 +00:00
peter
9b48bc5807 Make /dev/[k]mem work after last commit. Transfers were being double
counted due to break/continue changes that were missed.  There are
still too many diffs relative to the i386 version.
2000-05-13 07:43:00 +00:00
peter
9dc57b5678 Unbreak 'make reinstall' after last commit 2000-05-13 07:39:46 +00:00
msmith
349ad5ad96 Fix a leak where a scratch buffer was not freed when reading from the
/dev/?random devices.  This appears to have been missed when the code
was brought across from the i386.  (This should fix the "world build
hangs with everything waiting on 'temp' problem.)

Also add some iovec fixup code in the error path which seems to have
been similarly fixed.

There are a number of other differences between the i386 and alpha
version which have not been examined.  This code should still be
considered suspect.
2000-05-13 05:38:25 +00:00