Scott Long
2eea70515c
Overhaul error handling in the IPS driver. Don't use a magic value for
...
driver-induced errors, instead be better about propagating error status
upwards. Add more error definitions, courtesy of the linux driver. Fix
a command leak in the ioctl handler. Re-arrange some of the command handlers
to localize error handling.
MFC After: 3 days
2005-09-25 17:12:41 +00:00
Warner Losh
f8a935ff17
Remove OLDCARD vestiges from here
2005-09-25 01:39:04 +00:00
Warner Losh
50acd0b852
Fix comment
2005-09-25 01:38:02 +00:00
Poul-Henning Kamp
ca72f67d70
Use the new bus_space/resource convenience functions.
2005-09-24 20:46:02 +00:00
Poul-Henning Kamp
6b4a241211
Use new bus_space/resource convenience functions.
...
Pretend the 10-bit I/O ISA addressing is not our problem.
2005-09-24 20:44:55 +00:00
Warner Losh
c4a4b66d17
I have confirmed with my Epson EEN10B that it needs to look at the
...
attribute memory at 0xff0 to find its MAC address. This is another
instance of the IBM ethercard II from all apperances (short of popping
the lid). Update the entry to document which cards we support
actually need this functionality.
2005-09-24 17:36:43 +00:00
Warner Losh
52fb9ab35e
Remove unnecessary Dlink de650 entry
2005-09-24 17:32:57 +00:00
Warner Losh
c1a8a7110a
The DLink DE650 has the same ID as Linksys EthernetCard, so we don't
...
need a sperate entry for it.
2005-09-24 17:32:20 +00:00
Alexander Leidinger
16f309f0e2
This part of the struct isn't needed on FreeBSD:
...
---snip---
FYI this bit isn't needed for FreeBSD - I think it came from either
OpenBSD or NetBSD where arc4random() wasn't available during cold
boot.
---snip---
Explained by: iedowse
2005-09-24 14:49:36 +00:00
Warner Losh
829681b6aa
Remove obsolete include
2005-09-23 21:59:11 +00:00
Warner Losh
b7a9396a75
Forgot to commit ata-card fixes last night. Fix gleb's attempt to do
...
the right thing by merging in the changes I neglected to commit last
night.
2005-09-22 18:46:29 +00:00
Gleb Smirnoff
e21d20fc4c
Fix build.
2005-09-22 18:41:56 +00:00
Warner Losh
6242d774d9
Remove compat layer for OLDCARD compatibility. All instances of it
...
are now gone from the tree.
2005-09-22 14:51:11 +00:00
Warner Losh
c82f53f61d
'PC Card' instead of other variants
2005-09-22 06:01:44 +00:00
Warner Losh
ca7ea03837
Eliminate dead code
2005-09-22 05:56:32 +00:00
Warner Losh
a1f72203b1
PC Card instead of other variants
2005-09-22 05:52:54 +00:00
Warner Losh
0ed03bc788
MFp4: save mac addr hint, eliminage OLDCARD shims
2005-09-22 05:11:50 +00:00
Justin T. Gibbs
ad3d2a4dc5
Use the AHC_DISABLE_PCI_PERR flag to silence parity error reporting on
...
chips where setting the FAILDIS bit is not effective. While here,
try again to make it clear that reported parity errors indicate
a failure of some PCI device *other than* the aic7xxx controller.
2005-09-22 05:11:35 +00:00
Warner Losh
a6869ccad0
Remove OLDCARD shims
2005-09-22 05:06:37 +00:00
Justin T. Gibbs
23a6493baf
Enhance diagnostic printfs for the chains of free lists used to
...
avoid SCB ID collissions to non-packetized targets.
2005-09-22 05:06:03 +00:00
Justin T. Gibbs
16346ae5f5
Correct bug that caused the completed "recovery" scb to have its
...
timer reset rather than the timer of an SCB still pending on the
controller after recovery completed. This should correct timeout
loops seen in the field.
2005-09-22 05:01:37 +00:00
Justin T. Gibbs
6bdc5bdf68
Set allow_memio to 1 if fetching the allow_memio hint fails. This
...
is the default behavior according the the bootverbose printf in the
failure case.
2005-09-22 04:56:59 +00:00
Warner Losh
09ec45fd15
MFp4: Remove OLDCARD shims
2005-09-22 04:51:11 +00:00
Warner Losh
b1d1a29cf6
MFp4: trivial KNF nits
2005-09-22 04:49:17 +00:00
Warner Losh
2a5481cafd
MFp4: KNF (mostly remove K&R function definitions). Fix some spaces left
...
over from de__Ping.
# Didn't fix the -Exxxx return statements that appaer to be linuxisms
# (and wrong) since I don't have hardware to test with.
2005-09-22 04:46:56 +00:00
Warner Losh
44dbf79b0c
Better descriptions for the Jack of Diamonds cards.
2005-09-21 23:57:26 +00:00
Warner Losh
7132e1b9ae
Remove OLDCARD shims
2005-09-21 22:45:14 +00:00
Warner Losh
209161a4f6
Don't confuse the tuple code and the tuple length. Ooops. Since most
...
CIS are tiny, this likely hasn't bit anybody yet...
2005-09-21 20:08:24 +00:00
Warner Losh
50757d2fce
Split power state control into two variables. hw.pci.do_powerstate
...
has been removed. It has been replaced by hw.pci.do_power_nodriver
and hw.pci.do_power_resume. The former defaults to 0 while the latter
defaults to 1.
When do_powerstate was set to 0, it broke suspend/resume for a lot of
people as an unintended consequence. This change will only affect the
areas that were intended to affect. This change will have no effect on
servers, but will help laptops quite a bit.
MFC After: 3 days.
2005-09-21 19:47:00 +00:00
Marcel Moolenaar
3cf09dd123
Fix an unaligned I/O memory access in the event that a SCB times out.
...
The FXP_SCR_FLOWCONTROL registers is at offset 0x19, but 2 bytes wide.
It cannot be read as a word without causing a panic on architectures
that enforce strict alignment.
MFC after: 3 days
2005-09-21 04:36:40 +00:00
Warner Losh
3896edc1d9
Use the correct minor number for the pccardX.cis device.
...
Don't destroy a NULL device.
This should fix the panics on boot people are seeing on systems with
more than one pccard slot.
2005-09-20 23:48:06 +00:00
Warner Losh
d39ab32b08
Remove OLDCARD support by removing compat shims
2005-09-20 19:54:11 +00:00
Warner Losh
973af40a84
Better use of gone.
2005-09-20 19:50:27 +00:00
Warner Losh
7a5b855af3
Remove oldcard support by removing the compat shims.
2005-09-20 19:49:33 +00:00
Warner Losh
b152e6d1fc
Remove support for oldcard by removing compat shims.
2005-09-20 19:46:54 +00:00
Warner Losh
479f7d5fe8
Eliminate support for oldcard by removing the compat shims.
2005-09-20 19:45:08 +00:00
Warner Losh
255e4915dc
remove some dead code
2005-09-20 19:34:10 +00:00
Gleb Smirnoff
c33f26f32b
Remove queue check from last commit. In most cases there is smth in queue,
...
when start function is called.
Reviewed by: ru
2005-09-20 14:52:57 +00:00
Gleb Smirnoff
aecb98c94d
Check IFF_DRV_RUNNING and presense of packets in queue before calling
...
em_start_locked(). This fixes panic on shutdown with active traffic
passing through router.
Sponsored by: Rambler
2005-09-20 13:37:17 +00:00
Gleb Smirnoff
90951c859b
Fix build.
2005-09-20 10:25:51 +00:00
Warner Losh
73cac3387f
Implement /dev/pccardN.cis. This mirrors the CIS for the card to userland.
...
pccardc dumpcis /dev/pccardN.cis will work now, but I may rewrite pccardc.
Also, move more of the private data to a new file called pccardvarp.h.
2005-09-20 06:47:33 +00:00
Warner Losh
88750dc361
Call the passed function on cis scanning for all nodes in the CIS
...
chains, not just the 'real' ones.
2005-09-20 06:45:38 +00:00
Andre Oppermann
1761656cdd
Replace m_extadd() with macro version MEXTADD().
2005-09-19 22:04:41 +00:00
Andre Oppermann
0ec75b9be9
Replace custom mbuf writeability test with generic
...
M_WRITEABLE() test covering all edge cases too.
2005-09-19 21:59:49 +00:00
Damien Bergamini
28a380736d
Use phk's kernel unit number allocator to associate unique ids to neighbors
...
in an IBSS. Store ids directly into ieee80211_node's instead of managing
our own private association table. Idea and code by Sam Leffler.
Submitted by: sam
MFC after: 5 days
2005-09-19 18:59:04 +00:00
Damien Bergamini
e26a9b9fff
The "SMC EZ Connect SMC2862W-G" product is not based on the Ralink RT2500USB
...
chipset.
MFC after: 5 days
2005-09-19 18:19:22 +00:00
Damien Bergamini
7e47fb024c
It's safe to wait for command completion in iwi_config().
...
MFC after: 5 days
2005-09-19 16:26:52 +00:00
Warner Losh
bb041987d9
Remove duplicate if_free().
...
Submitted by: ru@
2005-09-19 14:44:11 +00:00
Ruslan Ermilov
6ed0b39d28
Restore the ability to detach from a tty via SIOCSTTY and document
...
recent changes in a manpage.
Reviewed by: cognet
2005-09-19 13:48:45 +00:00
Søren Schmidt
3d42c6d13a
Dont wait for READY on ATAPI_IDENTIFY.
...
Fixes the losage of some ATAPI device that reported failed probing with
"timeout waiting for read DRQ".
2005-09-19 07:35:42 +00:00