kanaoka
bbfd611e6d
- Add (missed)"csc->cc_ih = NULL;" in com_cardbus_disable().
...
- Check "csc->cc_ih != NULL" before cardbus_intr_disestablish()
in com_cardbus_detach().
This fixed panic when the card removed.
The card is a "Xircom RealPort Cardbus Ethernet 10/100+Modem 56".
Reported & Tested by Peter Postma <peter.postma@chello.nl>
on current-users.
2004-03-11 16:34:54 +00:00
christos
29f176cc88
PR/24746: Jared Momose: The _write routine in the at24cxx eeprom driver has
...
a =/== bug.
2004-03-11 15:11:53 +00:00
kanaoka
82aab73572
Add (missed)"csc->sc_ih = NULL;" in rtk_cardbus_disable().
...
This fixed panic when card removed
after "ifconfig rtk0 up; ifconfig rtk0 down".
2004-03-11 12:19:14 +00:00
jmc
2311909a8b
Provide standard workaround for \!defined __BUS_SPACE_HAS_STREAM_METHODS
2004-03-11 05:59:33 +00:00
matt
02fd2a994a
Fixes for that only support for the 2030 can be compiled in.
2004-03-10 22:42:47 +00:00
bouyer
f0816e2b90
Enable ATA-133 for AMD8111. From Nicolas Joly in kern/24729.
...
pciide_apollo_reg.h already contains the Ultra133 timming values for amd.
2004-03-10 22:16:04 +00:00
bouyer
eefc140c02
The 1010-66 always generate AIP values on the bus, regardless of the SCNTL4
...
settings. Disable AIP completely, as this confuse pre-Ultra160 drives.
From FreeBSD.
2004-03-10 22:02:53 +00:00
bouyer
567e3c10bc
Decrease xs_retries before retrying aborted commands, and report EIO if it
...
reaches 0. Avoids looping on aborded command in some special cases.
2004-03-10 21:57:31 +00:00
bouyer
b08ad7c74c
Add the HPT370 DPLL output frequency register.
2004-03-10 21:55:21 +00:00
bouyer
6338d77271
The real value of the message is in msgin, not
...
esiop_cmd->cmd_tables->msg_in[0], so print the correct value.
2004-03-10 21:51:29 +00:00
drochner
529666a2a8
use "=" instead of "|=" on first assignment to mbuf.csum_flags
...
(probably unnecessary because zero-initialized on mget, but
cheaper anyway)
2004-03-10 18:46:10 +00:00
oster
37533dd249
Introduce RF_DEBUG_ENGINE and use it to disable a number of debugging
...
bits in rf_engine.c
2004-03-09 03:10:26 +00:00
oster
82c3abf8e3
Use RF_DEBUG_QUIESCE to #if-out some printfs that really only should
...
be seen when debugging.
2004-03-09 02:41:21 +00:00
oster
71371823e7
rf_ShutdownList() isn't returning anything useful, and doesn't need to
...
return anything. Cleanup.
Cleanup function prototypes in rf_shutdown.h
Use #if RF_DEBUG_SHUTDOWN to #if-out more code.
2004-03-09 02:15:33 +00:00
dyoung
bfe1b324c6
Fix endianness bug to make awi(4) work on macppc (and other big-endian
...
machines).
2004-03-08 06:52:44 +00:00
oster
bce42a3095
Move pss_pool to rf_pools. Will save a bit of extra memory at
...
run-time, and we can only do one reconstruction at a time anyway.
Nuke pss_issued_pool - move it to an internal structure in pss.
2004-03-08 02:25:27 +00:00
oster
8cbd53826e
A few more cleanups missed in last commit.
2004-03-08 01:59:26 +00:00
oster
acce07be62
Minor cleanup. No functional change.
2004-03-08 01:55:14 +00:00
oster
c25748c684
Rename rf_rad_pool_lock to rf_rad_lock. The latter is far more
...
accurate.
2004-03-07 23:17:44 +00:00
oster
f95359dd19
- Introduce rf_pools which contains all of the various global pools used
...
by RAIDframe. Convert all other RAIDframe global pools to use pools
defined within this new structure.
- Introduce rf_pool_init(), used for initializing a single pool in
RAIDframe. Teach each of the configuration routines to use
rf_pool_init().
- Cleanup a few pool-related comments.
- Cleanup revent initialization and #defines.
- Add a missing pool_destroy() for the reconbuffer pool.
(Saves another 1K off of an i386 GENERIC kernel, and makes
stuff a lot more readable)
2004-03-07 22:15:19 +00:00
oster
834d494bb2
- Introduce rf_pools which contains all of the various global pools used
...
by RAIDframe. Convert all other RAIDframe global pools to use pools
defined within this new structure.
- Introduce rf_pool_init(), used for initializing a single pool in
RAIDframe. Teach each of the configuration routines to use
rf_pool_init().
- Cleanup a few pool-related comments.
- Cleanup revent initialization and #defines.
- Add a missing pool_destroy() for the reconbuffer pool.
(Saves another 1K off of an i386 GENERIC kernel, and makes
stuff a lot more readable)
2004-03-07 21:57:44 +00:00
oster
c31c7c5652
Cleanup function prototypes.
2004-03-07 05:01:15 +00:00
oster
dd0716f291
We don't need 2-fault tollerant stuff here in the default case.
...
Use #if's to conditionalize the code compilation.
(Saves another 1K on i386 GENERIC kernels)
2004-03-07 02:59:25 +00:00
oster
43648c8525
Minor cleanups. No functional changes.
2004-03-07 02:49:23 +00:00
oster
d02f580adf
- fix up initialization of rf_recond_pool
...
- introduce rf_reconbuffer_pool and teach rf_MakeReconBuffer() to use it
2004-03-07 02:46:58 +00:00
oster
3f36d142d8
Re-work rf_GenerateFailedAccessASMs() to simplify things a bit.
...
rf_AllocBuffer() is available, so use it to get buffer space instead
of the previous RF_Malloc() bits. Saves a few bytes, but more
importantly makes the code much more readable.
2004-03-07 02:25:36 +00:00
oster
9e4fc614fc
Pretty up a bit of unused code.
2004-03-06 23:53:31 +00:00
oster
967b00b4ec
rf_AllocBuffer() doesn't do anything with its dag_h parameter. Nuke
...
it, and adjust callers.
2004-03-06 23:52:20 +00:00
oster
54eab15188
Sprinkle a few #if's to ignore some bits that are only used for RAID 6 or PQ stuff. Saves another 3K on i386 GENERIC.
2004-03-06 23:34:27 +00:00
oster
dc76c4b111
Minor tabbing cleanup. No functional change.
2004-03-06 22:59:42 +00:00
heinz
ebfae274fc
Use KS_KP_Separator instead of KS_KP_Decimal on German keyboards,
...
identical to what XFree86 does and consistent with what's printed
on the key caps.
2004-03-06 19:42:26 +00:00
martin
bddc2b94bb
Set BGE_JUMBO_RXRING_VALID in bge_flags when allocating jumbo ring buffers,
...
so it can be freed later. From HITOSHI Osada in PR kern/24686.
2004-03-06 17:42:43 +00:00
petrov
2f82eaf699
Check character if it in font limits before drawing it in rasops8_putchar
...
functions.
2004-03-05 08:33:53 +00:00
oster
bfeeabba13
Use RF_INCLUDE_PARITY_DECLUSTERING_DS to #if-out more unneeded bits.
...
(We can't do RF_DISTRIBUTE_SPARE bits without the parity declustering stuff.)
2004-03-05 03:58:21 +00:00
oster
7bd09b0f2b
Introduce RF_DEBUG_DAG and use it to #if-out rf_dagDebug sections.
...
(i386 GENERIC kernel shrinks by 1.6K)
2004-03-05 03:22:05 +00:00
oster
a0413593bc
- remove the RF_*_INC's, as necessary. They are not needed any more.
...
- introduce RF_MIN_*'s, as necessary. These will indicate the
low-water mark for pools as well as the pool_prime() value.
- add pool_setlowat() for the critical pools.
- pool_prime() and pool_setlowat() the raidframe_cbufpool.
- re-order some pool_prime()'s and pool_sethiwat()'s for clarity.
2004-03-05 02:53:55 +00:00
abs
4bace323ed
Add portuguese keyboard map - from Antonio Marques in PR kern/23295
2004-03-04 19:52:52 +00:00
oster
a57d045808
Remove a comment that is no longer relevant.
2004-03-04 03:27:30 +00:00
oster
b6ec2bc708
Cleanup function prototypes.
2004-03-04 03:14:02 +00:00
oster
516b22a972
Another variable that was only ever initialized. Turf.
2004-03-04 03:02:01 +00:00
oster
5d768c003f
Cleanup function prototypes.
2004-03-04 02:55:58 +00:00
oster
708c19adaf
Fix mcpair locking issues -- we really don't need the lock held
...
the entire time we spend in calling rf_DiskIOEnqueue().
2004-03-04 02:49:58 +00:00
oster
409f2e3222
More function prototype cleanups.
2004-03-04 02:26:50 +00:00
oster
5102542bf2
Cleanup function prototype.
2004-03-04 02:25:13 +00:00
oster
65f967653e
More leftover 'row' bits now removed.
2004-03-04 01:57:54 +00:00
oster
55cb2c9a0d
Cleanup one more leftover 'row' variable. Cleanup function prototypes
...
in rf_diskqueue.h
2004-03-04 01:53:25 +00:00
oster
6e2928d6d5
resultNum isn't used anywhere. Good-bye.
2004-03-04 00:56:13 +00:00
oster
8b515e1496
rf_bwd1 and rf_bwd2 are holdovers from the "backward" error recovery.
...
Nuke them, and the little bit of code associated with them.
2004-03-04 00:54:30 +00:00
oster
2fb9f8db54
Nuke some unnecessary casts. No functional changes.
2004-03-03 17:14:46 +00:00
oster
28bd6c8ea2
Introduce RF_REVENT_READ_FAILED, RF_REVENT_WRITE_FAILED and RF_REVENT_FORCEREAD_FAILED.
...
This removes 3 more RF_PANIC()'s (but we'll currently still panic if any of these cases occur).
fix up a few printf's.
XXX: still needs more cleanup and testing (and be taught to not panic).
2004-03-03 16:59:54 +00:00