summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make the standard 'lpq' output a little more informative when listing jobsgad2000-10-311-12/+39
| | | | | | | which have long names. Instead of just listing '...', try to list some reasonable subset of the name (with a "..." to indicate something missing). Reviewed by: freebsd-print@bostonradio.org (only a little review)
* Fix 'lpq' so it can correctly display jobs which come from hosts usinggad2000-10-311-9/+44
| | | | | | 'lprNG' (which writes control-lines in a different order than our lpr). Reviewed by: freebsd-print@bostonradio.org
* Generate bmov instructions for all move requests. The drivergibbs2000-10-311-3/+3
| | | | | converts these to an equivalent 'and' operation on chips that don't support this opcode.
* aic7xxx.c:gibbs2000-10-318-368/+706
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Filter incoming transfer negotiation requests to ensure they never exceed the settings specified by the user. In restart sequencer attempt to deal with a bug in the aic7895. If a third party reset occurs at just the right time, the stack register can lock up. When restarting the sequencer after handling the SCSI reset, poke SEQADDR1 before resting the sequencers program counter. When something strange happens, dump the card's transaction state via ahc_dump_card_state(). This should aid in debugging. Handle request sense transactions via the QINFIFO instead of attaching them to the waiting queue directly. The waiting queue consumes card SCB resources and, in the pathological case of every target on the bus beating our selection attemps and issuing a check condition, could have caused us to run out of SCBs. I have never seen this happen, and only early cards with 3 or 4 SCBs had any real chance of ever getting into this state. Add additional sequencer interrupt codes to support firmware diagnostics. The diagnostic code is enabled with the AHC_DEBUG_SEQUENCER kernel option. Make it possible to switch into and out of target mode on the fly. The card comes up by default as an initiator but will switch into target mode as soon as an enable lun operation is performed. As always, target mode behavior is gated by the AHC_TMODE_ENABLE kernel option so most users will not be affected by this change. In ahc_update_target_msg_request(), also issue a new request if the ppr_options have changed. Never issue a PPR as a target. It is forbidden by the spec. Correct a bug in ahc_parse_msg() that prevented us from responding to PPR messages as a target. Mark SCBs that are on the untagged queue with a flag instead of checking several fields in the SCB to see if the SCB should be on the queue. This makes it easier for things like automatic request sense requests to be queued without touching the untagged queues even though they are untagged requests. When dealing with ignore wide residue messages that occur in the middle of a transfer, reset HADDR, not SHADDR for non-ultra2 chips. Although SHADDR is where the firmware fetches the ending transfer address for a save data pointers request, it is readonly. Setting HADDR has the side effect of also updating SHADDR. Cleanup the output of ahc_dump_card_state() by nulling out the free scb list in the non-paging case. The free list is only used if we must page SCBs. Correct the transmission of cdbs > 12 bytes in length. When swapping HSCBs prior to notifing the sequencer of the new transaction, the bus address pointer for the cdb must also be recalculated to reflect its new location. We now defer the calculation of the cdb address until just before queing it to the card. When pulling transfer negotiation settings out of scratch ram, convert 5MHz/clock doubled settings to 10MHz. Add a new function ahc_qinfifo_requeue_tail() for use by error recovery actions and auto-request sense operations. These operations always occur when the sequencer is paused, so we can avoid the extra expense incurred in the normal SCB queue method. Use the BMOV instruction for all single byte moves on controllers that support it. The bmov instruction is twice as fast as an AND with an immediate of 0xFF as is used on older controllers. Correct a few bugs in ahc_dump_card_state(). If we have hardware assisted queue registers, use them to get the sequencer's idea of the head of the queue. When enumerating the untagged queue, it helps to use the correct index for the queue. aic7xxx.h: Indicate via a feature flag, which controllers can take on both the target and the initiator role at the same time. Add the AHC_SEQUENCER_DEBUG flag. Add the SCB_CDB32_PTR flag used for dealing with cdbs with lengths between 13 and 32 bytes. Add new prototypes. aic7xxx.reg: Allow the SCSIBUSL register to be written to. This is required to fix a selection timeout problem on the 7892/99. Cleanup the sequencer interrupt codes so that all debugging codes are grouped at the end of the list. Correct the definition of the ULTRA_ENB and DISC_DSB locations in scratch ram. This prevented the driver from properly honoring these settings when no serial eeprom was available. Remove an unused sequencer flag. aic7xxx.seq: Just before a potential select-out, clear the SCSIBUSL register. Occasionally, during a selection timeout, the contents of the register may be presented on the bus, causing much confusion. Add sequencer diagnostic code to detect software and or hardware bugs. The code attempts to verify most list operations so any corruption is caught before it occurs. We also track information about why a particular reconnection request was rejected. Don't clobber the digital REQ/ACK filter setting in SXFRCTL0 when clearing the channel. Fix a target mode bug that would cause us to return busy status instead of queue full in respnse to a tagged transaction. Cleanup the overrun case. It turns out that by simply butting the chip in bitbucket mode, it will ack any bytes until the phase changes. This drasticaly simplifies things. Prior to leaving the data phase, make sure that the S/G preload queue is empty. Remove code to place a request sense request on the waiting queue. This is all handled by the kernel now. Change the semantics of "findSCB". In the past, findSCB ensured that a freshly paged in SCB appeared on the disconnected list. The problem with this is that there is no guarantee that the paged in SCB is for a disconnected transation. We now defer any list manipulation to the caller who usually discards the SCB via the free list. Inline some busy target table operations. Add a critical section to protect adding an SCB to the disconnected list. aic7xxx_freebsd.c: Handle changes in the transfer negotiation setting API to filter incoming requests. No filtering is necessary for "goal" requests from the XPT. Set the SCB_CDB32_PTR flag when queing a transaction with a large cdb. In ahc_timeout, only take action if the active SCB is the timedout SCB. This deals with the case of two transactions to the same device with different timeout values. Use ahc_qinfifo_requeu_tail() instead of home grown version. aic7xxx_inline.h: Honor SCB_CDB32_PTR when queuing a new request. aic7xxx_pci.c: Use the maximum data fifo threshold for all chips.
* Add the aic7xxx option AHC_DEBUG_SEQUENCER. This enables some diagnosticgibbs2000-10-311-0/+2
| | | | code in the firmware downloaded to the aic7xxx RISC engine.
* 0x03F -> 0x3F for consistancy with the rest of the file.gibbs2000-10-311-1/+1
|
* Allow async transfer negotiation updates to modify tagging behavior.gibbs2000-10-311-3/+1
| | | | | | | | | | The XPT uses this to prevent tags from being used on parallel SCSI interfaces immediately after a bus reset or BDR so that controllers have an oportunity to renegotiate without tag messages in the way. Somehow this got disabled... the functionality has been here for quite some time. Noticed by: my SCSI bus analyzer
* Use do { ... } while (0) to wrap the body of mtx_assert().jhb2000-10-311-2/+2
| | | | Reported by: rwatson
* Swap the order of two tags in the pppoe PADI and PADS packetsjulian2000-10-311-3/+3
| | | | | as there are apparently some buggy switches that need them in that order. (I hope there aren't any that require them in the old order!)
* Fix typo in commentsroger2000-10-313-6/+6
|
* Resolve conflicts.asmodai2000-10-312-19/+37
|
* This commit was generated by cvs2svn to compensate for changes in r68073,asmodai2000-10-3112-559/+1667
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of BIND v8.2.3-T6Basmodai2000-10-3114-560/+1673
| |
* | Fix a fundamental error. The device is not owned by the parentasmodai2000-10-311-1/+1
| | | | | | | | | | | | | | bus before allocation. The resource is. Asked about by: julian on -current Verified by: msmith
* | Upgrade to driver 2.18roger2000-10-315-15/+140
| | | | | | | | | | | | | | Support for new Hauppauge Model 44xxx WinTV Cards (the ones with no audio mux) Submitted by: Christian Gusenbauer <Christian.Gusenbauer@netway.at>
* | Resolve conflicts.asmodai2000-10-314-11/+22
| |
* | This commit was generated by cvs2svn to compensate for changes in r68068,asmodai2000-10-3144-199/+320
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of BIND v8.2.3-T6Basmodai2000-10-3148-210/+342
| |
* | If acpica driver is loaded using kldload(8), warn and just ignore.takawata2000-10-312-0/+10
| |
* | Quiet -Wall.obrien2000-10-311-1/+4
| |
* | Deprecate devsw->d_bmaj entirely.phk2000-10-315-215/+5
| | | | | | | | | | | | | | This removes support for booting current kernels with very old bootblocks. Device driver writers: Please remove initializations for the d_bmaj field in your cdevsw{}.
* | Add missing redirection to /dev/null to prevent disturbinghm2000-10-311-2/+2
| | | | | | | | of fullscreen display.
* | Don't issue a warning if isdncontroller is set to -1hm2000-10-311-2/+2
| |
* | Do not waste a time saving a copy of IP header if we are certainlyru2000-10-311-1/+2
| | | | | | | | not going to send an ICMP error message (net.inet.udp.blackhole=1).
* | Remove unused #includes.phk2000-10-315-35/+0
| | | | | | | | Approved by: nyan
* | Disabled EGA/VGA 1bpp/4bpp modes support. This is not real fix, but this comesnyan2000-10-312-0/+4
| | | | | | | | back to support 8bpp mode.
* | I forgot the driver configuration file for mfsroot.flp.hosokawa2000-10-311-0/+57
| | | | | | | | | | | | http://people.freebsd.org/~hosokawa/driver-floppy/ for details. Reviewed by: current@FreeBSD.org
* | Moved driver modules for some PCI NICs and PCCARD-only NICs to mfsroot.flp.hosokawa2000-10-3115-22/+398
| | | | | | | | | | | | http://people.freebsd.org/~hosokawa/driver-floppy/ for details. Reviewed by: current@FreeBSD.org
* | Correct a bignum.grog2000-10-311-1/+1
| | | | | | | | | | Detected-by: lang/clisp Approved-by: jkh
* | Add support for virgin disklabelsjkh2000-10-314-68/+298
| | | | | | | | Submitted by: dillon
* | Add a new ioctl for doing virgin disklabels.jkh2000-10-314-0/+37
| | | | | | | | Submitted by: dillon
* | remove duplicated item.sanpei2000-10-311-5/+0
| | | | | | | | | | | | "Laneed Wireless card" is "ELECOM *Laneed* Air@Hawk/LD-WL11/PCC Wireless card" which was already committed.
* | I'm dropping the MAINTAINER request and see what happens. If it becomesmjacob2000-10-311-2/+0
| | | | | | | | | | too hard for me to keep in sync with other platforms, FreeBSD will go it's own way.
* | Filter out some more magic environment variables used by libraries linkedkris2000-10-313-4/+11
| | | | | | | | | | | | | | | | with telnetd. This should really be done with a positive filter - i.e. only allow through a configured list of variables. Also do some buffer-safety cleanups while I'm here - I don't think these are exploitable.
* | Forgotten RELEASE_CRUNCH hack for mppe.c.hosokawa2000-10-311-2/+2
| | | | | | | | This fix is for "make release" and "make boot.flp".
* | Makefile for ACPI CA base acpi driver kernel module.takawata2000-10-312-0/+102
| | | | | | | | This module is intended to be loaded from /boot/loader,not from kldload(8).
* | Oops, in previous commit(rev.1.4), I replacedsanpei2000-10-311-6/+6
| | | | | | | | | | pitch and duration only in ``struct'', I forgot to replace these in sysbeep and timeout, sorry.
* | fix the sigaltstack hack by lowering the stack size to the original valuegallatin2000-10-311-0/+2
| | | | | | | | | | if the request was for less than MINSIGSTKSZ (in which case we "round up"). discussed with: marcel
* | Use the new-style ngpppoe_init_data structure.brian2000-10-312-6/+3
| | | | | | | | Approved by: archie
* | Change the format of ngpppoe_init_data so that the provider is NULbrian2000-10-312-30/+148
| | | | | | | | | | | | | | | | | | | | | | terminated and the data_len field is no longer necessary. Add ASCII2BINARY and BINARY2ASCII capabilities. The old format is still understood and dealt with, but can't do the ASCII2BINARY and BINARY2ASCII stuff. Approved by: archie
* | Remove vestages of a previous implimentation of "-h".obrien2000-10-311-2/+2
| | | | | | | | Submitted by: Tony Finch <dot@dotat.at>
* | Mention that ``nat deny_incoming'' drops unrecognised IP packets.brian2000-10-312-0/+6
| | | | | | | | Requested by: kris
* | Add pcib_if location to list of *.m files.takawata2000-10-311-1/+1
| |
* | o Document various sysctl's available for managing services availablerwatson2000-10-311-0/+39
| | | | | | | | within jail()
* | o Deny access to System V IPC from within jail by default, as in therwatson2000-10-315-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | current implementation, jail neither virtualizes the Sys V IPC namespace, nor provides inter-jail protections on IPC objects. o Support for System V IPC can be enabled by setting jail.sysvipc_allowed=1 using sysctl. o This is not the "real fix" which involves virtualizing the System V IPC namespace, but prevents processes within jail from influencing those outside of jail when not approved by the administrator. Reported by: Paulo Fragoso <paulo@nlink.com.br>
* | Convert the de driver into a loadable module. Still missing is anmarkm2000-10-314-145/+36
| | | | | | | | | | | | | | | | unload method. Lots of old cruft is removed. Thanks to WPaul for large clue-injection and debugging services. Reviewed by: wpaul
* | GCC uses .asm files on the Alpha for crt{begin,end}.o rather thanobrien2000-10-311-9/+30
| | | | | | | | | | | | crtstuff.c as they do for other platforms. Moral support from: jdp
* | Move 'tw*' after 'twe*' so that it's possible to create the control devicemsmith2000-10-311-5/+5
| | | | | | | | | | | | for the 'twe' driver. This is an expedient solution for an actually-manifesting symptom of a major problem with MAKEDEV. Roll on DEVFS.
* | Call dc_apply_fixup() in dc_setcfg() for the MII case.wpaul2000-10-312-0/+8
| |
* | Grrr. The 'reg' variable in dc_apply_fixup() needs to be a u_int32_t, notwpaul2000-10-302-2/+2
| | | | | | | | | | a u_int8_t. Pass the conical hat. This should fix certain cardbus 21143 cards that require SROM h0h0magic in order to enable their transceivers.
OpenPOWER on IntegriCloud