| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- Fix memory leak in detaching.
- Initialize fc->status to other than FWBUSREST.
* fwohci.c
- Ignore BUS reset events while BUS reset phase. We can't clear that flag
during bus reset phase.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
UltraSPARCs, and an eeprom attachment for fhc, which allows the date
to be set properly on these machines. Central is a wierd bus which
seems to only ever have 1 fhc attached to it. FHC (FireHose Controller)
is another wierd bus with various things on it depending where its attached.
The fhc attached to central has eeprom and zs, and the fhcs which attach
directly to nexus have simm-status, environment and other nodes, none of
which I'll probably ever have documentation for.
Thanks to Ade Lovett for providing access to an 8 cpu e4500.
|
|
|
|
| |
Noted by: Kasper Steensgaard <steensgaard@person.dk>
|
|
|
|
|
| |
Submitted by: Harti Brandt <brandt@fokus.fraunhofer.de>
MFC after: 1 day
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#if'ed out for a while. Complete the deed and tidy up some other bits.
We need to be able to call this stuff from outer edges of interrupt
handlers for devices that have the ISR bits in pci config space. Making
the bios code mpsafe was just too hairy. We had also stubbed it out some
time ago due to there simply being too much brokenness in too many systems.
This adds a leaf lock so that it is safe to use pci_read_config() and
pci_write_config() from interrupt handlers. We still will use pcibios
to do interrupt routing if there is no acpi.. [yes, I tested this]
Briefly glanced at by: imp
|
| |
|
|
|
|
|
|
|
|
| |
is encoded in the PCI BAR. The latter is more reliable.
This allows the sio/modem function of the Xircom RealPort ethernet+modem
card to work. Note that there still seem to be issues with sio_pci not
releasing resources on detach.
|
|
|
|
|
|
|
|
|
| |
pci busses implement this.
Also minor comment smithing in cardbus. Fix copyright to this year
with my name on it since I've been doing a lot to this file.
Reviewed by: jhb
|
|
|
|
|
|
| |
into the source.
Reviewed by: ambrisko
|
| |
|
| |
|
|
|
|
|
|
|
| |
on the fly and read into userland one at a time, this costs very
little total memory. The pnpinfo sizes of pccard is more than 64
bytes due to the length of the strings that man cards have in their
CIS.
|
| |
|
|
|
|
| |
I think it is a better place to handle it.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't initiate bus reset even if probe failed for some nodes to prevent
infinite bus reset loop.
Problem Reported by: Pierre Beyssac <pb@fasterix.frmug.org>
- Protect timeout routine with splfw() for 4-stable.
* sbp.c
- Make sure to release devq when start request.
|
|
|
|
|
|
| |
Submitted by: Roman Kurakin <rik@cronyx.ru>
Reviewed by: joerg
MFC after: 5 days
|
|
|
|
|
|
|
|
|
|
|
|
| |
cr_uid.
Note: we do not have socheckuid() in RELENG_4, ip_fw2.c uses its
own macro for a similar purpose that is why ipfw2 in RELENG_4 processes
uid rules correctly. I will MFC the diff for code consistency.
Reported by: Oleg Baranov <ol@csa.ru>
Reviewed by: luigi
MFC after: 1 month
|
| |
|
|
|
|
|
|
| |
sched_lock around accesses to p_stats->p_timer[] to avoid a potential
race with hardclock. getitimer(), setitimer() and the realitexpire()
callout are now Giant-free.
|
|
|
|
|
|
|
|
| |
add a signal to a mailbox's pending set.
- Add a new function, thread_signal_upcall(), this causes the current thread
to upcall so that we can deliver pending signals.
Reviewed by: mini
|
|
|
|
|
|
|
|
| |
I was in two minds as to where to put them in the first case..
I should have listenned to the other mind.
Submitted by: parts by davidxu@
Reviewed by: jeff@ mini@
|
| |
|
|
|
|
|
| |
o Spontaneous deferral (A feature required by dutch railways :-)
o 16-byte atomic operations (ld, st, cmpxchg)
|
|
|
|
|
|
|
| |
soon be visible only to schedulers. This greatly simplifies much the
KSE code.
Submitted by: davidxu
|
|
|
|
|
|
| |
depends on.
Pointy hat to: imp (anybody know if these things are accepted at Eco-Cycle?)
|
|
|
|
|
|
|
| |
the proc. These counters are only examined through calcru.
Submitted by: davidxu
Tested on: x86, alpha, UP/SMP
|
|
|
|
|
|
|
| |
vm page startup code finds a 20GB cluster on this wacky alphaserver I'm
working on..
MFC After: 7 days
|
|
|
|
| |
will not have a dev_t.
|
|
|
|
|
|
|
|
|
|
|
| |
Wearing said pointy hat, correct the oversight and hope nobody
notices.
# this should make xircom modems happier to detach once other bugs with
# the cardbus layer are fixed.
Noticed by: scottl
Conical Hat to: imp
|
| |
|
|
|
|
|
|
|
| |
make certain to subtract its pages from physmem. Otherwise we end up
running phys_avail_cnt negative, and bad stuff happens.
MFC After: 1 week
|
|
|
|
| |
Pointed out by: fjoe
|
| |
|
|
|
|
| |
Put a #warning here to alert people to the fact.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
queue lock already held.
- In getblk() and flushbufqueues() use bremfreel() while we still have the
buf queue lock held to keep the lists consistent.
- Add LK_NOWAIT to two cases where we're essentially asserting that the bufs
are not locked while acquiring the locks. This will make sure that we get
the appropriate panic() and not another one for sleeping with a lock held.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|