elric
fec44d6f55
Header for a generic RAMDAC that can be reused between different
...
graphics cards.
2000-03-04 10:23:39 +00:00
oster
1231bd6d14
Umm... don't allow attempts to configure the same RAID device multiple times.
...
The check was there, but the return() was missing :(
2000-03-04 06:03:21 +00:00
mhitch
3b06f6f887
Fix boot device detection. Device probes are not done when adapters are
...
configured, but after all adapters have been configured. When multiple
adapters are present, only the last configured adapter could be matched
to the boot device slot. The adapter attach routines now check if that
adapter slot matches the boot device slot and saves the softc pointer
for that controller. Then when the disks are configured, dk_establish()
matches the appropriate controller.
2000-03-04 05:43:51 +00:00
oster
0049933f0f
Reorganize some comments.
2000-03-04 04:22:34 +00:00
oster
194aba4e41
Garbage collect the (already disabled) "random" queue type.
2000-03-04 03:27:13 +00:00
oster
612e2e8f92
Nuke an unneeded #define.
2000-03-04 03:22:17 +00:00
is
d8bf2eb8ef
- we didn't write enable toe config1-3 registers before trying to set the
...
media.
- read out original settings to find out what the defaults (EEPROM) for this
board were, instad of hardwiring to auto.
XXX the first might need further refinement. At least on my boards, 10baseT
doesn't work for 10baseT, only AUTO.
2000-03-03 21:37:18 +00:00
oster
88a8d06a0b
Use the common disk allocation code, rather doing things the old way.
2000-03-03 03:47:17 +00:00
oster
142175b1a1
Minor formatting cleanup.
2000-03-03 03:10:03 +00:00
oster
7b1139520e
More minor cleanup.
2000-03-03 02:04:48 +00:00
oster
87f46374bb
Minor cleanup. No functional changes.
2000-03-03 01:46:36 +00:00
augustss
2dda67d4a2
Fix typo in argument to ratecheck().
2000-03-02 15:49:29 +00:00
augustss
d6c4ac7ff2
Use ratecheck() to limit error messages on disconnect.
...
Break out some common functionality.
2000-03-02 12:37:50 +00:00
enami
e924f6f853
Minor cleanups.
2000-03-02 10:29:22 +00:00
enami
48721f291a
Fix typo and thinko in previous commit.
2000-03-02 05:54:22 +00:00
enami
027db8bf87
Add ifmedia support so that dhcp happy. Also, add nwid support.
2000-03-02 05:00:47 +00:00
enami
a5921b902e
Check if device is active in the interrupt handler and the one second
...
tick handler.
2000-03-02 01:21:56 +00:00
thorpej
285a315e99
Simplify the winlist code.
2000-03-01 23:40:26 +00:00
thorpej
ac1b683642
Amend previous; pay attention to EX_CONF_MII on deactivate, too.
2000-03-01 20:53:11 +00:00
thorpej
448dfa4249
Only detach PHYs if we have MII in the first place, and remove a bunch
...
of #if 0'd code which was copied from the Tulip driver.
2000-03-01 20:51:50 +00:00
thorpej
54e0e80815
Cosmetic change.
2000-03-01 20:50:56 +00:00
thorpej
08483fcddc
When unmapping these on detach, pass the BAR to unmap (not the type of
...
the BAR!!)
2000-03-01 20:50:37 +00:00
augustss
3218dd992d
Protect the use of bpf_mtap so bpf isn't needed.
...
aue: Limit the number of error messages at disconnect by using ratecheck().
2000-03-01 19:00:51 +00:00
augustss
ba4e755a9c
Change the cmd argument in {audio,mixer}_ioctl() to u_long.
2000-03-01 00:44:35 +00:00
augustss
7d05674ba7
Distinguish between device and interface classes.
...
(I finally found a document that said that they were different.)
2000-02-29 21:37:00 +00:00
hubertf
a6a5be8ccf
This driver also handles the 3COM 3COM HomeConnect Ethernet USB Adapter
...
(3C460), rev 1.00/2.05
2000-02-29 19:08:09 +00:00
hubertf
b95fbdaeb7
Regen
2000-02-29 19:07:33 +00:00
hubertf
eff003f7ce
add product ID for 3COM 3COM HomeConnect Ethernet USB Adapter (3C460),
...
rev 1.00/2.05
2000-02-29 19:06:40 +00:00
oster
8cde772948
Oops.. Need to note the parity status when we unconfigure.
...
Noted by Aaron J. Grier. (Thanks!)
2000-02-29 16:54:29 +00:00
ad
c09a9a072f
Oops, pasto.
2000-02-29 11:14:46 +00:00
thorpej
d788e0dbad
Make sure to initialize xs->req_sense_length (to 0). This appears to be
...
a historical leftover, and very few drivers actually look at it. But the
PCI `ncr' driver does, and if this field is not initialized to its default
value, that driver will fall over flat on its face when it attempts to get
sense data from a target.
2000-02-28 17:44:20 +00:00
takemura
32817a3257
WSMOUSE_SCALIBCOORDS had not worked because ioctrl code was wrong.
2000-02-28 12:34:31 +00:00
joda
c627d45cc3
(fxp_init): don't clear the FXPF_MII flag as this results in a panic
...
when detaching
2000-02-28 10:16:17 +00:00
jdolecek
86ae2ab1fc
Add ADEV_NOSENSE quirk for HITACHI CDR-7730.
...
Patch sent by Hume Smith in kern/9489.
2000-02-28 09:46:25 +00:00
mycroft
a87f80ad5f
Give the VPP bits better names.
2000-02-28 07:33:08 +00:00
mycroft
17f933f6ce
Add missing break that hosed multicast.
2000-02-28 06:44:52 +00:00
enami
d2b929f576
Fix naming think-o.
2000-02-28 05:30:19 +00:00
enami
8841a11f4d
- Disestablish an interrupt if failed to enable the card.
...
- If card isn't enabled, just set given information into softc. Addresses
PR#9457.
- Some cleanups and cosmetic changes.
2000-02-27 23:10:51 +00:00
enami
71df610aeb
Remove no longer necessary workaround for hpcmips.
2000-02-27 22:57:20 +00:00
augustss
10d9610df8
Make this driver actually work in NetBSD. From Castor Fu <castor@geocast.com>
2000-02-27 22:15:24 +00:00
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
oster
e7f3dc2ec9
blockSize for the component label is already set correctly here.
2000-02-23 02:11:05 +00:00
oster
0c43bf18f0
- cleanup of more component label code
...
- make current default label values available everywhere
- make sure numBlocks and blockSize in component labels get initialized
for all component labels
- check for component size to be smaller than or equal to the partition size
when autoconfiguring
2000-02-23 02:04:21 +00:00
oster
6aaac32240
Do a better job of (re)initializing the component labels after
...
a reconstruct or a copyback.
2000-02-23 02:03:03 +00:00
oster
d84e4ed019
Make a note of autoconfigured components.
2000-02-23 02:01:55 +00:00
oster
e0ab2f3d0f
Correct a comment.
2000-02-23 00:37:11 +00:00
oster
214822e08c
Note the fact that the first arg of raidinit() may be bogus in
...
the autoconfig case (the value of the first arg never gets used, but...).
2000-02-22 23:13:15 +00:00
augustss
9651e60835
Fix typos in my last commit that caused the driver to panic.
...
Change some (unrelated) debug messages.
2000-02-22 22:59:49 +00:00
enami
347823e807
Include dev/isa/isavar.h so that this file compiles again.
2000-02-22 22:46:16 +00:00
chopps
dcfbcbec76
remove bogus debug (was reading unmapped CCR)
2000-02-22 21:29:36 +00:00
tls
08ef0cfe07
revert previous change
2000-02-22 21:09:50 +00:00
mjacob
64fa8aa0d6
remove SES driver
2000-02-22 17:43:57 +00:00
oster
e8ff7f6155
Bounds-check the 'last unit' a little more closely.
2000-02-22 16:07:02 +00:00
thorpej
3f9cf7572c
Don't use void * for chipset tags. Bad hacker, no biscuit.
2000-02-22 16:04:44 +00:00
augustss
009856b631
Save and restore a couple ofregisters in the power hook in case BIOS doesn't.
2000-02-22 16:03:42 +00:00
pk
9e16037265
Simplify the attach routine a bit.
2000-02-22 12:24:53 +00:00
pk
b4e291e818
Fix some off-by-one errors; patch from Jonathan O'Brien.
2000-02-22 12:12:21 +00:00
augustss
9056664327
Prepare a little for having USB interrupt processing done outside the hard
...
interrupt level (in a thread or a softintr).
No real soft processing done yet.
2000-02-22 11:30:54 +00:00
augustss
6cc37002ad
Fix (mostly harmless) typo.
2000-02-22 11:25:06 +00:00
augustss
2eda3cf829
Better debug info.
2000-02-22 11:24:22 +00:00
thorpej
bfaa657135
Fix printf formats on the Alpha.
2000-02-22 08:23:22 +00:00
oster
fb56415023
Add a few comments, and an indicator of whether or not an autoconfig set
...
is 'rootable'.
2000-02-22 03:39:47 +00:00
oster
bd2230fd09
- implement additional component checking before autoconfiguration
...
- make component label setting work again(!!!!)
2000-02-22 03:38:42 +00:00
enami
32f100250f
Cosmetic changes.
2000-02-22 02:38:26 +00:00
enami
b785bb47a0
Establish a powerhook and make sure the card detect interrupt is enabled
...
after resume from suspend, as i82365.c does.
This is a workaround for newer Sony VAIO notebook.
Patch is submitted by Atsushi Onoe (onoe@sm.sony.co.jp ) in PR#9463.
2000-02-22 02:35:26 +00:00
oster
afccbaa6d7
Umm.. let's set 'numraid' to something useful before we try to use it.
2000-02-21 23:33:45 +00:00
dbj
8f2d14fbd1
added wmesg argument to pcic_delay debug printout
2000-02-21 20:16:22 +00:00
mjacob
7f44584598
clen up some error messages
2000-02-21 19:18:53 +00:00
mjacob
296fbeed2a
Patches from msouth@scruz.net to handle QIC 3220 (HP T20).
2000-02-21 05:11:09 +00:00
enami
158df7b6f1
Don't establish an interrupt if attach is in progress. Anyway, current wdc
...
and its children doesn't require interrupt on attach.
2000-02-21 03:55:22 +00:00
enami
91026fe7f2
Cosmetic changes.
2000-02-21 03:26:41 +00:00
thorpej
70bbb1b84e
Sync PCMCIA memory mapping with a change from rev 1.47 of i82365.c:
...
always map attr memory 8 bit, since its defined that way. (chopps)
2000-02-21 01:44:36 +00:00
sommerfeld
3a76270201
deal with a DELAY vs. delay issue
2000-02-20 22:19:29 +00:00
mjacob
a3a129e6f5
Oops...I forgot that the GEM-2 chip is so lame that if you don't tell
...
it exactly the right amount of data to transfer for WRITE BUFFER/Global
it will stay stuck in command phase (causing a command phase overrun).
2000-02-20 21:30:44 +00:00
jdolecek
5f0b3b1510
usbd_devinfo_vp(): search the know devs array also if the device
...
doesn't return product description (e.g. Kye's Genius NetScroll
mouse returns vendor, but not product); the strings
returned by device are still preferred to those in the array, though
2000-02-20 14:45:05 +00:00
jdolecek
6b93b03665
regen
2000-02-20 14:39:28 +00:00
jdolecek
e710e0dfa1
Add Kye's Genius NetScroll mouse
...
XXX Should the name be just "NetScroll mouse" ? Kye seems to be manufacturer
XXX for the mouse licenced from Genius.
2000-02-20 14:37:48 +00:00
mjacob
1c4521f1da
add ses.h to list of includes
2000-02-20 07:39:41 +00:00
mjacob
c5f8d33f85
minor spelling change
2000-02-20 07:38:48 +00:00
enami
6779fc2bb2
Fix thinko in previous commit.
2000-02-20 03:48:40 +00:00
enami
ac75116d32
Try other config entry on i/o space alloc failure.
2000-02-20 03:18:15 +00:00
mjacob
6f13498242
correct oops on last checkin
2000-02-19 15:13:07 +00:00
mjacob
a9697ee5f2
Handle > 12 byte CDBs.
2000-02-19 01:55:42 +00:00
mjacob
717d5b1cc3
Support for > 12 byte commands for parallel SCSI.
2000-02-19 01:54:42 +00:00
mjacob
d88aecac57
Remove residual and now broken !ISP_NO_FASTPOST_SCSI code (which was
...
turning back on fast posting!). Redo fabric (re)login loop- don't try
and log out ports that haven't been logged in. Do correct target id
shuffling so we just always find the target ID we want. Add in support
for > 12 byte commands for parallel SCSI. Handle some Dual Bus reset
stuff. Finally fix ABORT COMMAND to use the right 16 bit order of the
handle to abort.
2000-02-19 01:53:56 +00:00
mjacob
ff86abe827
Cleanup some printaouts.
2000-02-19 01:51:43 +00:00
mjacob
b6dd4ddacf
Add in ISP_SWIZZLE_CONTINUATION macro.
2000-02-19 01:51:21 +00:00
mjacob
8c2e6c73e3
Handle dual bus cases for immediate notify and enable lun commands.
2000-02-19 01:50:57 +00:00
mjacob
98f7f7b5a0
Fix ITDEBUG macro
2000-02-19 01:50:25 +00:00
mjacob
77dec43b22
Clarify cd_resid tag.
2000-02-19 01:50:03 +00:00
mjacob
8405ee3752
Add in some mbox return codes that define when we've used up target
...
ids for doing fabric login. Define the 'Get All Next' SNS response
structure.
2000-02-19 01:49:47 +00:00
soren
d282f771e7
Remove redundant CIS definitions.
2000-02-18 18:55:31 +00:00
nisimura
3e02ded337
Improvement on SFB enabled copycol(); still yet under development,
...
it miserably fails on corner cases.
2000-02-18 06:51:51 +00:00
thorpej
132107ce3b
Add a whole slew of registers found in the PCnet-PCI family.
2000-02-17 20:18:29 +00:00
augustss
6fa8665eeb
Handle detach that happens before attach has finished. (Reported by mycroft.)
2000-02-17 18:42:21 +00:00
sommerfeld
50c84950f2
awi: rewrite to be higher performance.
2000-02-17 17:37:23 +00:00
augustss
1955c335af
Regen.
2000-02-17 16:30:44 +00:00
augustss
536b31a5c8
Add Sony PCGA-UMS1 mouse.
2000-02-17 16:30:11 +00:00
sommerfeld
7adb22cfa5
Add detach support.
...
Light cleanup.
2000-02-17 15:58:32 +00:00
mycroft
f7ad1af2b5
Use bpf_mtap() correctly.
2000-02-17 05:41:41 +00:00
soren
4331d2bcaa
Regen.
2000-02-16 04:29:32 +00:00
soren
021ff75015
Add Toshiba ISA bridge.
2000-02-16 04:29:20 +00:00
oster
7deba340d7
Some of these function names are bad enough that no one else would probably
...
pick them, but preface them with rf_ anyway.
2000-02-16 01:10:44 +00:00
enami
4a1320b29f
Put the entry of FNW-3700T after the entry of SVEC-PN650TX
...
so that SVEC-PN650TX errornously recognized as FNW-3700T.
Pointed out by Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2000-02-14 23:13:49 +00:00
augustss
b223c00cee
Avoid linker error if no PHY is attached.
2000-02-14 20:29:54 +00:00
pk
1d373a94e2
Bump receive buffer size up to the maximum DMA burst boundary.
2000-02-14 17:14:28 +00:00
pk
a1b5434cec
Make promiscuous mode go again.
2000-02-14 17:06:45 +00:00
bouyer
085f44145c
- Be more strict in status check before sending a command (make sure
...
DRQ is not asserted). Closes kern/9346.
- Change the "fake identify before the real one" by a delay(). The real cause
of the problem is that the drive is unresponsive just after a reset.
The real problem (and the solution) showed up after the first change.
2000-02-14 12:37:35 +00:00
augustss
9558d7b27b
Regen.
2000-02-13 23:10:22 +00:00
augustss
a39279da39
Add a bunch of devices.
2000-02-13 23:10:02 +00:00
ragge
520d8c032e
Waked up from the dead
2000-02-13 13:01:14 +00:00
itojun
99b18eac36
on attach, check if we've got meaningful mac address or not,
...
to detect io mapping problem.
on detach, handle resource deallocations more carefully.
2000-02-13 06:17:58 +00:00
oster
445591e874
Get recent changes into the tree:
...
- make component_label variables more consistent (==> clabel)
- re-work incorrect component configuration code
- re-work disk configuration code
- cleanup initial configuration of raidPtr info
- add auto-detection of components and RAID sets (Disabled, for now)
- allow / on RAID sets (Disabled, for now)
- rename "config_disk_queue" to "rf_ConfigureDiskQueue" and properly prototype
in rf_diskqueue.h
- protect some headers with #if _KERNEL (XXX this needs to be fixed properly)
and cleanup header formatting.
- expand the component labels (yes, they should be backward/forward compatible)
- other bits and pieces (some function names are still bogus, and will get
changed soon)
2000-02-13 04:53:57 +00:00
augustss
0b2e81991d
Avoid panic when a non-working hub is detached.
2000-02-12 23:44:16 +00:00
enami
84b6105bbe
Check if device is active in wi_intr and wi_inquire.
2000-02-12 23:35:28 +00:00
ad
fc8ea8f0c5
Misplaced #endif.
2000-02-12 22:06:54 +00:00
augustss
d3fb7161d2
Regen.
2000-02-12 22:02:01 +00:00
augustss
b4fac8c7d0
Add Microsoft Internet Keyboard Pro.
2000-02-12 22:01:31 +00:00
ad
59748e7e55
Fix the unaligned accesses discovered by dbj.
2000-02-12 21:58:58 +00:00
chopps
53e6733789
awi is an 8-bit only card, so set the 8bit flag.
2000-02-12 19:58:35 +00:00
thorpej
1268cc5d6c
If we got an xfer from our backlog queue, don't allow sleeping; we're in
...
interrupt context.
XXX This is fixed properly in the thorpej_scsipi branch, but that won't
be ready for 1.5, I don't think.
2000-02-12 19:12:52 +00:00
thorpej
fc72b13d27
Const poison.
2000-02-12 19:05:55 +00:00
itojun
02bf7fcd13
add wi_detach and friends so that we can hot-swap wi card.
2000-02-12 16:08:04 +00:00
oster
edc931efea
Make this compile without warnings on alphas.
...
(Problem noted by Aaron J. Grier)
2000-02-12 16:06:27 +00:00
augustss
523d157a05
Regen.
2000-02-12 15:02:56 +00:00
augustss
a79d73d045
Add Corega FEther adapter. From PR 9394.
2000-02-12 15:02:21 +00:00
enami
01868857df
Add activate routine and check device active flag also in one second
...
tick handler.
2000-02-12 04:05:49 +00:00
enami
fbc47bda30
Cosmetic changes.
2000-02-12 03:55:49 +00:00
mjacob
1b188ee2ff
A lot of cleanup and shrinkage. Some items moved to isp_tpublic.h.
2000-02-12 02:33:34 +00:00
mjacob
55a78c1ee4
Add in 12160 (Ultra3) support. Turn back on fast posting for the new
...
generateion parallel SCSI cards (1240/1080/1280/12160). Split up nvram
reading routines to be more readable. Fix topology reporting- 2200 has
connected topology in mailbox 6 when you're done getting your loop id
(supported: Private Loop (NL Port), N-Port, F-Port, FL-Port). The 2100
doens't report this, but we can synthesize it to be either NL-Port or
FL-Port. Add in some connection mode async events.
2000-02-12 02:32:21 +00:00
mjacob
56e16448ad
add in 12160 (Ultra3) related definitions
2000-02-12 02:29:00 +00:00
mjacob
9f63fdeefb
add in 12160 (Ultra3) NVRAM definitions
2000-02-12 02:28:32 +00:00
mjacob
87355d841f
add some Qlogic 2200 point-to-point and extended ICBOPT definitions
2000-02-12 02:26:26 +00:00
mjacob
50f2620822
add 80 MHz case
2000-02-12 02:25:28 +00:00
mjacob
3f96822c3b
some minor cleanups
2000-02-12 02:24:20 +00:00
mjacob
63c56a9de6
add a more public shared i/f to target mode
2000-02-12 02:23:13 +00:00
mjacob
6eba47aa8f
add (untested in NetBSD yet) Qlogic 12160 (Ultra3) suppot
2000-02-12 02:22:37 +00:00
mjacob
29f08cd82d
add 12160 (Ultra3) microcode
2000-02-12 02:07:49 +00:00
simonb
2db5581a4c
Declare the mcclock_pad32_busfns variable as extern.
2000-02-11 02:36:16 +00:00
thorpej
29ae6dbe05
We're given a K1SEG address already.
2000-02-11 01:32:42 +00:00
chopps
d8595b9af3
map common memory 8 bit for cis scan when following longlinks.
2000-02-10 09:01:52 +00:00
chopps
44b423d73b
always map attr memory 8 bit, since its defined that way.
2000-02-10 09:00:19 +00:00
joda
d40e2b51ee
add detach code
2000-02-09 22:15:57 +00:00
enami
e00270524e
ASIX AX88190 support (Planex FNW-3700-T and Melco LPC3-TX) from FreeBSD/PAO3.
2000-02-09 15:40:23 +00:00
enami
67bc20747a
Support Xircom CompactCard Ethernet CFE-10.
2000-02-09 14:54:53 +00:00
enami
99f529f0b3
- Since all resources are mandatory, no need to manage individually.
...
- KNF some code.
- Factor out some code into function.
- Disestablish an interrupt handler when failed to enable card power.
2000-02-09 14:42:33 +00:00
enami
dc87f2899f
- No need to keep track enable/disable state here. The smc91cxx.c also
...
manages it.
- Disestablish an interrupt when failed to enable card.
- Don't say I'm enabled if failed to enable card.
2000-02-09 13:40:42 +00:00
enami
94a6dd9169
Regen.
2000-02-09 13:33:22 +00:00
enami
947c0fee74
Add an entry for Planex FNW-3700-T.
2000-02-09 13:32:23 +00:00
enami
e729d284ad
Add an entry for Melco LPC3-TX.
2000-02-09 13:20:55 +00:00
enami
e92b285eaf
Add an entry for Xircom CompactCard Ethernet CFE-10.
2000-02-09 13:07:45 +00:00
itohy
0a1d6b1357
Make it compile with options DEBUG.
...
Reported by Kawamoto Yosihisa (PR #9379 ).
2000-02-09 07:57:52 +00:00
augustss
76c14cd322
Don't stall the control pipe on error.
2000-02-08 18:46:03 +00:00
augustss
e922214fb2
Use NULL instead of 0.
2000-02-08 18:45:27 +00:00
thorpej
3bc7ce8d31
Cast bus_size_t to u_long for printing.
2000-02-08 18:40:51 +00:00
tron
73286f8d56
Fix printf() format string.
2000-02-08 18:31:02 +00:00
mycroft
2a2d421881
Forgotten part of chopps\'s i82365_isasubr.c commit.
2000-02-08 17:56:58 +00:00
mycroft
ac0db48a13
In light of the previous change, whack the clearing of CSC_INTR
...
again.
2000-02-08 17:53:48 +00:00
mycroft
eb071839ea
The final read of the CSC register does not appear to be needed any
...
more.
2000-02-08 17:48:39 +00:00
chopps
d12c4012f1
deal with loops that we get stuck in due to unhandled interrupts.
2000-02-08 17:14:29 +00:00
mycroft
5abb516b1e
Be more careful with the CSC_INTR register while probing.
...
Make some output more specific.
2000-02-08 16:59:52 +00:00
bouyer
f522d6f1ee
Supports "USR 3CP5609 PCI 16550 Modem", from Kent Polk.
2000-02-08 16:26:23 +00:00
bouyer
b3cffb232f
regen
2000-02-08 16:24:00 +00:00
bouyer
b614c6a569
Add US Robotics vendor ID, and USR 3CP5609 PCI 16550 Modem product ID.
...
From Kent Polk.
2000-02-08 16:22:37 +00:00
enami
34d63b5623
Since we now only allocate this one, no longer necessary to check and free().
2000-02-08 12:56:00 +00:00
enami
1658944ebe
- Don't rely on implicit declaration.
...
- Sinc wi/ existing coding style.
2000-02-08 12:51:30 +00:00
enami
c7573d517e
- Bail out from attach stage if failed to enable card, number of iospace
...
or memspace is unexpected, failed to map iospace or failed to configure
the controller properly.
- Disestablish an interrupt handler if failed to enable card.
2000-02-08 12:49:12 +00:00
augustss
e0c519464a
Add methods for ucom to call back on open/close.
2000-02-08 09:18:01 +00:00
erh
8613a0edaa
Regen.
2000-02-08 06:36:46 +00:00
erh
a87f862d24
Add Allied Telesyn AT-1500, lance ethernet.
2000-02-08 06:36:29 +00:00
nisimura
42e4e9fd0c
Add the missing piece of previous mod.
2000-02-08 04:35:03 +00:00
thorpej
bfdc6759fb
Don't rely on the receive descriptor's BCAST/MCAST status bits. Test the
...
Ethernet destination address to see if it's multicast.
2000-02-08 00:22:13 +00:00
thorpej
52a2804a5c
Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
...
the maximum transfer size for the specified DMA channel. Make all clients
of ISA DMA use this call to determine their maximum transfer size.
2000-02-07 22:07:27 +00:00
thorpej
fe551f0e64
Fix a bug in disksort_*() which caused non-optimal ordering when multiple
...
active partitions were on a single spindle. Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
augustss
a534cd4254
Correct John Markus Bjørndalen's horribly mangled name in a comment.
2000-02-07 09:40:37 +00:00
augustss
a8365d0e29
Use pcmcia_devinfo().
2000-02-07 09:36:27 +00:00
augustss
e2ab50484b
Add a pcmcia_devinfo() function (akin to pci_devinfo). It generates a
...
string suitable for printing in the attach message.
2000-02-07 09:35:29 +00:00
jonathan
e9a4467c58
Fix thinko in previous revision: it wouldn't catch deassert.
...
Revert the code inside the new test to the previous-but-one revision.
2000-02-07 02:17:18 +00:00
jonathan
2da22cf2c5
Check for DCD status change interrupts which signal PPS events, even
...
if the line discipline is ignoring carrier (e.g., via comparam()'s
setting of sc->sc_msr_mask). Move PPS timestamp outside the normal
status-change processing, and ignore sc_msr_mask when testing
for PPS events.
2000-02-06 23:23:37 +00:00
cgd
dbeafc9dbe
clean up some printfs
2000-02-06 08:14:13 +00:00
nathanw
958e687d69
LP64 printf fixes.
2000-02-05 20:02:42 +00:00
chopps
6d8c9583a7
indent this file
2000-02-05 18:42:37 +00:00
chopps
101848d272
run this through indent with some comment cleanup -- more knfing needed.
2000-02-05 18:20:08 +00:00
augustss
494c9affea
Support detach.
2000-02-05 18:11:55 +00:00
enami
645c869160
Add detach support for ethernet portion.
2000-02-05 04:44:00 +00:00
enami
9267b8f018
Remove unnecessary includes.
2000-02-05 04:41:49 +00:00
enami
abac10f360
Yet anothor workaround for hpcmips. I guess real problem is somewhere else...
...
With rev.1.37, my MobileGearII for DoCoMo finds both ne0 and wd0
even if pcic_delay_sleep is 1.
With rev 1.40, it fails to find wd0.
2000-02-05 04:34:36 +00:00
dante
2a46aa5d9a
Fix "unused variable" warning when FAILSAFE option is defined
2000-02-04 16:23:14 +00:00
dante
b4edda97d5
Fix a compilation bug due to a missing parenthesys
2000-02-04 15:43:46 +00:00
augustss
e037c568cb
Update for cardbus unmap changes.
2000-02-04 13:48:23 +00:00
augustss
1facb42e6e
Make the driver work even if DIAGNOSTIC is not set.
2000-02-04 13:43:56 +00:00
dante
29be498635
Add a list of all the currently supported boards
2000-02-04 13:16:22 +00:00
enami
9c688fd57c
s/SYSTEM/SYSMEM/; so that this file compiles again.
2000-02-04 11:04:46 +00:00
joda
8006211b18
fix previous broken commit of the 8-bit memory handling (spotted
...
by Christian Hopps); this will enable 16-bit memory accesses for devices
that can handle it
2000-02-04 10:18:28 +00:00
itojun
0f09f8dd2b
cope with card insertion/removal during suspend-resume session.
...
(removal/ insertion after suspend and before resume)
How should we deal with card swaps?
2000-02-04 09:45:34 +00:00
enami
730f15bb19
Free resources on attach failure.
2000-02-04 09:31:07 +00:00
enami
82235a8673
Actually, no need to keep track of sc_ih.
2000-02-04 09:30:28 +00:00
chopps
2a1352a5b3
enable the card before establishing the interrupt to avoid being called
...
with stray interrupts before we are ready.
clear the card interrupt after enabling the card
2000-02-04 08:45:41 +00:00
chopps
70e711cd60
only enable interrupts from the controller if the socket is enabled
2000-02-04 08:42:47 +00:00
chopps
d344dd94ab
keep track of the enabled state of a socket
2000-02-04 08:42:07 +00:00
haya
ded26ac3e4
Now cardbus_mapreg_unmap() has been implemented in
...
sys/dev/cardbus/cardbus_map.c. The detech function in
sys/dev/cardbus/if_tlp_cardbus.c uses cardbus_mapreg_unmap().
2000-02-04 07:59:20 +00:00