summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary Dlink de650 entryimp2005-09-241-1/+0
|
* The DLink DE650 has the same ID as Linksys EthernetCard, so we don'timp2005-09-241-1/+0
| | | | need a sperate entry for it.
* This part of the struct isn't needed on FreeBSD:netchild2005-09-241-0/+2
| | | | | | | | | | ---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
* Remove obsolete includeimp2005-09-231-2/+0
|
* Forgot to commit ata-card fixes last night. Fix gleb's attempt to doimp2005-09-221-4/+7
| | | | | the right thing by merging in the changes I neglected to commit last night.
* Fix build.glebius2005-09-221-9/+4
|
* Remove compat layer for OLDCARD compatibility. All instances of itimp2005-09-222-39/+0
| | | | are now gone from the tree.
* 'PC Card' instead of other variantsimp2005-09-226-12/+12
|
* Eliminate dead codeimp2005-09-221-6/+0
|
* PC Card instead of other variantsimp2005-09-222-5/+5
|
* MFp4: save mac addr hint, eliminage OLDCARD shimsimp2005-09-222-35/+11
|
* Use the AHC_DISABLE_PCI_PERR flag to silence parity error reporting ongibbs2005-09-221-8/+15
| | | | | | 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.
* Remove OLDCARD shimsimp2005-09-221-33/+17
|
* Enhance diagnostic printfs for the chains of free lists used togibbs2005-09-221-1/+3
| | | | avoid SCB ID collissions to non-packetized targets.
* Correct bug that caused the completed "recovery" scb to have itsgibbs2005-09-222-2/+4
| | | | | | 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.
* Set allow_memio to 1 if fetching the allow_memio hint fails. Thisgibbs2005-09-221-0/+1
| | | | | is the default behavior according the the bootverbose printf in the failure case.
* MFp4: Remove OLDCARD shimsimp2005-09-221-27/+13
|
* MFp4: trivial KNF nitsimp2005-09-221-6/+1
|
* MFp4: KNF (mostly remove K&R function definitions). Fix some spaces leftimp2005-09-221-176/+82
| | | | | | | 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.
* Better descriptions for the Jack of Diamonds cards.imp2005-09-211-5/+5
|
* Remove OLDCARD shimsimp2005-09-213-67/+22
|
* Don't confuse the tuple code and the tuple length. Ooops. Since mostimp2005-09-211-1/+1
| | | | CIS are tiny, this likely hasn't bit anybody yet...
* Split power state control into two variables. hw.pci.do_powerstateimp2005-09-211-16/+18
| | | | | | | | | | | | | 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.
* Fix an unaligned I/O memory access in the event that a SCB times out.marcel2005-09-211-3/+9
| | | | | | | | 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
* Use the correct minor number for the pccardX.cis device.imp2005-09-201-3/+7
| | | | | | | Don't destroy a NULL device. This should fix the panics on boot people are seeing on systems with more than one pccard slot.
* Remove OLDCARD support by removing compat shimsimp2005-09-204-93/+34
|
* Better use of gone.imp2005-09-201-9/+5
|
* Remove oldcard support by removing the compat shims.imp2005-09-201-21/+5
|
* Remove support for oldcard by removing compat shims.imp2005-09-201-24/+4
|
* Eliminate support for oldcard by removing the compat shims.imp2005-09-201-26/+5
|
* remove some dead codeimp2005-09-201-9/+1
|
* Remove queue check from last commit. In most cases there is smth in queue,glebius2005-09-201-2/+1
| | | | | | when start function is called. Reviewed by: ru
* Check IFF_DRV_RUNNING and presense of packets in queue before callingglebius2005-09-201-1/+3
| | | | | | | em_start_locked(). This fixes panic on shutdown with active traffic passing through router. Sponsored by: Rambler
* Fix build.glebius2005-09-202-0/+14
|
* Implement /dev/pccardN.cis. This mirrors the CIS for the card to userland.imp2005-09-204-164/+368
| | | | | | 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.
* Call the passed function on cis scanning for all nodes in the CISimp2005-09-201-0/+17
| | | | chains, not just the 'real' ones.
* Replace m_extadd() with macro version MEXTADD().andre2005-09-192-4/+4
|
* Replace custom mbuf writeability test with genericandre2005-09-191-2/+2
| | | | M_WRITEABLE() test covering all edge cases too.
* Use phk's kernel unit number allocator to associate unique ids to neighborsdamien2005-09-193-45/+76
| | | | | | | | 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
* The "SMC EZ Connect SMC2862W-G" product is not based on the Ralink RT2500USBdamien2005-09-191-1/+0
| | | | | | chipset. MFC after: 5 days
* It's safe to wait for command completion in iwi_config().damien2005-09-191-1/+2
| | | | MFC after: 5 days
* Remove duplicate if_free().imp2005-09-191-1/+0
| | | | Submitted by: ru@
* Restore the ability to detach from a tty via SIOCSTTY and documentru2005-09-191-5/+5
| | | | | | recent changes in a manpage. Reviewed by: cognet
* Dont wait for READY on ATAPI_IDENTIFY.sos2005-09-191-1/+5
| | | | | Fixes the losage of some ATAPI device that reported failed probing with "timeout waiting for read DRQ".
* Fix configuration locking in MD.phk2005-09-191-116/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove md_mtx. Remove GIANT from the mdctl device driver and avoid DROP_GIANT, PICKUP_GIANT and geom events since we can call into GEOM directly now. Pick up Giant around vn_close(). Apply an exclusive sx around mdctls ioctl and preloading to protect lists etc.. Don't initialize our lock (md_mtx or md_sx) from a SYSINIT when there is a perfectly good pair of _fini/_init functions to do it from. Prune any final fractional sector from the mediasize to keep GEOM happy. Cleanups: Unify MDIOVERSION check in (x)mdctlioctl() Add pointer to start() routine to softc to eliminate a switch{} Inline guts of mddetach(). Always pass error pointer to mdnew(), simplify implementation.
* Last change to this file actually removed the oldcard compat code.imp2005-09-191-2/+1
| | | | This change removes one last K&Rism.
* Make sure that we call if_free(ifp) after bus_teardown_intr. Since weimp2005-09-1931-62/+55
| | | | | | | could get an interrupt after we free the ifp, and the interrupt handler depended on the ifp being still alive, this could, in theory, cause a crash. Eliminate this possibility by moving the if_free to after the bus_teardown_intr() call.
* MFp4:imp2005-09-183-125/+149
| | | | | | | | | | | | | | | | | | o eliminate the ED_NO_MIIBUS option. Now, you need miibus to use ed with pccard. If you have an old ISA or PCI card w/o a miibus, then you'll still be able to use the ed driver w/o miibus in the kernel. If you have pccard you'll need mii now. Most pccards these days have miibus, and many cards have ISSUES if you don't attach miibus. issues I don't want to constantly rediagnose. - Add new media_ioctl, mediachg and tick function pointers. The core driver will call these if they aren't NULL, or return an error if they are. - migrate remaining mii code into if_ed_pccard. o include some notes from my datasheet fishing. this may allow us to get media status from some pccards. o Fix one bug that's common to many drivers. call if_free(ifp) after we tear down the interrupt. ed_intr() depends on ifp being there and freeing it while interrupts can still happen is, ummm, bad.
* Slightly change the API for the SNPSTTY ioctl so that the userland nowcognet2005-09-181-5/+14
| | | | | | | provides a file descriptor instead of a dev_t. Discussed with: phk MFC after: 3 days
* Add the KLD to the sndstat info.netchild2005-09-181-1/+1
|
OpenPOWER on IntegriCloud