Commit Graph

7068 Commits

Author SHA1 Message Date
augustss
7b4eccb432 Use DPRINTF for debug messages. 2000-02-27 21:06:55 +00:00
augustss
739151c214 Regen. 2000-02-27 20:44:22 +00:00
augustss
741c59a303 Add the QuickShot Strikepad game-pad. 2000-02-27 20:43:53 +00:00
augustss
45b36632c0 Add code (off by default) to keep track of the signal strength of the last
few packets received from different MAC addresses.
2000-02-27 20:40:42 +00:00
mycroft
61cc77895b Some minor cleanup to the probe code. 2000-02-27 20:01:05 +00:00
uch
20e5cfa32f Billionton Systems Inc. LNT-10TN card. 2000-02-27 11:15:47 +00:00
uch
d386caeaec regen. 2000-02-27 11:14:43 +00:00
uch
663c327808 Add Billionton Systems Inc. LNT-10TN NE2000 Compatible card. 2000-02-27 11:14:03 +00:00
mycroft
9a06ea04a2 Fix the same race condition while initializing the socket. 2000-02-27 03:25:03 +00:00
mycroft
7794bfe183 Reorder the usage of intr_establish/intr_disestablish with respect to setting
the CSC_INTR register, to insure that the IRQ is not left floating and enabled
at any point.  Eliminates stray interrupts during the IRQ probe.
2000-02-27 03:08:00 +00:00
oster
8c46e74418 Nuke some debugging output that got left in by mistake. 2000-02-27 02:35:33 +00:00
oster
82419f5ae9 Only mark the components as CLEAN if it's the last thing we're doing.
Marking them CLEAN earlier is (currently) asking for trouble.
(XXX This could have been done more elegantly.)
2000-02-27 01:50:22 +00:00
mycroft
a3ae8af043 Allow a flag to be set to force polling for socket events. 2000-02-27 00:14:27 +00:00
uch
16c31080a5 IT8368E legacy mode requires mode change between I/O access and
attribute memory access. XXX
2000-02-26 19:02:22 +00:00
oster
d9c47013b2 Defopt 'RAID_AUTOCONFIG'. Adding 'options RAID_AUTOCONFIG' turns on
the component auto-detection and auto-configuration of RAID sets.
Also, add "#options RAID_AUTOCONFIG" to the GENERIC config files.
2000-02-26 17:35:33 +00:00
thorpej
6f1701b01c Put a lock on the pcic, to serialize access to the chip during event
handling.  This is important when multiple cards are present when
the system boots, as we use tsleep now instead of delay in various
places (delay used to provide serialization by virtue of not causing
a context switch).
2000-02-26 17:24:44 +00:00
itojun
beecfd4814 cnw is 8bit-only card. map memory region as 8bit only.
(there are so many 8bit-only card fixes.  don't we have some hint on cis tuple?)
From: feico
2000-02-26 05:34:43 +00:00
thorpej
52169104c5 Fill in the softc's bus space tag (OOPS!). 2000-02-26 05:11:27 +00:00
mycroft
78171a3a3e I told them not to use IST_LEVEL here. Now PCMCIA works on my AS200. *sigh* 2000-02-25 20:48:22 +00:00
mycroft
49f1a84ad6 Be even more careful about cleaning up the socket at boot time.
Also, nuke the windows when the socket is disabled.  (They might be deallocated
and reallocated, and would thus cause a conflict.)
2000-02-25 20:45:43 +00:00
oster
caa3932441 Minor cleanups. Remove extra debugging printouts. 2000-02-25 20:11:00 +00:00
oster
21243f6205 - ignore the mod_counter when checking to see if a component fits with the
rest of an autoconfig set.
- minor cleanups
2000-02-25 19:56:56 +00:00
oster
503220a18f - ignore components whose mod_counter values are too low.
- noting the mod_counter for autoconfigured sets would be a win too.
2000-02-25 19:56:32 +00:00
drochner
7da6407d04 add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter
2000-02-25 18:22:39 +00:00
mycroft
2fd2b78c1f Only call the cursor method when the cursor state is actually changing.
This avoid corrupting VGA displays in text mode (e.g. the first character
of the prompt when you exit vi).
2000-02-25 17:42:51 +00:00
oster
8d63540a8c When we close autoconfigured components, we need to note that they
are no longer in 'autoconfigured' status.
2000-02-25 17:14:18 +00:00
drochner
469464d4c8 add forward declaration of "struct extent", so the extent header doesn't
need to be included
2000-02-25 10:33:12 +00:00
mycroft
7dbe5be481 Disable all windows at boot time, to avoid conflicts when reading the CIS.
Also, GC a small bit of code that's inaccesible after the previous change.
2000-02-25 05:26:17 +00:00
mycroft
ac4c520f05 If we fail to attach the socket driver, clear PCIC_FLAG_SOCKETP so that we
don't try to use the socket any further.  (This will only happen if the user
explicitly unconfigured some of the sockets.)
2000-02-25 04:24:37 +00:00
itojun
1ccb9e8170 when change mbuf type, clear m_pkthdr so that we do not get panic with
old data in pointer fields.  NOTE: we'll extend m_pkthdr field soon.

