Commit Graph

13560 Commits

Author SHA1 Message Date
mycroft
05d15857f0 Copy forwards even when moving to the right, if the regions do not overlap. 2002-09-16 16:40:57 +00:00
mycroft
6db8861212 Simplify the blitting code slightly, and fix fenceposts. 2002-09-16 16:33:13 +00:00
oster
55b509f490 Cleanup some comments. 2002-09-16 02:48:34 +00:00
oster
969c6e9caf 'char *arrived' was such a nice variable. Too bad all we ever did
with it was malloc/free space for it. *poof*
2002-09-16 02:39:42 +00:00
oster
4511efdca0 rf_CheckFloatingRbufCount() is only really useful when debugging the
reconstruct buffer stuff.  #if it out in the general case.
2002-09-16 02:35:17 +00:00
oster
549b1bde93 Cleanup some printf's, and disable some (debugging) output. 2002-09-16 02:25:08 +00:00
oster
8c2b691d7a Release our hold on raidPtr if we're going to sleep. 2002-09-15 23:40:40 +00:00
oster
201928d9fa Nuke unlockingOp -- it was only used for the userland version of the
code.
2002-09-15 21:34:03 +00:00
oster
7193ba8687 Remove a couple of unneeded structure members. 2002-09-15 21:31:11 +00:00
oster
207409a242 'buf2' is unused. Nuke it. 2002-09-15 21:19:50 +00:00
oster
be70d191af General cleanup of a mess. No functional changes. 2002-09-15 21:04:35 +00:00
bouyer
f30ddf1a29 Fix typo in comment. From Alexander Yurchenko <grange@rt.mipt.ru> 2002-09-15 20:27:09 +00:00
oster
b51d271e17 Nuke 'numPending' from the RF_RaidAccessDesc_s structure, and minor cleanup. 2002-09-15 19:25:07 +00:00
bouyer
7ccb421b1d Regen: add ACCTON EN2216. 2002-09-15 17:44:33 +00:00
bouyer
2f6aa3ef83 Add ACCTON EN2216-PCMCIA-ETHERNET (there seems to be different variants of
the ACCTON EN2216) to pcmciadevs, and support this adapter by if_ne_pcmcia.
Tested by Rémi Zara <remi_zara@mac.com>.
2002-09-15 17:43:48 +00:00
yamt
82de657077 make AcpiOsStall always delay instead of sleep.
sleeping isn't safe because sometimes it's called with interrupt-disabled.
ok'ed by thorpej.
2002-09-15 17:04:12 +00:00
chs
f0beff44d2 recognize HP ScanJet 4c.
add a catch-all case for other HP scanners.
remove a local version of atoi() in favor of strtoul() from libkern.
2002-09-14 21:41:24 +00:00
oster
7266276fb2 Add a local #define, and disable some debugging stuff. 2002-09-14 18:37:28 +00:00
oster
4499412f1a Minor formatting cleanup, and nuke unused stuff. 2002-09-14 18:17:52 +00:00
oster
f41ac02382 rf_FlushAccessTraceBuf goes bye-bye. 2002-09-14 18:07:31 +00:00
oster
a2b9142871 Everyone and their dog was using RF_ERRORMSG3 to print out the same
sort of error message, over and over again, in different files.
Rather than having the same text repeated in multiple .o files,
create a couple of little functions to do the printing, and save a
bundle of space.  Also improves readability of code.
2002-09-14 17:53:57 +00:00
oster
954775e02c Add two more debugging #defines: RF_DEBUG_RECONBUFFER and RF_DEBUG_VERIFYPARITY.
Use them to reduce kernel bloat by a little more.
2002-09-14 17:11:30 +00:00
martin
cef25316c6 Following discussion on tech-kern, nuke calls to microtime() and use
mono_time instead. We loose some precision here (depending on hz),
so bump up the reset-mouse threshold quite a bit (from >=25ms to >40ms).
2002-09-13 23:39:05 +00:00
ad
ca0ac2c78c Driver for the Sun ZX/Leo framebuffer. This would be called leo, but the
amiga port already has a driver by that name.
2002-09-13 14:03:52 +00:00
simonb
f2721c1ee4 Fix indent botch. 2002-09-13 02:16:08 +00:00
augustss
614176bdc6 No trailing , in enum (from OpenBSD). 2002-09-12 21:00:42 +00:00
tsutsui
48bddc7728 bus_dmamap_load() can't take BUS_DMA_COHERENT flag. 2002-09-12 16:01:06 +00:00
augustss
393ae71756 Make it compile. Rename a macro. 2002-09-12 06:42:54 +00:00
bouyer
2bbf86d46b Regen: add 2 acard pciide controllers. 2002-09-11 20:43:42 +00:00
bouyer
60f292630a Add 2 accard pciide controllers. From linux. 2002-09-11 20:43:07 +00:00
thorpej
b00903c834 Fix signed/unsigned comparison warnings from gcc 3.3. 2002-09-11 07:22:19 +00:00
oster
20185a3677 Amazingly enough, nothing is actually using the *_bxor3() functions.
#if 0 them.
2002-09-11 03:01:23 +00:00
oster
9dfe7eee91 Use the newly added RF_DEBUG_STRIPELOCK to effectively remove a bunch
of stuff that most of the world will never want to use.
2002-09-11 02:52:33 +00:00
oster
fc178c4727 Add a new debugging #define: RF_DEBUG_STRIPELOCK 2002-09-11 02:51:21 +00:00
oster
cdb79dd4ae Nuke unneeded #include "rf_debugprint.h" 2002-09-11 02:22:49 +00:00
nathanw
cdee09ffbb At least some versions of the M-Systems DiskOnKey also need
UMASS_QUIRK_NO_MAX_LUN.
2002-09-10 16:52:48 +00:00
oster
5965f8b92a Disallow 'reconstruct-in-place' on a component that has failed
and has already been reconstructed to a hot spare.
2002-09-09 02:44:17 +00:00
oster
23f63d631e On a 'raidctl -f' or 'raidctl -F', close the failed component.
Thanks to Grant and Matt (phone) for poking me about this.
2002-09-09 01:54:53 +00:00
isaki
4ff27b57fb Correct xfer->busy_free status in DIAGNOSTIC. 2002-09-08 07:58:14 +00:00
oster
b07b6381d5 Protect rf_PrintDAGList() in a few more places. Thanks to Monroe Williams
on current-users for the patch.
2002-09-07 23:11:46 +00:00
uwe
d7b7f858cb Regen for Integraphics Systems CyberPro 2000 and 2010. 2002-09-06 23:58:11 +00:00
uwe
5619fe21f9 Add product ids for Integraphics Systems CyberPro 2000 and 2010. 2002-09-06 23:41:56 +00:00
gehenna
77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
petrov
3962bed888 compiler warning. 2002-09-05 08:02:29 +00:00
martin
a9cd647f4d Adapt to recent sbusvar.h changes.
Use a slightly less conservative timing configuration.
2002-09-04 16:17:52 +00:00
martin
e7856d0f2a Adapt to sbusvar.h changes. 2002-09-04 16:12:23 +00:00
scw
0dbf19c561 Add a flag, SMC_FLAGS_32BIT_READ, which is settable by the bus-specific
back-end to indicate that the device always sees reads as 32-bit
transactions, even if the host does 8 or 16-bit reads.

This is necessary for the SH-5 "Cayman" on-board ethernet. The SMsC part
is behind an FPGA which maps all cpu reads to 32-bits transactions.
2002-09-04 14:54:37 +00:00
itojun
5e8477f10f correct integer overrun 2002-09-04 03:58:37 +00:00
mason
8b01de5e08 Commit with correct RCS IDs in these files - hadn't looked into them
previously to note that they reference the RCS ID in "pcmciadevs".
Hence, committed versions which incorrectly pointed back to the RCS ID
of the "pcmciadevs" that existed prior to my addition. Corrected in this
commit.
2002-09-04 02:21:09 +00:00
thorpej
467482eee8 Add support for memory-mapped PCnet-PCI chips. 2002-09-04 01:36:07 +00:00