| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
attempting to initialize sio3 caused problems with ATI video boards,
which cleverly share the I/O space.
PR: kern/12295
|
|
|
|
|
|
|
|
|
| |
positively not let ti_encap() fill up the TX ring all the way and wrap
around. This fixes a potential transmit lockup where a really fast
machine (or particular TX traffic pattern) can overrun the end of the
ring.
Reported by: John Plevyak <jplevyak@inktomi.com>
|
| |
|
| |
|
|
|
|
|
|
| |
Add the options for debugging used in dev/usb/*.c
Submitted by: Kazu
|
|
|
|
| |
Oked by: des
|
| |
|
|
|
|
| |
2) remove printing of errno and errstr
|
|
|
|
|
| |
2) Add checks to make sure we do not dereference the softc when not found
because the device has been removed.
|
| |
|
|
|
|
|
| |
No longer need when using device_get_softc.
(also fixed bug where loadable bktr module could only access 1st device)
|
|
|
|
|
|
| |
Also removed the BSDI support (for now)
This allows the driver to be loaded/unloaded as a KLD
and loaded in the boot loader phase whithout making a custom kernel.
|
|
|
|
|
| |
instead of frobbing the buffer access path registers directly. Saves a
few lines of duplicated code.
|
|
|
|
|
|
|
|
|
|
| |
corresponding variable `rc_wakeup_started' in rev.1.36 but broken
again in rev.1.37. This bug only caused excessive polling (it gave
NRC activations for each of the SWI handler and the timeout handler
instead of 1 of each).
Moved cdevsw attachment from the driver probe routine to the driver
attach routine.
|
|
|
|
|
|
| |
fixed half the problem.
Tested by: Michael Scott Boers <mboers@datacompusa.com>
|
|
|
|
|
| |
(It was accidentally added to the BSDI bktr_probe and not the
FreeBSD bktr_probe)
|
|
|
|
|
|
| |
from. 0x50 == 'P' for protoype.
Obtained from: Pat LaVarre <LAVARRE@iomega.com> on linux-usb@suse.com
|
| |
|
|
|
|
| |
the isa probe has gone hunting for a card on it's own.
|
|
|
|
| |
for the sign bit for roller movement!
|
|
|
|
| |
Reviewed by: silence on on -current
|
| |
|
| |
|
|
|
|
| |
pointer is passed.
|
|
|
|
|
|
| |
equivalent to usb_descriptor_t
2) Rename USB_CDC_CM_CM_OVER_DATA to USB_CDC_CM_OVER_DATA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
via an IBM PCI-PCI bridge (82351 or 82352 or 82353)
The driver must identify if it is on a secondary PCI bus, which is
created via the IBM PCI-PCI bridge. If it is, then it must initialise
the IBM PCI-PCI bridge correctly.
To do this, the following new functions are added.
Because they use the pcici_t tag, they are considered 2.2 compatibility APIs
pcici_t * pci_get_parent_from_tag(pcici_t tag);
int pci_get_bus_from_tag(pcici_t tag);
(The _from_tag suffix is used to prevent clashes with similarly named
newbus PCI API functions)
Submitted by: Anton Berezin <tobez@plab.ku.dk>
Reviewed by: Doug Rabson <dfr@nlsystems.com>
Reworked by: Me (roger)
|
|
|
|
|
| |
* Fix some misunderstandings about the return value of resource_int_value().
* Make it build on alpha (doesn't work yet...)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
gdb. This allows the sio probe for that port to be disabled which stops
it from confusing the debugger.
|
|
|
|
|
|
|
| |
chipset (a vibra 16x clone)
Identified automatically by its PnP ID
Approved by: Luigi
|
|
|
|
|
|
|
|
|
| |
Allow chipset drivers to specify the direct-mapped DMA window's mask in
preparation for tsunami support. Previous chipsets' direct-mapped DMA
mask was always 1024*1024*1024. The Tsunami chipset needs it to be
2*1024*1024*1024
Reviewed by: Doug Rabson <dfr@nlsystems.com>
|
|
|
|
|
|
|
|
|
|
| |
preparation for tsunami support. Previous chipsets' direct-mapped DMA
mask was always 1024*1024*1024. The Tsunami chipset needs it to be
2*1024*1024*1024
These changes should not affect the i386 port
Reviewed by: Doug Rabson <dfr@nlsystems.com>
|
|
|
|
|
|
|
|
| |
only support 'mirroring' the vendor and device ids, so we don't
lose any information. Certain revisions of the aic7880 will not
perform the mirroring so to match all possiblities would double
the number of table entries. This change also allows us to match
things like the 2944B which I missed in the original table.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
commands are outstanding. You'd think they'd just clear the IDLE bit,
but alas, no. Delay until all pending mailbox commands have completed
in aha_cmd to work around this.
Report sync rates correctly on Fast Adaptec cards. Clones may still be
reported incorrectly since there is no documenation on how they report
extended sync values.
Clean up some unused fields in the aha softc.
|
|
|
|
|
|
| |
Corrects bogus negotiation values on aic7890 based controllers.
PR: 11872
|
| |
|