| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
previous hackery involving struct in_ifaddr and arpcom. Get rid of the
abominable multi_kludge. Update all network interfaces to use the
new machanism. Distressingly few Ethernet drivers program the multicast
filter properly (assuming the hardware has one, which it usually does).
|
|
|
|
|
|
|
| |
code if the option 'LINT_PCCARD_HACK' is specified (which should only
be used in LINT).
Demanded by: bde
|
|
|
|
|
| |
Reviewed by: phk
Submitted by: Virgil Champlin <champlin@pa.dec.com>
|
|
|
|
|
| |
Reviewed by: phk
Submitted by: hosokawa@jp.FreeBSD.org
|
|
|
|
|
|
|
|
|
|
|
| |
code.
Reviewed by: bde
[
Bruce suggest removing the macros completely, but I'm not up to that
task quite yet.
]
|
| |
|
|
|
|
| |
Pointed out by: j@uriah.heep.sax.de (J Wunsch)
|
|
|
|
|
|
|
| |
The problem is that `psmopen()' doesn't validate a pointer before
using it.
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
wdparams from short into u_short. If wdp_cylinders is short, it
overflows and cause serious sign extension bug when large IDE HDD is
used. These members are only used for initialization of u_long
variables in both 3.0-current and RELENG_2_2 branch.
I believe this should be in 2.2.
Reviewed by: Bruce Evans <bde@zeta.org.au>
|
|
|
|
|
|
|
| |
taken from the voxware-3.5 distribution. Also some changes to the SB
and MPU IRQs to reflect more common/default settings.
Submitted-By: Brian Campbell <brianc@netrover.com>
|
|
|
|
| |
Pointed out by: bde
|
|
|
|
|
|
|
|
|
|
|
|
| |
at device attach time, instead of allocating and freeing buffers as
necessary. But he or she forgot to remove the line that invalidated
the buffer when the device is closed. Therefore, after using the
device for the first time, the buffer was incorrectly invalidated and
that caused a page fault on the second, and subsequent uses.
Closes PR # kern/2319: Using Genius GS-4500 scanner...
Submitted by: jmrueda@diatel.upm.es (Javier Martmn Rueda)
|
|
|
|
|
| |
became -1, and this recently became fatal if an address error occurs in
copyin/out/etc.
|
|
|
|
|
|
|
| |
is still broken - it doesn't restore the floating point state.
2.2-BETA users should disable it using npx0 flags 0x04 the same as
2.2-ALPHA users should have.
|
|
|
|
|
| |
Should go in 2.2
Reviewed by: pst
|
|
|
|
|
| |
work in fast interrupt handlers because it calls db_printf() which uses
%es for string stuff and %es isn't initialized.
|
|
|
|
|
|
|
|
|
|
| |
Closes PR # kern/1065.
While i was at it, also reject IO requests that are not an integer
multiple of the device blocksize.
Submitted by: vak@crox.net.kiae.su (Serge V.Vakulenko)
Confirmed by: Georg-W. Koltermann (gwk@cray.com)
|
|
|
|
|
|
|
|
|
|
| |
workings of #error in particular. He also broke the 2.2 build with this
change, leading me to wonder whether or not the changes were ever even
tested. Folks, I'm happy to see people work directly on 2.2 like
this and will continue to encourage Nate to make direct commits, but
please TEST before committing! I think that's a more than reasonable
prerequisite, and this code could never have worked at all, leading me to
believe that Nate skipped this most basic of steps.
|
|
|
|
|
|
|
|
| |
Don't allow people to use the 'dedicated' drivers at the same time as
the generic support code, as it can cause all sorts of problems
including kernel crashes.
[ definite 2.2 material ]
|
|
|
|
|
|
|
|
| |
refuse the open intent with ENXIO otherwise.
Closes PR # bin/2226.
Reviewed by: bde
|
|
|
|
| |
Support 3COM 3C569 network card on PC98.
|
| |
|
|
|
|
| |
statistics, so it just wasted scarce disk table slots and screen space.
|
|
|
|
|
|
| |
to TAILQs. Fix places which referenced these for no good reason
that I can see (the references remain, but were fixed to compile
again; they are still questionable).
|
|
|
|
|
|
|
|
|
| |
type to be int so that errors can be returned.
2) Use the new SIOCSIFMTU ether_ioctl support in the few drivers that are
using ether_ioctl().
3) In if_fxp.c: treat if_bpf as a token, not as a pointer. Don't bother
testing for FXP_NTXSEG being reached in fxp_start()...just check for
non-NULL 'm'. Change fxp_ioctl() to use ether_ioctl().
|
|
|
|
| |
2.2 candidate.
|
|
|
|
| |
It was MY fault after all, damn..
|
|
|
|
| |
Add a missing file of bs driver. It's a 2.2 candidate.
|
|
|
|
|
| |
connect/hangup in !CLOCAL mode was handled correctly. mgetty and ppp
didn't work because they turn on CLOCAL and poll for carrier (or RI?).
|
|
|
|
|
| |
Submitted by: The FreeBSD(98) Development Team
Obtained from: NetBSD/pc98 based on NetBSD 1.2
|
|
|
|
|
|
| |
Definite 2.2 candidate.
Submitted by: The FreeBSD(98) Development Team
|
|
|
|
|
|
|
|
|
|
|
| |
function ed_attach_NE2000_pci() in if_ed.c passes
an uninitialized block of memory (got with malloc())
to ed_attach. This prevents a proper initialization
of the device descriptor and in my case causes a panic
during the probe, while printing out device info.
Reviewed by: phk
Submitted by: Luigi Rizzo <luigi@iet.unipi.it>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. All the suggestions earlier made by Bruce: renaming some symbols,
stricter error checking, removing redundant code, etc.
2. The `psm' driver preserves the default counter resolution and
report rate, whatever they are after reset. (Based on reports and
suggestion from Nate and Rob Bolin).
3. The `psm' driver now does not check the so-called sync. bit in the
first byte of the data packet by default, so that the tapping feature
of ALPUS GlidePoint works (based on reports from Louis Mamakos). I
tested the code with ALPUS Desktop GlidePoint (M/N GP101) and found
no problem; tapping worked. It appears ALPUS produces several models
of GlidePoint. I hope the other models are OK too.
The check code can still be activated by defining the PSM_CHECKSYNC
option in the config file. (The bit checking slightly reduces, if not
completely eliminates, weird mouse behavior cased by unsynchronized
mouse data packets. It also helps us to detect if the mouse interrupt
can ever be lost. But, well, if there are devices which cannot be
supported this way...)
4. The `psm' driver does not include the protocol emulation code by
default. The code can still be compiled in if the PSM_EMULATION option
is specified in the config file. Louis Mamakos suggests the emulation
code is putting too much in the kernel, and `moused' works well.
I will think about this later and decide if the entire emulation
code should be removed.
5. And, of course, the fix in `scprobe()' from Bruce to cure the
UserConfig problem. My code in `kbdio.c' is slightly different from
his patch, but has the same effect. There still is a possibility that
`scprobe()' gets confused, if, for whatever reasons, the user holds
down a key for very long time during the boot process. But we cannot
cope with everything, can we?
Submitted by: Kazutaka YOKOTA (yokota@zodiac.mech.utsunomiya-u.ac.jp)
|
|
|
|
|
| |
hasn't been used for a year or two since disksort() started sorting
on b_pblkno.
|
|
|
|
|
|
|
|
|
| |
are always together with Framing Errors and they were incorrectly
treated as FE's and discarded.
Reorganized the BREAK/FE/PE tests.
Found by: NIST-PCTS
|
|
|
|
|
|
|
|
| |
with sio devices (not perfectly, since there is no way to flush the tx
holding register on 8250-16450's. I'm not sure if resetting the fifos
flushes the tx shift register).
Reminded by: NIST-PCTS
|
|
|
|
|
|
|
|
| |
is completely empty. There is no interrupt for output completion, so
poll for it every 10 ms after output is nearly complete. Now ttywait()
works right.
Reminded by: NIST-PCTS
|
|
|
|
|
|
| |
received in this case even if the hardware doesn't have a CREAD bit.
Found by: NIST-PCTS
|
|
|
|
|
| |
speed for the "com" console, not for general purpose "com" ports,
so there was no need to split it into comdefaultrate and condefaultrate.
|
|
|
|
| |
Should be in 2.2. Don't put it there for a while.
|
|
|
|
|
| |
did not actually use the correct name either :-).
Submitted-By: Toyonori Fujiura <toyo@exiv.pearnet.org>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The 'getchar' function in syscons (sccngetc) is used by UserConfig to
get keyboard input from the user. When it was modified to use the
shared keyboard port routines it used the port passed in during the
probe routine. Since the probe routine was not yet called, the port was
set to 0, which is obviously not going to work.
Pre-initialize sc_port to IO_KBD which is really a kludge, but it's how
the previous driver did it's job.
Found by: remote GDB
|
|
|
|
|
|
|
| |
user supplies a bad address, because they push a lot of stuff that the
fault handler doesn't know about onto the stack. This has been broken
for more than half a year despite being tested for almost half a year
in -current.
|
|
|
|
|
|
|
|
|
|
|
|
| |
with the copyright stuff fixed so soon (this should be merged into 2.2 when
you have a chance, Poul).
This is the new AWE32 driver, with support for the AWE32's fancy MIDI
synthesizer. The utilities for this will appear as port submissions soon
afterwards, according to the submitter.
Submitted-By: Randall Hopper <rhh@ct.picker.com>
Written-By: Takashi Iwai <iwai@dragon.mm.t.u-tokyo.ac.jp>
|
|
|
|
| |
driver.
|
|
|
|
|
|
| |
Submitter requests that this patch be merged into 2.2.
Submitted by: seki@sysrap.cs.fujitsu.co.jp
|
|
|
|
|
|
| |
Fixes PR#2011
Submitted by: seki@sysrap.cs.fujitsu.co.jp
|