| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Reviewed by: imp
Obtained from: NetBSD (originally)
|
| |
|
| |
|
|
|
|
| |
- Reduce number of DELAY's
|
|
|
|
| |
- GC a few hand-rolled min()/max() macros while I'm here.
|
|
|
|
| |
- Remove hand rolled abs() functions.
|
|
|
|
| |
Reviewed by: imp
|
|
|
|
|
|
|
|
|
|
|
| |
descriptor request, which usbd_get_string_desc() uses to get the
length of a descriptor. One device for instance returns a full 8
byte long packet instead which confuses the rest of the stack and
leads to the USB port being reset. The fix is to instead request
two bytes, but not to complain if we only get one.
Submitted by: kan
MFC after: 3 days
|
|
|
|
| |
Requested by: many
|
|
|
|
|
|
|
|
| |
and ether_ifattach() to end. This fixes a "could sleep" case and
simplifies error exit cases as well. Also be sure to set errno
and clean up resources in !mac error case.
Tested by: Ryan Beasley
|
|
|
|
|
|
|
|
|
|
| |
vchan creation doesn't lead to /dev entry creation if the new vchan is the
first child of a channel,
This fix a panic that happens when loading a sound driver module, creating
vchans and unloading the driver.
Approved by: cg
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
sub-classes.
This allows the powerpc kernel to build again.
Forgotten by: benno
Spotted by: grehan
|
|
|
|
| |
- Protect whole fw_tbuf_update() with splfw().
|
|
|
|
|
|
|
|
|
| |
confuses the controller, tell CAM not to do it. Also report the
correct error condition to CAM when it tries to probe a target that
doesn't exists.
This should make the CAM interface less risky to use.
MFC After: 3 days
|
|
|
|
| |
Stumbled on by: bde
|
|
|
|
|
| |
Submitted by: "Mikko S. Hyvarinen" <morphy@morphy.iki.fi>
MFC after: 5 days
|
|
|
|
|
| |
Submitted by: "Mikko S. Hyvarinen" <morphy@morphy.iki.fi>
MFC after: 5 days
|
|
|
|
| |
driver a _real_ GEOM driver.
|
|
|
|
|
|
|
|
|
| |
- Don't panic on contigmalloc failure.
- Calculate timestamp by feedforward rather than feedback which depends on
unreliable interrupt timing.
- Overwrite timestamp in CIP header correctly.
- Add debug code for timestamp synchronization.
- Add comments.
|
|
|
|
| |
Fill fdf bit fields and others.
|
|
|
|
|
|
|
|
| |
Only grab giant in the per unit kthread for SWAP and VNODE backed devices.
Initialize the bioq before the kthread gets a chance to study it.
Don't lock Giant in mddone_swap, we shouldn't need it.
|
|
|
|
|
|
|
|
| |
inconsistent when we do not do it for swap or vnode.
We still printf for preloaded disks because of the weak debugging
options people have in embedded/tiny environments where this is
usually used.
|
| |
|
|
|
|
|
| |
removal of unnecessary casts and throw in some minor cleanups to see if
anyone complains, just for the hell of it.
|
|
|
|
|
|
| |
the disk mini-layer.
This is currently not enabled.
|
|
|
|
|
|
|
| |
and 3com MAC. Specifications for the Altima PHY are available at:
http://www.altimacom.com/products/ac101L.html
Submitted by: Mikko S. Hyvarinen <morphy@morphy.iki.fi>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
pointer types, and remove a huge number of casts from code using it.
Change struct xfile xf_data to xun_data (ABI is still compatible).
If we need to add a #define for f_data and xf_data we can, but I don't
think it will be necessary. There are no operational changes in this
commit.
|
|
|
|
|
|
|
|
|
|
| |
expectation.
This solves the problem, where in a constellation with two (or more)
drives, an attempt is made to access a device name for that device
using a historic partition letter, like /dev/fd1c. This is supposed
to create a symlink to the master device, but previously, the link was
always created to /dev/fd0, even if the request was for fd1*.
|
|
|
|
|
|
| |
PR: 41466
Submitted by: NIIMI Satoshi <sa2c@sa2c.net>
MFC after: 1 week
|
|
|
|
| |
RATOC REX-9530 is SCSI2 Card.
|
| |
|
|
|
|
| |
same product id. So use CIS info(PCCARD_CISTPL_VERS_1).
|
|
|
|
| |
Noticed by: alpha tinderbox
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
aac.c:
Re-arrange the interrupt handler to optimize the common case of
the adapter interrupting us because one or more commands are complete,
and do a read across the pci bus to ensure that all posted status
writes are flushed. This should close a race that could cause command
completion interrupts to be lost.
Follow the spec a bit closer when filling out command structures.
Enable the Fast Response feature to eliminate the need for the card
to DMA successfull command completions back into host memory.
Tell the controller how much physical memory we have. Without this
there was a chance that our DMA regions would collide with the
memory window used by the cache on the controller. The result would
be massive data corruption. This seemed to mainly affect systems with
>2GB of memory.
Fix a few whitespace problems.
aac_debug.c:
Add an extra diagnostic when printing out commands.
aac_disk.c:
Add extra sanity checks.
aacreg.h:
Prepare for making this 64-bit clean by reducing the use of enumeration
types in structures.
Many thanks to Justin Gibbs for helping track these down.
|
|
|
|
|
|
|
|
|
|
| |
is read one clock edge too late. This bit is driven low by
slave (as any other input data bits from slave) when the clock
is LOW. The current code did read the bit after the clock was
driven high again.
Reviewed by: luoqi
MFC after: 2 weeks
|
|
|
|
|
| |
# Preliminary because there are some subtle things the NetBSD driver does
# that we don't do yet. My card works for me w/o them.
|
|
|
|
|
|
|
|
|
| |
during load time; this attributed to the mailbox
busy byte not being set prior to issuing a
polling command.
Approved by: ps
MFC: 7 days
|
|
|
|
|
|
| |
PR: 46859
Submitted by: Boaz Haberman <boaz@ool-182f8b09.dyn.optonline.net>
Approved by: rwatson
|
|
|
|
| |
Submitted by: Takahashi Yoshihiro <nyan@FreeBSD.org>
|
|
|
|
| |
PR: 45375
|
|
|
|
| |
- Reduce register access.
|
|
|
|
|
|
|
|
| |
ucom.
This gets my Sanyo SCP-4900 working.
Approved by: joe
|
|
|
|
| |
Tested by: jake
|
|
|
|
|
|
|
|
|
| |
This abstracts out all the differences I could see between the netbsd
sparc64 and macppc zs drivers. In particular the offsets of the csr and
data registers are different, so we use a separate bus handle for each and
use bus_space_subregion to add the bus specific offsets.
Requested by: benno
|
|
|
|
| |
not really tested, but are derived from the original NetBSD version.
|
|
|
|
|
| |
PR: 46871
Submitted by: Hartmut Brandt <brandt@fokus.gmd.de>
|
|
|
|
|
| |
This makes it possible to run a Promise SuperTrak SX6000 with
OS type set to "Other" as well as "Linux".
|