Wondering: do mbuf pre-allocation code in elink3.c really buy us much
performance?  it comes with code duplicate/synchronization problem with
sys/mbuf.h...
2000-02-25 03:39:13 +00:00
oster
a4f7f062fd - cleanup raidinit()
- cleanup rf_mountroot_hooks()
- various other cleanups.
2000-02-25 02:42:30 +00:00
oster
5716b5d6d1 Be *slightly* more consistent about the use of num and numraid in raidattach(). 2000-02-25 02:21:12 +00:00
groo
f5f2ad429c Initial import of National Semiconductor LM7[89] Hardware Monitor with isa and
pnpbios attach.

examples:

	lm0 at pnpbios0 index?
	lm0 at isa? port 0x290


TODO: spinlocks, i2c interface.
2000-02-25 02:17:43 +00:00
oster
e4e4483cb7 Fix a (slightly) bogus status message. 2000-02-25 02:06:34 +00:00
ad
c86b7572f9 Cosmetic change. 2000-02-25 00:23:57 +00:00
oster
bdd659fc7f Deal with unconfiguring components in the autoconfigure case. 2000-02-24 23:39:21 +00:00
ad
28fc2b2ee8 Add a DPT ISA HBA frontend, tested lightly with a PM2021A/9X. There are some
issues.
2000-02-24 18:49:06 +00:00
ad
50062f0914 - Don't use bitfields.
- Cosmetic changes.
- Shut down all HBAs "simultaneously", not individually.
- Don't bother grokking HA_ST_MORE. It causes problems.
- Other bits and pieces.
2000-02-24 18:47:55 +00:00
oster
aea97a5a17 Oops... Missed commmitting this last night. Thanks to Matthias Scheler
for letting me know.
(Add the DiskQueueSW pointer)
2000-02-24 17:12:10 +00:00
oster
e644abfe94 Make sure we close auto-configured components appropriately when
attempting a rebuild-in-place.
2000-02-24 04:39:41 +00:00
oster
c5961cfba3 Garbage collect some unused stuff. Include rf_kintf.h for a
function prototype.
2000-02-24 03:52:15 +00:00
oster
851a2cdcd8 - record the pointer to the DiskQueueSW so we can use that when
we hot-add a spare.
- use the above info when adding a spare.
2000-02-24 03:48:41 +00:00
itohy
5ed29fa2d6 Delete a superfluous newline in attach message. 2000-02-24 03:42:44 +00:00
oster
9e81bc058e Now that we have the information available, use the general maxOutstanding
value for the RAID set, rather than looking at Queue[0][0] (which may not
exist).
2000-02-24 02:55:05 +00:00
oster
99f070bab8 - mod_counter needs to get incremented more often.
- use raid_init_component_labels instead of hand-rolling a component_label.
(missed doing this for the rf_used_spare case when updating component labels).
- fix serial number initialization in raid_init_component_labels
2000-02-24 01:23:05 +00:00
oster
fb13ce76fc - make sure we note the parity status in the autoconfig case.
- also, make sure we grab the serial number from the component labels
when we autoconfig.
2000-02-24 01:22:32 +00:00
soren
df1f794536 Reflect version 1.13 of i82365_isa.c. Untested. 2000-02-23 17:22:11 +00:00
fair
7f8cdf038f Fix a missing closing parenthesis in an error diagnostic 2000-02-23 08:31:25 +00:00
haya
d94804a788 Pccbb maintains the interrupt handlers for 16-bit PC Cards
by itself.
Add some comments.
2000-02-23 07:28:54 +00:00
oster
d91ecfbcfd Be more aggressive about updating component labels in the event
of a real component failure (or a simulated failure):
- add 'numNewFailures' to keep track of the number of disk failures
since mod_counter was last updated for each component label.
- make sure we call rf_update_component_labels() upon any component failure,
real or simulated.
2000-02-23 03:44:02 +00:00