| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Approved by: re (Ken)
Notes:
svn path=/releng/6.2/; revision=165449
|
| |
|
|
|
|
|
|
|
| |
and amd64. The optimization is a trivial on recent machines.
Reviewed by: -arch (imp, marcel, dfr)
Notes:
svn path=/head/; revision=146734
|
| |
|
|
|
|
|
| |
error cases.
Notes:
svn path=/head/; revision=140467
|
| |
|
|
| |
Notes:
svn path=/head/; revision=140040
|
| |
|
|
| |
Notes:
svn path=/head/; revision=140039
|
| |
|
|
|
|
|
|
|
|
| |
have the card and no way to reproduce problems. We do this by
applying the workaround to firmware revsion 0.
PR: 14334
Notes:
svn path=/head/; revision=140025
|
| |
|
|
| |
Notes:
svn path=/head/; revision=139749
|
| |
|
|
|
|
|
| |
Noticed by: njl
Notes:
svn path=/head/; revision=137599
|
| |
|
|
| |
Notes:
svn path=/head/; revision=137598
|
| |
|
|
| |
Notes:
svn path=/head/; revision=135260
|
| |
|
|
|
|
|
|
| |
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
Notes:
svn path=/head/; revision=127135
|
| |
|
|
|
|
|
|
|
| |
Use this in preference to aha_name.
Remove aha_name function and #define it to device_get_unitname()
Minor indentation tweaks resulting therefrom
Notes:
svn path=/head/; revision=122597
|
| |
|
|
| |
Notes:
svn path=/head/; revision=122535
|
| |
|
|
|
|
|
| |
properly belongs.
Notes:
svn path=/head/; revision=122385
|
| |
|
|
|
|
|
| |
Also some minor whitespace nits.
Notes:
svn path=/head/; revision=122363
|
| |
|
|
| |
Notes:
svn path=/head/; revision=122362
|
| |
|
|
| |
Notes:
svn path=/head/; revision=122361
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o When we're resetting the board, make sure that we error out the pending
CCBs first. Otherwise the aha_cmd won't accept further commands, such
as those that are used to reset the card (AOP_INITIALIZE_MBOX). This
appears to cause a cascade failure where no more commands are possible
to the card.
o Reduce from 10s down to 1s the amount of time we're willing to tolerate
the card being awol. This helps the above case.
o Add some error checking to two commands issued in the probe.
I have a dim memory of gibbs@ trying to tell me about this problem a
few years ago, so pointy hat to imp@ for sitting on it so long.
Notes:
svn path=/head/; revision=122360
|
| |
|
|
| |
Notes:
svn path=/head/; revision=122359
|
| |
|
|
| |
Notes:
svn path=/head/; revision=122340
|
| |
|
|
|
|
|
| |
Also some minor style cleanups.
Notes:
svn path=/head/; revision=119418
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add two new arguments to bus_dma_tag_create(): lockfunc and lockfuncarg.
Lockfunc allows a driver to provide a function for managing its locking
semantics while using busdma. At the moment, this is used for the
asynchronous busdma_swi and callback mechanism. Two lockfunc implementations
are provided: busdma_lock_mutex() performs standard mutex operations on the
mutex that is specified from lockfuncarg. dftl_lock() is a panic
implementation and is defaulted to when NULL, NULL are passed to
bus_dma_tag_create(). The only time that NULL, NULL should ever be used is
when the driver ensures that bus_dmamap_load() will not be deferred.
Drivers that do not provide their own locking can pass
busdma_lock_mutex,&Giant args in order to preserve the former behaviour.
sparc64 and powerpc do not provide real busdma_swi functions, so this is
largely a noop on those platforms. The busdma_swi on is64 is not properly
locked yet, so warnings will be emitted on this platform when busdma
callback deferrals happen.
If anyone gets panics or warnings from dflt_lock() being called, please
let me know right away.
Reviewed by: tmm, gibbs
Notes:
svn path=/head/; revision=117126
|
| |
|
|
|
|
|
|
|
|
|
| |
BUS_DMASYNC_ definitions remain as before. The does not change the ABI,
and reverts the API to be a bit more compatible and flexible. This has
survived a full 'make universe'.
Approved by: re (bmah)
Notes:
svn path=/head/; revision=115343
|
| |
|
|
|
|
|
| |
to bus_dmasync_op_t in my last commit.
Notes:
svn path=/head/; revision=113350
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112782
|
| |
|
|
|
|
|
| |
Submitted by: Hiten Pandya <hiten@unixdaemons.com>
Notes:
svn path=/head/; revision=110232
|
| |
|
|
|
|
|
| |
especially in troff files.
Notes:
svn path=/head/; revision=108533
|
| |
|
|
|
|
|
|
| |
pointer arithmetic. Detour via uintptr_t, since we're generating an
offset not dereferencing them.
Notes:
svn path=/head/; revision=104713
|
| |
|
|
|
|
|
|
| |
'int nsegments' argument to bus_dma_tag_create(). ~0ul does not fit in
an int on machines with 64 bit longs.
Notes:
svn path=/head/; revision=104710
|
| |
|
|
|
|
|
| |
again.
Notes:
svn path=/head/; revision=97208
|
| |
|
|
|
|
|
|
|
|
| |
I could find. I have no doubt missed a couple.
Interrupt entropy harvesting is still conditional on the
kern.random.sys.harvest_interrupt sysctl.
Notes:
svn path=/head/; revision=73280
|
| |
|
|
|
|
|
|
|
|
|
|
| |
except for setting it. Also remove count from aha and replace it with
optional.
Also add commented out pccard lines for all the old card drivers.
They have to be commented out until they are converted because it
causes problems in NEWCARD.
Notes:
svn path=/head/; revision=72013
|
| |
|
|
| |
Notes:
svn path=/head/; revision=69963
|
| |
|
|
|
|
|
|
|
| |
Submitted by: josh@zipperup.org
Submitted by: Robert Drehmel <robd@gmx.net>
Approved by: imp
Notes:
svn path=/head/; revision=67897
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67164
|
| |
|
|
|
|
|
|
|
| |
PR: 18588
Submitted by: Anatoly Vorobey <mellon@pobox.com>
Reviewed by: asmodai
Notes:
svn path=/head/; revision=61686
|
| |
|
|
|
|
|
|
|
| |
It was not discussed and should probably not happen.
Requested by: msmith and others
Notes:
svn path=/head/; revision=60938
|
| |
|
|
|
|
|
|
|
|
|
| |
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
Notes:
svn path=/head/; revision=60833
|
| |
|
|
|
|
|
|
| |
Due to some interesting cpp tricks in lockmgr, the LINT kernel shrinks
by 924 bytes.
Notes:
svn path=/head/; revision=59368
|
| |
|
|
| |
Notes:
svn path=/head/; revision=58544
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Cut out the probed stuff. We no longer need it since newbus implicitly
checks for this (likely bt can be changed as well in this way).
o Add preliminary support for unload. Untested because aha doesn't yet
support identify and there are some interactions with PnP that I've
not yet worked out.
With this I can boot the AHA-1542CP FW F.0. All the aha resources
appear to be picked up via pnp now.
Notes:
svn path=/head/; revision=56504
|
| |
|
|
| |
Notes:
svn path=/head/; revision=52477
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
resource_list_release. This removes the dependancy on the
layout of ivars.
* Move set_resource, get_resource and delete_resource from
isa_if.m to bus_if.m.
* Simplify driver code by providing wrappers to those methods:
bus_set_resource(dev, type, rid, start, count);
bus_get_resource(dev, type, rid, startp, countp);
bus_get_resource_start(dev, type, rid);
bus_get_resource_count(dev, type, rid);
bus_delete_resource(dev, type, rid);
* Delete isa_get_rsrc and use bus_get_resource_start instead.
* Fix a stupid typo in isa_alloc_resource reported by Takahashi
Yoshihiro <nyan@FreeBSD.org>.
* Print a diagnostic message if we can't assign resources to a PnP
device.
* Change device_print_prettyname() so that it doesn't print
"(no driver assigned)-1" for anonymous devices.
Notes:
svn path=/head/; revision=52174
|
| |
|
|
| |
Notes:
svn path=/head/; revision=52133
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add debuging for all failure cases in aha_cmd().
Always check DATAIN_REG_READY even if we're ready to exit the
read loop.
The last fix allows the AHA-1640 MCA SCSI adapter to operate
correctly and likely fixes problems on a few other oddball
adapters. (I suspect my Dell Drive Array in 1540 mode needs this.)
Reviewed by: Warner Losh
Notes:
svn path=/head/; revision=51869
|
| |
|
|
|
|
|
|
|
| |
The changes to sys/dev/aha/aha.c that allow these
cards to function properly will be here in a day
or 2.
Notes:
svn path=/head/; revision=51829
|
| |
|
|
|
|
|
|
|
| |
I386_BUS_SPACE_IO. Compiles now on the Alpha, but likely will not
work due to bus space address <-> virtual address mapping bogons that
work for i386 but not alpha.
Notes:
svn path=/head/; revision=51765
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
work. Be more verbose when one cannot allocate IRQ, et al since this
is a common configuration problem. The cards have the IRQ soft wired
into their BIOS and do not try to do collision detection. This can
cause problems when this IRQ is the same as another card/device.
The PNP hasn't been tested. My PNP board is in a deployed system.
I'll sneak in testing of it sometime later. I've been able to mount
the 3.3R cdrom that arrived today and access files off it.
Submitted by: dfr
Notes:
svn path=/head/; revision=51738
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50861
|
| |
|
|
|
|
|
| |
be here though.
Notes:
svn path=/head/; revision=50789
|