summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2001-02-09Bad aaron. Broke alpha.Artur Grabowski
2001-02-09Sync with FreeBSD:Aaron Campbell
- Bugfix: 'reg' variable in dc_apply_fixup() needs to be u_int32_t. - Bugfix: bzero() mediainfo structures after allocation. - Call dc_apply_fixup() in dc_setcfg() for the MII case. - Conditionalize some code in miibus_{read,write}reg to make non-mx98713 cards happy.
2001-02-09Add support for parsing the media blocks from the SROM on the 21143 adapters.Aaron Campbell
These changes should make the driver work with the built-in Ethernet on the Alpha Miata machines. From FreeBSD. To make sure I didn't break anything (and as a general test), I tested the modified driver with the following dc(4) variants: Macronix PMAC 98715, Lite-On PNIC, Lite-On PNIC-II, ADMtek AL981, and ADMtek AN983.
2001-02-08Use <scsi/scsi_message.h> defines rather than homegrown ones.Kenneth R Westerback
2001-02-08Cause keypresses to reset the screen in case we are in scrollback (previouslyAaron Campbell
the screen was only restored if a new character was actually displayed on the screen); jcs@rt.fm. This brings us closer to the behavior of PCVT. Also, while I'm here, add some #ifdef so wskbd does not depend on wsdisplay (pointed out to me by fgsch@).
2001-02-07ok, commit this since it most likely to work; i guess now it will get tested ↵Michael Shalayeff
a little bit sooner than in a few months; 10x brad@
2001-02-03new timeoutsMichael Shalayeff
2001-02-03new timeoutsMichael Shalayeff
2001-02-02$OpenBSD$Aaron Campbell
2001-02-02No need for xl(4) to report tx underruns, they are much too common, and theAaron Campbell
driver adjusts itself to compensate anyway; jason@ ok.
2001-01-31OpenBSD does have paddr_t, I can't explain why I thought it didn't; art@Aaron Campbell
2001-01-31Some int -> u_long (I incorrectly converted paddr_t to int when porting this).Aaron Campbell
2001-01-29Fix bug where timeouts triggered too early, caused panic on ATAPI tapes.Niklas Hallqvist
Removed hardcoded WDCDEBUG definitions.
2001-01-29Add wdc_print_current_modes to print current transfer modes set on theConstantine Sapuntzakis
devices. Print after attach in wdc_isa, wdc_isapnp, wdc_pcmcia. pciide_print_modes rewritten to use wdc_print_current_modes. Disable wdc_print_caps since it's not as useful. Inspired by NetBSD. Thanks to Dale and Theo for pointing out this improvement.
2001-01-25spellingTodd T. Fries
2001-01-24KGDB for i386 from NetBSD via niklas, with tweaks and accommodations.Hugh Graham
Tested by various, vetted by mickey & theo.
2001-01-23Restore the WDCF_IRQ_WAIT flag if the lower-level interrupt handler rejectsAaron Campbell
the interrupt. Fixes hangs seen with CompactFlash cards in CardBus slots. Thanks to csapuntz@ for some pointers. Note: this was NetBSD PR/8639.
2001-01-23Add support for Initio INI-91xx SCSI CardsKenneth R Westerback
2001-01-22Initialize xs->stimeout, even when pollingKenneth R Westerback
2001-01-16limit the scsi_link.openings to 128 to be safeMichael Shalayeff
2001-01-15Use xs->stimeout instead of adding a struct timeout to ccbKenneth R Westerback
2001-01-12this is an ugly quick hack, but it works; theo helped (;Michael Shalayeff
2001-01-12add SIOCSIFMTU; angelos@ coachedTodd T. Fries
2001-01-11no stidebugMichael Shalayeff
2001-01-11fix a few types and alignment problemsMichael Shalayeff
2001-01-10BSS mode by default.Angelos D. Keromytis
2001-01-09Add in a ISP_CFG_NOINIT flag (other platform stuff). Define some ofmjacob
the async code event changes. Note (for __GNUC__) that isp_prt has __attributes__'s of __format__/__printf__....
2001-01-09Add some FC specific state flag defines (for status completionmjacob
entries). Add some defines for the SNS "Register FC4 Type" subcommand.
2001-01-09Add offsets for WWPN && OXID that FC f/w stuffs into an ATIO2.mjacob
2001-01-09Follow changes to some async event codes.mjacob
2001-01-09Make some strings constant (from Bill Sommerfeld @ NetBSD). Clean up somemjacob
wwn handling. Do a Register FC4 Type (so that we can work with McData switches). Allow F-port topologies to use the target range 0..125 for logging in fabric devices. We changed ISPASYNC_PDB_CHANGED to ISPASYNC_LOGGED_INOUT and now use ISPASYNC_CHANGE_NOTIFY for both loop && fabric events.
2001-01-07fix a few scsi_done() usages.Michael Shalayeff
simplify locking a bit. disable write cache if said so in the scsi_xfer. a few more commands, from freebsd.
2000-12-17initialize dinfo alwaysMichael Shalayeff
2000-12-17Compaq SMART Array RAID controllers.Michael Shalayeff
based on netbsd driver. testing helps from brad@ eisa untested, but should work (;
2000-12-13new timeoutsMichael Shalayeff
2000-12-13better new timeoutsMichael Shalayeff
2000-12-13new timeouts; hmm why it's not in generic?Michael Shalayeff
2000-12-13new timeoutsMichael Shalayeff
2000-12-13new timwouts; art@ okMichael Shalayeff
2000-12-10support newer cy cards; elektrosatan@voltagenoir.org, pr#1479Theo de Raadt
2000-12-08This update should cause the adw driver to:Kenneth R Westerback
- actually check the returned scsi_status value and act accordingly instead of ALWAYS returning XS_NOERROR - always return the scsi status value in xs->status for completed requests - no longer reference ccb->xs and ccb->dmamap_xfer if an 'unallocated' ccb is encountered - immediately remove the ccb adw_isr_callback is working on from the pending list, leaving it in limbo until it is put on the free list just before any return - 'freeze' a target only when a scsi_status indicating it is busy is encountered, and 'thaw' a target whenever a bus reset is done or a request completes - check done_status, host_status and scsi_status in that order as is done in the linux driver and was done here until very recently, which seems cleaner to me. But opinions may vary. The only behaviour change that should result is that done_status of QD_NO_STATUS no longer causes a check of host_status values, but is an error causing a XS_DRIVER_STUFFUP - produce a more general error message with actual values for host_status, scsi_status and done_status values, with references to adw(4) for more details on the error where appropriate (man page update coming) - take what seems like appropriate action for all known host_status, scsi_status and done_status values with more use of XS_RESET where appropriate - use adw_reset_bus() instead of AdwResetSCSIBus() in adw_async_callback() so pending requests are requeued and devices left unfrozen when this happens - print an error message with the code # when adw_async_callback is called with an unknown code.
2000-12-06s/packed/__packed__/Michael Shalayeff
2000-12-06new timeouts; art@ okMichael Shalayeff
2000-12-06Update isp codebase to current common head- USEC_SLEEP macro added,mjacob
instrumentation for interrupts, specific topology preferences for the 2200. Fix the hole in the OpenBSD port becuause there'd been no maxluns limit from the midlayer and have the command routine bounce commands > the maxluns for a particular controller (in particular, Qlogic FC cards where we can't tell when it hasn't been us that have loaded the F/W whether or not SCCLUN is in effect or not).
2000-11-22Set visible offset properly.Aaron Campbell
2000-11-16Note support for Accton EN1217 and EN2242 Ethernet adapters.Aaron Campbell
2000-11-15This driver supports PC display adapter hardware within the wscons(4)Aaron Campbell
console framework. It doesn't provide direct device driver entry points but makes its functions available via the internal wsdisplay(4) interface. The pcdisplay driver is indended as a minimal ``catch-all'' driver for the different kinds of MDA or CGA compatible adapters. It doesn't support multiple screens, nor colors or font loading. From NetBSD. Contains routines used by the vga(4) and ega(4) drivers, etc. This is more MI stuff in prepartion for wscons on i386 and alpha.
2000-11-156845 controller register definitions for vga(4) driver.Aaron Campbell
2000-11-15Updated VGA driver; from NetBSD. Needed for wscons on i386 and alpha. TheseAaron Campbell
files could probably be updated even a bit further (they are from mid-summer). In addition, I've added support for console scrollback, somewhat inspired by Linux's vgacon driver. Basically, instead of allocating our own buffer and doing lots of copies, we take advantage of Video RAM and just modify the VGA display origin register as appropriate. This approach has a few advantages: simple to implement, no wasted KVM, it's fast, and after a boot you can now scroll back all the way to the BIOS messages (assuming your msgbuf is of a typical length :). Disadvantages are that the VRAM buffer is relatively small (only 32k) and we do not support raster devices through this method. (thanks to mickey@ for pointing this out). The code for this is fairly unobtrusive, so should we come up with a better approach to console scrollback at a later time (i.e., even more platform independent) it should be easy to revert this. We're one step further in porting nice features of PCVT over to wscons.
2000-11-13Machine-independent PC-like keyboard driver; from NetBSD. XXX - Not usedAaron Campbell
anywhere quite yet, but useful to have these files in the tree while we work towards wscons for i386 and alpha.