oster
1b0ab96194
Introduce and use RF_DEBUG_QUEUE (for debugging the various queueing
...
types available in RAIDframe).
2002-09-17 03:43:34 +00:00
oster
aad979b7eb
Cast the RF_DEBUG_RECON net a little wider.
2002-09-17 03:30:33 +00:00
oster
1b1653573f
Rename RF_DEBUG_RECONBUFFER to RF_DEBUG_RECON in order to facilitate
...
disabling other stuff without having to introduce another #define.
2002-09-17 03:21:40 +00:00
oster
fe703e624d
Were these functions actually called by anything, I might have considered
...
keeping them...
2002-09-17 03:11:41 +00:00
oster
5dced80d48
Use RF_DEBUG_DISKQUEUE to eliminate more debuggin printfs that the
...
vast majority of the world will never see much less care about.
2002-09-17 02:55:12 +00:00
oster
e8ffb40a0e
Those of us who might be interested in debugging internal memory usage
...
of RAIDframe can use RF_DEBUG_MEM. I suspsect the rest of the world would
rather use that 14K of kernel memory for something else.
2002-09-16 23:40:57 +00:00
oster
763ac2f8fe
Assign a value to recon_buffer_size in a different way so that the
...
compiler doesn't complain when we change what RF_Free looks like.
2002-09-16 23:37:18 +00:00
petrov
dc81a805ea
Use driver reset in case 'internal state mismatch'.
2002-09-16 21:49:15 +00:00
gmcgarry
24faaecc3a
Implement CPU locks. Untested.
2002-09-16 21:01:31 +00:00
manu
e77de5cb68
Initial APM support (enough to get battery level)
2002-09-16 19:52:52 +00:00
manu
eee61c81f0
Fix a config mistake for wsmouse
2002-09-16 19:50:27 +00:00
tron
377e179dcb
Use "const" for all input parameters of ethers(3) functions.
2002-09-16 19:25:30 +00:00
mycroft
e9e73c9a7d
Force GPSR to 0 before a blit, so my text doesn't get shifted to the right...
2002-09-16 17:12:07 +00:00
thorpej
2699791533
Do not #include "/usr/include/arpa/tftp.h" directly. Doing so is
...
VERY BAD for cross-compiling.
2002-09-16 16:53:45 +00:00
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
gmcgarry
9fdf5b4b9e
Implement CPU spinlocks. Compile-tested only.
2002-09-16 09:12:50 +00:00
gmcgarry
a2e5c0f036
Bring down from nathanw_sa branch.
2002-09-16 07:00:43 +00:00
martin
062ee8dd14
p->p_sigacts -> p->p_sigctx
2002-09-16 03:41:40 +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
chs
2df384b428
fix printf format string.
2002-09-16 02:12:30 +00:00
chs
5a93abd050
fix the FIRMWORKSBUGS case: ofwr_init() substitutes a wrapper OFW entry point
...
for the real one, so we must call it before we save off the entry point
that the higher level code will use.
2002-09-16 02:07:24 +00:00
thorpej
2d655f566e
In bpf_setdlt(), preserve the promiscuous mode setting of the
...
descriptor.
From David Young <dyoung@ojctech.com>, slight change by me.
2002-09-15 23:44:12 +00:00
oster
8c2b691d7a
Release our hold on raidPtr if we're going to sleep.
2002-09-15 23:40:40 +00:00
thorpej
4c3ae4bbc8
Add new ioctls:
...
* SIOCS80211CHANNEL, SIOCG80211CHANNEL -- set/get the 802.11 channel.
* SIOCS80211BSSID, SIOCG80211BSSID -- set desired/get current BSSID.
From David Young <dyoung@ojctech.com>.
2002-09-15 23:27:08 +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
skrll
1f4f5626a4
Fix typos in comment.
2002-09-15 20:11:55 +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
9672ac098f
add a new km flag UVM_KMF_CANFAIL, which causes uvm_km_kmemalloc() to
...
return failure if swap is full and there are no free physical pages.
have malloc() use this flag if M_CANFAIL is passed to it.
use M_CANFAIL to allow amap_extend() to fail when memory is scarce.
this should prevent most of the remaining hangs in low-memory situations.
2002-09-15 16:54:26 +00:00
tsutsui
a4c0983618
Fix devsw_name2blk() to return the correct device name for devname arg.
...
Ok'ed by gehenna.
2002-09-15 14:29:01 +00:00
bjh21
325b2641c5
Cleanup: Remove no-longer-accurate comment, un-__P, ANSIfy, __KERNEL_RCSID,
...
other light KNF.
2002-09-15 11:27:47 +00:00
bjh21
166f9fdf01
Allocate channel structures as part of the softc rather than malloc'ing them
...
at run time. This simplifies the code and avoids problems with uninitialised
variables, and if it's good enough for pciide(4), it's good enough for me.
Also normalise the prefix for channel-specific messages.
2002-09-15 11:00:11 +00:00
itojun
d694b45f9d
remove extra blank line
2002-09-15 01:18:59 +00:00
thorpej
3479cf6ba9
Protect "struct uvm" with _KERNEL.
2002-09-15 01:01:32 +00:00
chs
73e5c26ec7
pick up a fix from openbsd:
...
revision 1.33
date: 2002/07/24 23:32:11; author: nordin; state: Exp; lines: +3 -3
Use sizeof(array) instead of sizeof(array *) for bcopy length. ok deraadt@
2002-09-14 21:45:16 +00:00
chs
0e83d71253
print a stack trace in the "spinout" case too.
2002-09-14 21:42:42 +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
bjh21
9da7134dd1
On ARCIN v6 cards, clear the EPROM page latch on shutdown. This seems to be
...
necessary to allow the card to be detected afterwards. In theory, this
shouldn't be necessary, since we don't touch the page latch yet, but I'm not
going to argue.
2002-09-14 18:12:16 +00:00