| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The cdevsw_add() function now finds the major number(s) in the
struct cdevsw passed to it. cdevsw_add_generic() is no longer
needed, cdevsw_add() does the same thing.
cdevsw_add() will print an message if the d_maj field looks bogus.
Remove nblkdev and nchrdev variables. Most places they were used
bogusly. Instead check a dev_t for validity by seeing if devsw()
or bdevsw() returns NULL.
Move bdevsw() and devsw() functions to kern/kern_conf.c
Bump __FreeBSD_version to 400006
This commit removes:
72 bogus makedev() calls
26 bogus SYSINIT functions
if_xe.c bogusly accessed cdevsw[], author/maintainer please fix.
I4b and vinum not changed. Patches emailed to authors. LINT
probably broken until they catch up.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
be yet another rebadged RealTek 8139.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
chipset. First you thrilled to the 3c905, then you trembled at the
3c905B, now gaze in wonder at: the 3c905C! This appears to be another
3c90X series chip called the Tornado (PCI ID 0x10B7/0x9200) and should
be equivalent (from the driver API perspective) to the 3c905B, so all
we have to do is add the PCI ID to the list.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reformat and initialize correctly all "struct cdevsw".
Initialize the d_maj and d_bmaj fields.
The d_reset field was not removed, although it is never used.
I used a program to do most of this, so all the files now use the
same consistent format. Please keep it that way.
Vinum and i4b not modified, patches emailed to respective authors.
|
| |
|
|
|
|
|
|
| |
2) Change name of UE_IN to UE_DIR
3) Enable printing of the Printer Id string
4) Clean up debugging output while we are at it.
|
|
|
|
|
|
|
|
| |
of the current interrupt trasaction.
- Do not schedule the next interrupt transaction if the pipe is being
aborted or the last round of the interrupt transaction ended with error.
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
|
|
|
|
|
|
|
|
| |
- Call ums_disable() to abort the pipe.
- Do not wake up processes which has been waiting or polling for mouse
data. It won't be available anymore.
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* Don't allow new-style isapnp devices through the compat interfaces.
|
| |
|
|
|
|
|
|
| |
* Move isa_dma* declarations to isavar.h.
* Add a method ISA_DELETE_RESOURCE() to the ISA interface.
* Tidy up include protection defines.
|
| |
|
|
|
|
| |
resource manager automatic handling of RF_ACTIVE.
|
| |
|
| |
|
|
|
|
|
| |
creates it if it doesn't exist.
* Rename resource_list_remove() to resource_list_delete() for consistency.
|
|
|
|
| |
its reference count.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
use ALPHA_PHYS_TO_K0SEG(offset) rather than just plain offet. I've verified
that this does not break other platforms (I've tested an AlphaStation 200
and a Personal Workstation 500au with this patch).
As to why this works, well.. Its black magic as far as I know. I obtained
this hack from Myricom, who in turn, obtained it from Compaq engineers.
Without this hack, XFree86 cannot talk to a PCI graphics card.
Reviewed by: Doug Rabson <dfr@nlsystems.com>
Obtained from: feldy@myri.com (Bob Felderman)
|
| |
|
|
|
|
|
|
|
| |
disk on Compaq XP1000's where Disk zero is dka0.0.0.6.1,
eg bus #1, slot #6.
Reviewed by: Doug Rabson <dfr@nlsystems.com>
|
|
|
|
|
| |
PR: docs/10474
Submitted by: Yoshiteru Kageyama <yt-kage@cb3.so-net.ne.jp>
|
|
|
|
|
| |
PR: docs/10624
Submitted by: Joe Abley <jabley@buddha.clear.net.nz>
|
|
|
|
|
| |
PR: docs/11561
Submitted by: Norihiro Kumagai <kuma@nk.rim.or.jp>
|
|
|
|
|
| |
PR: docs/11596
Submitted by: Robert Watson <robert@fledge.watson.org>
|
|
|
|
|
|
|
| |
fail on some filesystems.
PR: docs/11645
Submitted by: Harold Gutch <logix@foobar.franken.de>
|
|
|
|
|
|
|
| |
directories).
PR: docs/11695
Submitted by: Chris Costello <chris@calldei.com>
|
|
|
|
|
|
|
|
| |
Manpage formatting/grammatical fixes.
Check return value of malloc()
Add sccsid[], other minor source code cleanups
Submitted by: Philippe Charnier
|
|
|
|
| |
Submitted by: Philippe Charnier
|
|
|
|
|
|
| |
grammatical fixes.
Submitted by: Philippe Charnier
|
| |
|
|
|
|
|
|
|
| |
a ports tree which was installed initially with the system later,
but this is probably not the general case (user CVSups the repository
rather than the checked-out bits) and it's penalizing everyone else
with excessive inode consumption.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
similar to the PNIC I (supported by the pn driver). In fact, it's really
a Macronix 98715A with wake on LAN support added. According to LinkSys,
the PNIC II was jointly developed by Lite-On and Macronis. I get the
feeling Macronix did most of the work. (The datasheet has the Macronix
logo on it, and is in fact nearly identical to the 98715 datasheet, except
for the extra wake on LAN registers.) In any case, the PNIC II works just
fine with the Macronix driver.
The changes are:
- Move PCI ID for the PNIC II from the pn driver to the mx driver.
- Mention PNIC II support in mx.4.
- Mention PNIC II support in RELNOTES.TXT and HARDWARE.TXT.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The old version only worked right when the time was read strictly
more often than every 1/HZ seconds, but we only guarantee reading
it every (1/HZ + epsilon) seconds. Part of rev.1.126-1.127 attempted
to fix this but didn't succeed. Detect counter rollover using the
heuristic from the old version of microtime() with additional
complications for supporting calls from fast interrupt handlers.
This works provided i8254 interrupts are not delayed by more than
1/(2*HZ) seconds.
This needs more comments, and cleanups for the SMP case, and more
testing of the SMP case before it is merged into RELENG_3.
Tested by: jhay
|
|
|
|
|
|
|
|
|
|
|
| |
Add $Id$
Removes temp file exploits in gzexe (predictable filenames)
Fixes some typos
Fixes a buffer overrun in gzip -S
Don't prepend /usr/local/bin to path in scripts
Correct location of /usr/share/misc/termcap
Obtained from: OpenBSD
|
|
|
|
|
|
|
| |
disable_intr() does non-recursive locking in the SMP case. This should
fix cy-driver-related panics when SMP is configured.
Broken in: rev.1.73 (3.1 and -current)
|
|
|
|
|
|
|
| |
Use optimal blocksize for rm -P, instead of always using 8192-byte blocks
to overwrite the file.
Obtained from: OpenBSD
|
| |
|
|
|
|
| |
(Eventually I expect to move these into the man page)
|