summaryrefslogtreecommitdiff
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/4.1.0cvs2svn2000-07-2610-3350/+0
| | | | | | | | 'RELENG_4_1_0_RELEASE'. Notes: svn path=/stable/4/; revision=63894 svn path=/release/4.1.0/; revision=63895; tag=release/4.1.0
* MFC: Don't define XE_DEBUG.Warner Losh2000-07-211-2/+3
| | | | | | | Approved by: jkh Notes: svn path=/stable/4/; revision=63744
* MFC: reset only bold on SGR 39Andrey A. Chernov2000-07-201-2/+2
| | | | Notes: svn path=/stable/4/; revision=63650
* MFC - reduce confusing verbosity.Mike Smith2000-07-201-18/+3
| | | | Notes: svn path=/stable/4/; revision=63590
* mfc: many fixesCameron Grant2000-07-1921-453/+873
| | | | Notes: svn path=/stable/4/; revision=63556
* mfc rev 1.15Cameron Grant2000-07-191-0/+18
| | | | Notes: svn path=/stable/4/; revision=63553
* MFC:Roll back target mode f/w to 7.55.Matt Jacob2000-07-181-1967/+1855
| | | | Notes: svn path=/stable/4/; revision=63395
* MFC: correct missing portion of complete STRNCAT cleanup.Matt Jacob2000-07-181-1/+2
| | | | Notes: svn path=/stable/4/; revision=63394
* MFC:Add in some new IN_XXX and CT_XXXX flags in preparationMatt Jacob2000-07-181-0/+6
| | | | | | | | for the rototilling that !*$)~@!$_@*_(~@$*_(~@$*~@$* Qlogic F/W changes will need. Notes: svn path=/stable/4/; revision=63391
* MFC:If debugging set, zero out an incoming response entryMatt Jacob2000-07-181-1/+5
| | | | | | | | | | when we're done reading it (makes checking things easier). Before calling isp_notify_ack make sure we're at RUNSTATE- elsewise we can be responding to LIPs or SCSI bus resets before we've finished some of the wiring. Notes: svn path=/stable/4/; revision=63389
* MFC (rev 1.42)- lots of target mode changes.Matt Jacob2000-07-181-40/+169
| | | | Notes: svn path=/stable/4/; revision=63386
* MFC: Raise debug level for some messages. Fix botched inversionMatt Jacob2000-07-181-11/+9
| | | | | | | about MBOX_COMMAND_ERROR vs. MBOX_COMMAND_PARAM_ERROR. Notes: svn path=/stable/4/; revision=63384
* MFC: make all Ethernet drivers use ether_ifattach() ether_ifdetach()Archie Cobbs2000-07-1717-68/+28
| | | | Notes: svn path=/stable/4/; revision=63338
* MFC: Rename MDNSECT to MD_NSECT and add it to options and LINT.Sheldon Hearn2000-07-171-3/+3
| | | | Notes: svn path=/stable/4/; revision=63312
* MFC: shorten 49m attrs resetting exprAndrey A. Chernov2000-07-151-2/+1
| | | | Notes: svn path=/stable/4/; revision=63222
* MFC: reset attrs on 39/49m, unify commentsAndrey A. Chernov2000-07-151-16/+17
| | | | Notes: svn path=/stable/4/; revision=63220
* MFC: Merge KAME 2000/07/01 code.Kris Kennaway2000-07-151-1/+1
| | | | Notes: svn path=/stable/4/; revision=63207
* MFC: fix typo. Neerest -> Nearest.Jeroen Ruigrok van der Werven2000-07-141-1/+1
| | | | Notes: svn path=/stable/4/; revision=63134
* MFC: [rev 1.180] ed_ioctl() can be called from ifpromisc() afterPaul Saab2000-07-111-1/+1
| | | | | | | | the card has been removed, don't panic on a NULL pointer in that case. Notes: svn path=/stable/4/; revision=62971
* MFC: Use MI lptio.h, rather than MD lpt.h.David E. O'Brien2000-07-071-2/+1
| | | | Notes: svn path=/stable/4/; revision=62728
* MFC: `cvs log -r1.17 -r1.18 sym_hipd.c' to get full log.Gerard Roudier2000-07-054-282/+122
| | | | | | | | | | | | | | Significant changes: - Remove obsolete informations from the README.sym file. - Check also against DT_DATA_IN phase on parity/crc error. (Merged from Pamela Delaney's changes in the Linux driver) - Fix support for phase mismatch handling from the C code for the C1010 (only useful for testing issue). - Add an asynchonous notification handler for `lost device' (AC_LOST). Notes: svn path=/stable/4/; revision=62650
* MFC:Matt Jacob2000-07-051-0/+12
| | | | | | | | | | Oops! If we're deciding a command is now really dead, make *darned* sure that it really is by issuing a ISPCTL_ABORT_CMD just on the off chance the f/w will start it up again and, ha ha, start using the DMA resources we gave it but are now taking away. Notes: svn path=/stable/4/; revision=62647
* MFC:Matt Jacob2000-07-051-7/+14
| | | | | | | | | Clean up ISPCTL_ABORT_CMD function to not be too chatty if it succeeds, or even if it fails with INVALID_PARM (which just means that the handle doesn't refer to an active commane). Notes: svn path=/stable/4/; revision=62646
* MFC: Remove obsolete isp_dogactive tag.Matt Jacob2000-07-041-14/+9
| | | | | | | | | | | | | | Add 8 bits of volatile mailbox busy mask- this will be the bitmask of output mailbox values we want to get back out of the chip once a mailbox command is done. Add storage for the maximum number of output mailbox registers to the softc. Set ISP_MAX_LUNS to be off of new isp_maxluns tag in softc. Change our 'fabdev' tag to 'loggedin'. Increase size (and add defines for) topology storage. Roll minor version numbers. Notes: svn path=/stable/4/; revision=62546
* MFC: Add mailbox bitmask macros (numbers of available mailbox registersMatt Jacob2000-07-041-17/+25
| | | | | | | | | | | | based upon Qlogic chip type). Define maximum mailboxes. Add INT_PENDING_MASK macro. Change mailbox offset macro name. cleanup i_int_X vs. uint_X definitions The storage for WWN from NVRAM is actually the PORT WWN, not the NODE WWN. Notes: svn path=/stable/4/; revision=62545
* MFC: add MBOX_GET_RESOURCE_COUNT commandMatt Jacob2000-07-041-0/+1
| | | | Notes: svn path=/stable/4/; revision=62544
* MFC: add "disable autodisconnect" flagsMatt Jacob2000-07-041-0/+1
| | | | Notes: svn path=/stable/4/; revision=62543
* MFC: Remove all ISP2100_SCCLUN define based code and replace it with runtimeMatt Jacob2000-07-041-27/+27
| | | | | | | | | comparisons against the tag isp_maxluns- if > 16, we're SCCLUN based. On initial regular SCSI startup, disable auto-disconnect. Notes: svn path=/stable/4/; revision=62542
* MFC: Fix completely stupid and idiotiuc sprintfs in isp_inline.h withMatt Jacob2000-07-041-39/+33
| | | | | | | | | | | | | with the STRNCAT function. Add an isp_handle_index function- this is prepatory to loading more into the handle (i.e., generation number), so we will now need a function that will take a handle and return a flat index [ 0 .. maxhandles-1 ] for auxillary routines that need an index to get at buddy store values (like dma maps or xflist pointers). Notes: svn path=/stable/4/; revision=62540
* MFC: Roll platform minor number. Force definition of SCSI_ISP_FABRICMatt Jacob2000-07-041-28/+107
| | | | | | | | | | | | | | | | | | | | | | | | | (we always support fabric now). Remove SCCLUN definition (we always support SCCLUN now, if we load the f/w). Add typedef definition of an external firmware fetch function. Clean up private storage so that we can use the spriv_field0 to store a bitmask of whether we've set a value into ccb->ccb_h.status, whether we're in the watchdog routine for this command now, whether we've set a grace period for this command and whether this command is actually done. See comments of rev 1.45 of isp.c for more complete information. Add in isp_lock/isp_unlock inlines. Add in an islocked/intsok flag to isp_osinfo substructure (all in prep for SMP). Define MBOX_WAIT_COMPLETE and MBOX_NOTIFY_COMPLETE macros so that we can now (temp) use tsleep to wait for mailbox completion. Requires us to guess whether we're servicing an interrupt or not- will use intr_nesting_level. Add local strncat function. Notes: svn path=/stable/4/; revision=62539
* MFC (1.35, 1.36, 1.37, 1.38, 1.39, 1.40): (yes, these should be a betterMatt Jacob2000-07-041-139/+215
| | | | | | | set of comments- basically synchronization of changes to watchdog timeouts). Notes: svn path=/stable/4/; revision=62538
* MFC (revisions 1.42 - 1.46) - I'm not going to replicate all of theMatt Jacob2000-07-041-493/+441
| | | | | | | comments- particularily for 1.45. Notes: svn path=/stable/4/; revision=62537
* MFC: Remove asm_pci.h from this branch- we now have the ispfw module.Matt Jacob2000-07-041-32639/+0
| | | | Notes: svn path=/stable/4/; revision=62531
* MFC: Pull in the latest firmware and add the ispfw module to this branch.Matt Jacob2000-07-041-3/+1
| | | | Notes: svn path=/stable/4/; revision=62530
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-07-045-0/+13631
| | | | Notes: svn path=/stable/4/; revision=62529
* MFC:Nick Hibma2000-07-022-0/+13
| | | | | | | | | | | Add rudimentary support for detach Be better behaved when initialisation fails, i.e. deallocate resources. Make the message about setting up the BIOS correctly a i386 specific thing. Add the define for the 440MX motherboard (ICH0, UHCI) Save the resources in the softc Notes: svn path=/stable/4/; revision=62410
* MFC:Nick Hibma2000-07-021-86/+77
| | | | | | | | Make the hub driver behave more like Windows does. Some device rely on a specific boot up sequence for them to work right *sigh* Notes: svn path=/stable/4/; revision=62409
* MFC:Nick Hibma2000-07-021-8/+16
| | | | | | | | | | | | Add define for Zip 250. Add detection code for InSystem USB cable. Make some code less ambiguous. (Y-E Data floppy) We match on the device, not the revision of the device/ Make two printfs distinct so it is easier to spot where the problem occurred. Notes: svn path=/stable/4/; revision=62408
* MFC: Add define for OpenBSD. Fix typo.Nick Hibma2000-07-021-2/+2
| | | | Notes: svn path=/stable/4/; revision=62407
* MFC: Hide a DPRINTF behind level 2.Nick Hibma2000-07-021-1/+1
| | | | Notes: svn path=/stable/4/; revision=62406
* MFC: Remove define that is no longer neededNick Hibma2000-07-021-3/+1
| | | | Notes: svn path=/stable/4/; revision=62405
* MFC:Nick Hibma2000-07-021-1/+5
| | | | | | | Additional quirks for Wacom Tablet and MCT hubs Notes: svn path=/stable/4/; revision=62404
* MFC:Nick Hibma2000-07-021-7/+70
| | | | | | | | Implement SIGIO. Add additional debugging info Notes: svn path=/stable/4/; revision=62403
* MFC: Additional defines.Nick Hibma2000-07-021-0/+3
| | | | Notes: svn path=/stable/4/; revision=62402
* MFC: Update the NetBSD IdNick Hibma2000-07-021-1/+1
| | | | Notes: svn path=/stable/4/; revision=62401
* Reset all endpoints on open.Nick Hibma2000-07-021-4/+17
| | | | Notes: svn path=/stable/4/; revision=62400
* MFC: Swapped commentsNick Hibma2000-07-021-3/+3
| | | | Notes: svn path=/stable/4/; revision=62399
* MFC: Update Lennart's e-mail address.Nick Hibma2000-07-0228-28/+28
| | | | Notes: svn path=/stable/4/; revision=62398
* MFC: maintain the proper old position in the HID decoder. Change Lennart'sNick Hibma2000-07-021-5/+5
| | | | | | | e-mail address Notes: svn path=/stable/4/; revision=62395
* MFC: Only detect Linksys PCMCIA cards when in a pccard environment.Paul Saab2000-07-013-22/+18
| | | | Notes: svn path=/stable/4/; revision=62314