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
explorer
59db45db2a
bring over WEP mode from FreeBSD/OpenBSD
2000-02-04 07:48:29 +00:00
explorer
4a5667f967
undo part of the previous commit. I'll just steal the code from freebsd,
...
to minimize differences between the drivers.
2000-02-04 06:22:52 +00:00
chopps
9ff702157c
doh, remove debugging leftover (forcing irq 15 to always be avail).
2000-02-04 05:30:55 +00:00
enami
af9710cf6e
Disestablish an interrupt if failed to enable the card.
2000-02-04 04:54:51 +00:00
enami
ed0f41807d
- Call if_deactivate instead of smc91cxx_disable when deactivating.
...
- Fix typo in comment.
2000-02-04 04:05:50 +00:00
enami
6f28840935
Remove no longer necessary old code.
2000-02-04 03:40:00 +00:00
enami
3ff6804bdd
Release the resource on attach failure.
2000-02-04 03:38:06 +00:00
explorer
de4f36ae63
Add encryption structure definitions -- it's interesting tht the gold card
...
has 128 bit encryption, but the key space is 14 * 8 bits, or 112 bits...
I wonder where the other 16 bits comes from?
2000-02-04 02:03:02 +00:00
cgd
942a54e0c1
replace the *_lookup table entry match/lookup functions in all of
...
these drivers with a single common function (which supports tables
of variable-sized structures). Things are mostly as they were before:
tables are terminated by entry with NULL name, etc. There's also
the ability to call a driver-specific match function which can be used
to augment the table lookup.
2000-02-04 01:27:12 +00:00
enami
0bff6e573a
Cosmetic change; use IRQUNK instead of -1 always.
2000-02-03 23:03:11 +00:00
chopps
71d64756c2
wrap optimized copy routines in an ifdef
2000-02-03 21:27:35 +00:00
dante
cbacaf54d7
Add AdvanSys U2W (LVD) boards support
2000-02-03 20:28:26 +00:00
dante
fd2fd888ef
Add AdvanSys U2W host adapters
2000-02-03 16:56:23 +00:00
dante
787999d9e4
Add AdvanSys U2W boards
2000-02-03 16:51:42 +00:00
itojun
579e538de0
fix promisc mode for smc91cxx again.
2000-02-03 16:20:49 +00:00
joda
5b67628108
regen
2000-02-03 13:58:55 +00:00
joda
1533d39d9e
2 Micro -> O2 Micro
2000-02-03 13:58:28 +00:00
enami
1102c5ed1d
Remove temporary workaround for hpcmips. Now it works without it.
2000-02-03 09:00:39 +00:00
enami
d6554f3e25
Cosmetic changes; remove unnecessary semi-colon.
2000-02-03 08:59:20 +00:00
enami
d6df5ce334
Make the product lookup table driven.
2000-02-03 08:52:21 +00:00
enami
f1ce315cc0
Regen.
2000-02-03 08:26:33 +00:00
enami
fc92de5f92
Add an entry for Icom WAVEMASTER SL-200.
2000-02-03 08:25:55 +00:00
nisimura
c6641d91a8
Merge IOASIC register definitions.
2000-02-03 08:13:44 +00:00
thorpej
44a20a6c96
If we read a bad header signature, report what we read.
2000-02-03 06:47:31 +00:00
thorpej
5802ccb9c9
In ahc_intr(), if initialization failed, don't try to service the
...
interrupt.
2000-02-03 06:25:09 +00:00
thorpej
a084fd2f81
Some PHYs go off into left field for a few seconds if you attempt to kick
...
autonegotiation while it's already enabled.
2000-02-03 06:11:13 +00:00
chopps
68a7084f0c
attempt to make this more like the std indicates
2000-02-03 06:07:06 +00:00
enami
20522c36ed
Detach MII if there is.
2000-02-03 06:03:39 +00:00
thorpej
9ff57fe506
Oops, missing return;
2000-02-03 05:38:57 +00:00
nisimura
8e27abd255
Use bus_space_{write,read} for IOASIC register access.
2000-02-03 05:16:30 +00:00
thorpej
22fe15d7b4
Let mii_phy_setmedia() handle the IFM_AUTO case, too.
2000-02-02 23:34:56 +00:00
augustss
de5a3532be
Fiddle with some PHY bits on the D-Link adapter as well. From FreeBSD.
2000-02-02 20:06:55 +00:00
chopps
a5dc628e12
manipulate packet counters, support detach, and add commented out code to
...
DTRT on suspend
2000-02-02 18:39:44 +00:00
thorpej
8923ca0b00
Make PHY drivers provide a pointer to their status routine, and add
...
a generic mii_phy_status() that calls back into the PHY. It doesn't
do anything interesting yet, but it will soon.
2000-02-02 17:50:43 +00:00
thorpej
94b1e4084a
Don't dry to diving MIIF_NOISOLATE in the PHY drivers. Instead, pass
...
flags down from the parent to child vi mii_attach().
2000-02-02 17:46:42 +00:00
thorpej
eed75dbc26
Don't dry to diving MIIF_NOISOLATE in the PHY drivers. Instead, pass
...
flags down from the parent to child vi mii_attach().
2000-02-02 17:09:38 +00:00
itojun
b2cac6e684
if_detach for sm/pcmcia.
...
with addition of resource allocation flags in softc (to DTRT on detach).
2000-02-02 16:04:40 +00:00
enami
586595e6d4
Make irq probing controled by patchable variable and disable on hpcmips
...
by default. It doesn't work on hpcmips.
2000-02-02 14:44:09 +00:00
enami
f7096eef97
Fix typo; not PCIC_DEBUG but PCICDEBUG.
2000-02-02 14:23:48 +00:00
augustss
cee0dfa2d5
Add rnd_source.
2000-02-02 13:22:07 +00:00
augustss
c9d8358135
Generate usb events on attach and detach.
...
Clean up detach a little.
2000-02-02 13:21:25 +00:00
augustss
3a1229e779
Generate usb events on attach and detach.
2000-02-02 13:20:59 +00:00
augustss
aae9ac7e11
Generate usb events on attach and detach.
...
Handle rnd stuff correctly.
2000-02-02 13:19:44 +00:00
augustss
4b93911b25
Generate usb events on attach and detach.
2000-02-02 13:18:45 +00:00
itojun
7a7a3bcfdf
handle attach failure in ne/pcmcia more carefully. (otherwise we'll
...
have trouble on detach)
2000-02-02 13:06:15 +00:00
itojun
7aa608e563
handle attach failure in more detail. make sure to
...
pcmcia_function_disable() on failure.
2000-02-02 13:02:56 +00:00
itojun
4e1b4b724b
implement cnw_detach.
...
XXX it looks that whenever there's error-return in xx_attach,
we need to have some check in xx_detach(). otherwise, routines such as
ether_ifdetach() will be called without call to ether_ifattach().
2000-02-02 12:25:13 +00:00
augustss
b10d6a6fc0
Support detach.
2000-02-02 11:42:29 +00:00
itojun
f4e8883ccd
use a bit more standard (sys/device.h) prototype for {dp8390,ne2000}_detach().
2000-02-02 11:41:56 +00:00
itojun
2b4766a6b2
enami's fix to dp8390 did the trick, it does not hang up any more.
...
enable detach routine by default.
2000-02-02 11:17:32 +00:00
augustss
a5f7a2c791
Detach rnd source in ep_detach(). Check for DVF_ACTIVE in epintr();
2000-02-02 11:00:48 +00:00
enami
60e57afedd
- Check also DVF_ACTIVE bit in dp8390_intr.
...
- Delete ifmedia instances on detach.
2000-02-02 10:50:56 +00:00