aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* 1) Make debugging more selective.Nick Hibma1999-04-1118-201/+180
| | | | | | | | | | 2) create function usbd_errstr which turns a usbd_status into a sensible error message 3) Change the printf in DPRINTF to logprintf which is a define for log(KERN_DEBUG, x) Notes: svn path=/head/; revision=45604
* Applied patch for ukbd disconnect. Disconnect not fully functionalNick Hibma1999-04-111-66/+99
| | | | | | | | | yet however. Supplied by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> Notes: svn path=/head/; revision=45600
* USBD_STALLED bit checking was inconsistent. Mixed use of == and &Nick Hibma1999-04-111-5/+6
| | | | | | | Patch provided by: Kazutaka YOKOTA Notes: svn path=/head/; revision=45599
* Remove unit from struct. Not used anymore.Nick Hibma1999-04-112-2/+0
| | | | Notes: svn path=/head/; revision=45598
* Reenable the recursive disconnection from a hub. Stop gap solutionNick Hibma1999-04-111-7/+9
| | | | | | | | | until the newbus version of uhub.c is ready. Submitted by: Kazutaka YOKOTA Notes: svn path=/head/; revision=45594
* Changed pci_config_read() to pci_map_port(). Pointed out by Doug Rabson.Nick Hibma1999-04-111-2/+5
| | | | Notes: svn path=/head/; revision=45593
* Remove unused function int fi() {return 0;}Eivind Eklund1999-04-111-4/+1
| | | | Notes: svn path=/head/; revision=45581
* Staticize.Eivind Eklund1999-04-114-7/+7
| | | | Notes: svn path=/head/; revision=45577
* Staticize.Eivind Eklund1999-04-116-17/+17
| | | | Notes: svn path=/head/; revision=45575
* Staticize.Eivind Eklund1999-04-112-5/+5
| | | | Notes: svn path=/head/; revision=45573
* Sixth update to the new ATA/ATAPI driver:Søren Schmidt1999-04-107-64/+54
| | | | | | | | | | | | | | | | | | | Fixed problems: Promise controllers was not always set up correctly. Parantheses are a good thing, fixed. Some older CDROM's could hang the probe. Proberly wait for the drive to catch its breath after IDENTIFY. Some CD writers fails because they dont support rezero. Rearranged the code to not use rezero. Warnings now that we use EGCS. Fixed. Notes: svn path=/head/; revision=45554
* struct drive: add fields for debugging lockdrive deadlocks.Greg Lehey1999-04-101-0/+4
| | | | Notes: svn path=/head/; revision=45541
* set_sd_state:Greg Lehey1999-04-101-0/+1
| | | | | | | | | If a drive is down, take "empty" sds down. Previously they were unchanged, which cause set_plex_state to take them up under some circumstances. Notes: svn path=/head/; revision=45540
* When VINUMDEBUG is set, add function basename() to return the baseGreg Lehey1999-04-101-5/+14
| | | | | | | name of a file. Used by MMalloc and lockdrive. Notes: svn path=/head/; revision=45539
* lockdrive: Add debug calls to catch occasional deadlocks on drives.Greg Lehey1999-04-101-6/+26
| | | | | | | | The problem is probably gone, but the debug checks remain for a while. Notes: svn path=/head/; revision=45538
* Add flag keyword w.Greg Lehey1999-04-102-3/+5
| | | | Notes: svn path=/head/; revision=45537
* daemon_save_config:Greg Lehey1999-04-101-3/+5
| | | | | | | | | | | Fix a potential drive deadlock when saving config to a non-existent drive. Add debug calls to catch occasional deadlocks on drives. The problem (above) is probably gone, but the debug checks remain for a while. Notes: svn path=/head/; revision=45536
* Define macro LOCKDRIVE for debugging drive locking deadlocks.Greg Lehey1999-04-101-1/+3
| | | | Notes: svn path=/head/; revision=45535
* Add declaration for basename()Greg Lehey1999-04-101-0/+5
| | | | | | | Change lockdrive definition if VINUMDEBUG is set. Notes: svn path=/head/; revision=45534
* Add debug calls to catch occasional deadlocks on drives. The problemGreg Lehey1999-04-101-15/+20
| | | | | | | | | | | | is probably gone, but the debug checks remain for a while. update_plex_config: Catch yet another divide-by-zero problem when detaching the last subdisk from a striped plex. Uncovered-by: Michael Reifenberger <root@nihil.plaut.de> Notes: svn path=/head/; revision=45533
* update_plex_config: Eliminate a potential divide-by-zero.Greg Lehey1999-04-091-13/+15
| | | | | | | Tripped-over-by: Karl Pielorz <kpielorz@tdx.co.uk> Notes: svn path=/head/; revision=45504
* Modify parameter checking in LongJmp to match the reality of anGreg Lehey1999-04-091-3/+3
| | | | | | | | | | enlarged kernel memory space. Paniced-over-by: Karl Pielorz <kpielorz@tdx.co.uk> Michael Reifenberger <root@nihil.plaut.de> Notes: svn path=/head/; revision=45503
* 1) Add Lucent USS-720 eval kitNick Hibma1999-04-082-2/+18
| | | | | | | 2) Rename Epson printer cable to proper name Notes: svn path=/head/; revision=45499
* 1) Add AKS USB-HASP 0.6Nick Hibma1999-04-082-15/+38
| | | | | | | | 2) Rename Lucent -> Epson (Undoes previous commit, Mike agrees) Notes: svn path=/head/; revision=45497
* Add the Lucent USS-720 ISD Smart Cable.Mike Smith1999-04-082-0/+10
| | | | Notes: svn path=/head/; revision=45490
* Correct an invalid (and unused) #define in 93cx6.cJustin T. Gibbs1999-04-073-8/+8
| | | | | | | Freeze the transaction queue for any type of scsi status other than "okay". Notes: svn path=/head/; revision=45445
* Improve bt_cmd() so that it has a better chance of working when thereJustin T. Gibbs1999-04-072-61/+84
| | | | | | | | | | are pending I/O transactions. It is not clear that is works 100% of the time under SMP, but since the bt_cmds() that are sent after other CPUs are started are not critical, the driver will function until I can figure out why this is the case. Notes: svn path=/head/; revision=45444
* Beef up the error handling routine to handle more errors.Justin T. Gibbs1999-04-071-25/+67
| | | | | | | | Compensate for a bug in the AdvanSys firmware where a valid queue full condition can be reported via a different error code. Notes: svn path=/head/; revision=45443
* Added macro logprintfNick Hibma1999-04-071-0/+4
| | | | Notes: svn path=/head/; revision=45435
* fix typoNick Hibma1999-04-061-2/+2
| | | | Notes: svn path=/head/; revision=45394
* Remove teensy-weensy bit of debug code that crept in.Bill Paul1999-04-061-6/+3
| | | | | | | | | Oh, I forgot to mention: this driver also works on FreeBSD/alpha (big thanks to Andrew Gallatin). And there is a 2.2.x version available for those who stubbornly refuse to upgrade. Notes: svn path=/head/; revision=45391
* failled spell-checkPoul-Henning Kamp1999-04-061-2/+2
| | | | Notes: svn path=/head/; revision=45390
* Add driver support for gigabit ethernet adapters based on the AlteonBill Paul1999-04-064-0/+12497
| | | | | | | | | | | | | | | | | | | | | | | | | | Networks Tigon 1 and Tigon 2 chipsets. There are a _lot_ of OEM'ed gigabit ethernet adapters out there which use the Alteon chipset so this driver covers a fair amount of hardware. I know that it works with the Alteon AceNIC, 3Com 3c985 and Netgear GA620, however it should also work with the DEC/Compaq EtherWORKS 1000, Silicon Graphics Gigabit ethernet board, NEC Gigabit Ethernet board and maybe even the IBM and and Sun boards. The Netgear board is the cheapest (~$350US) but still yields fairly good performance. Support is provided for jumbo frames with all adapters (just set the MTU to something larger than 1500 bytes), as well as hardware multicast filtering and vlan tagging (in conjunction with the vlan support in -current, which I should merge into -stable soon). There are some hooks for checksum offload support, but they're turned off for now since FreeBSD doesn't have an officially sanctioned way to support checksum offloading (yet). I have not added the 'device ti0' entry to GENERIC since the driver with all the firmware compiled in is quite large, and it doesn't really fit into the category of generic hardware. Notes: svn path=/head/; revision=45386
* Use reference counted PHOLD/PRELE rather than the P_PHYSIO flag.Peter Wemm1999-04-061-3/+3
| | | | Notes: svn path=/head/; revision=45360
* 1) Add the defines for the Mass Storage classNick Hibma1999-04-051-10/+23
| | | | | | | | 2) Add comments 3) Add UE_DIR to replace the querying of UE_IN directly Notes: svn path=/head/; revision=45346
* change wrong names in prototypes (pipe to dev)Nick Hibma1999-04-051-3/+3
| | | | Notes: svn path=/head/; revision=45345
* Add the defines for the Iomega Zip 100 driveNick Hibma1999-04-052-0/+16
| | | | Notes: svn path=/head/; revision=45344
* bugfix: initialise timeout for usbd_device_request as well.Nick Hibma1999-04-051-3/+4
| | | | | | | | moved statements around to reflect sequence in the struct, to make finding these discrepancies easier. Notes: svn path=/head/; revision=45343
* Make ppbus compile under egcs. I'm not sure about this casting-to-union-Peter Wemm1999-04-053-9/+14
| | | | | | | -containing-the-type stuff, but gcc seemed to do it implicitly.. Notes: svn path=/head/; revision=45342
* Add debug flag DEBUG_EXITFREE to log problems freeing memory on exit.Greg Lehey1999-04-051-0/+1
| | | | Notes: svn path=/head/; revision=45325
* remove_plex: If we don't find the plex in a volume to which itGreg Lehey1999-04-051-2/+6
| | | | | | | claims to belong, remove it anyway. Notes: svn path=/head/; revision=45324
* free_vinum: Clean out bdevsw entry before unloading kld.Greg Lehey1999-04-051-6/+21
| | | | | | | | | | | | Repeatedly-tripped-over-by: Vallo Kallaste <vallo@matti.ee> When VINUMDEBUG is set, free any memory found still allocated. Only log errors if DEBUG_EXITFREE is set. Notes: svn path=/head/; revision=45323
* Make firmware revision a triple. Clean up some FC init stuff forMatt Jacob1999-04-041-73/+138
| | | | | | | | | | | | | | | | board versions with no BIOS. Separate mailbox interrupts from IOCB interrupts. Read OUTMAILBOX5 while RISC_INT is active- not after you clear it (potential race condition). Clear out older broken BIG_ENDIAN goop. Don't negotiate narrow/async for LVD busses at startup if already in LVD mode. Note usage of presumptive 1040C revision. For all the LIP, PDB Changed, Loop UP/DOWN async events, mark fw state as unknown as well as marking the need to do a getpdb on targets- after a LIP for certain the f/w has to do PRLI/PLOGI for all targets again and marking f/w state as unknown gives us a fighting chance to (start to) hold up for that to complete. Notes: svn path=/head/; revision=45287
* oops on this lastMatt Jacob1999-04-041-3/+2
| | | | Notes: svn path=/head/; revision=45286
* F/W revisions now a tuple (not a duple). Fix pre-CAM code.Matt Jacob1999-04-041-19/+57
| | | | Notes: svn path=/head/; revision=45285
* Fix for pre-CAM kernels (again). Turn back on fast posting.Matt Jacob1999-04-041-35/+16
| | | | Notes: svn path=/head/; revision=45284
* Remove incorrect BIG_ENDIAN defines and substitute in the SBus only macrosMatt Jacob1999-04-041-126/+45
| | | | | | | | | that will SBusify an isp header or the lun/target portions of a request IOCB- and have these only valid iff __sparc__ (no non-sparc SBus machine that *I* know about). Notes: svn path=/head/; revision=45283
* Change f/w revision to major,minor,micro version. Add in ISP1040C definition.Matt Jacob1999-04-041-5/+8
| | | | Notes: svn path=/head/; revision=45282
* roll ISP1040 and ISP2100 f/w to latest releaseMatt Jacob1999-04-041-13460/+13587
| | | | Notes: svn path=/head/; revision=45281
* Read the board revision and trim cache line size back from 16 to 1Matt Jacob1999-04-041-8/+71
| | | | | | | | for early revision 2100 boards. Make sure to turn ROM off for these boards. Notes: svn path=/head/; revision=45280