summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* This commit was generated by cvs2svn to compensate for changes in r58310,ache2000-03-1973-1326/+4510
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Initial import of v4.1ache2000-03-1982-1641/+5025
| |
| * This commit was manufactured by cvs2svn to create branchcvs2svn1999-05-281-0/+3
| | | | | | | | 'VENDOR-libreadline'.
* | Add a new flag: -E enables "extended" regular expressions.green2000-03-194-8/+21
| |
* | Add $FreeBSD$.green2000-03-191-1/+2
| |
* | Enable the K6-2 MTRR driver again, since there are reports of it workinggreen2000-03-191-1/+1
| | | | | | | | | | | | with the applied change. Submitted by: Coleman Kane <cokane@one.net>
* | Set the bits in the mask from the left to the right, not backwards.green2000-03-191-1/+1
| | | | | | | | Submitted by: Coleman Kane <cokane@one.net>
* | Fix typo.asmodai2000-03-191-1/+1
| |
* | Trim trailing whitespace.asmodai2000-03-192-10/+10
| |
* | Document the sysctl knob for setting the severity of the SPLASSERTasmodai2000-03-192-0/+32
| | | | | | | | | | | | macros. Reviewed by: ps
* | Merged from sys/isa/fd.c.kato2000-03-192-488/+490
| |
* | o Fix typo in the RapidFire 3540 adapter namelile2000-03-191-3/+3
| | | | | | | | | | | | | | | | | | 4/16/100 -> 100/16/4 so that it matches all of the others. o Since we went to all the trouble of getting the correct working memory size actually use it. * Submitted by: Nikolai Saoukh <nms@otdel-1.org>
* | Define PC98 when MACHINE == pc98, because msdos_vfsops.c containskato2000-03-192-0/+8
| | | | | | | | `#ifdef PC98'.
* | Make SPLASSERT sysctl and boot time tunable with kern.splassertmode.ps2000-03-192-2/+70
| | | | | | | | | | | | | | | | | | The following values are understood: 0 (ignore), 1 (log), and 2 (panic). The default value is 1. Reviewed by: peter
* | Spell Jonathan's name correctly in the copyright. Which is funny,asmodai2000-03-191-2/+3
| | | | | | | | | | | | considering the fact he wrote it himself. =) Also add his email address in the AUTHORS section.
* | Merged from sys/i386/i386/userconfig.c rev 1.178.kato2000-03-191-105/+99
| |
* | Add the manpage for CONDSPLASSERT().asmodai2000-03-192-1/+92
| | | | | | | | This was based upon the manpage written by jmb for SPLASSERT().
* | Added COMPAT_OLDPCI and COMPAT_OLDISA options.kato2000-03-192-0/+4
| |
* | Add the COMPAT_OLDPCI option for the alpha so GENERIC compiles.peter2000-03-192-0/+2
| |
* | Document and supply COMPAT_OLDPCI and COMPAT_OLDISA so 'make release'peter2000-03-195-0/+10
| | | | | | | | still works.
* | Connect the ISA and PCI compatability shims to an option. In this casepeter2000-03-1912-8/+53
| | | | | | | | | | | | | | | | it's options COMPAT_OLDISA and COMPAT_OLDPCI. This is meant to be a fairly strong incentive to update the older drivers to newbus, but doesn't (quite) leave anybody hanging with no hardware support. I was talking with a few folks and I was encouraged to simply break or disable the shims but that was a bit too drastic for my liking.
* | Completely decouple userconfig from 'struct isa_device' and friends.peter2000-03-191-105/+99
| | | | | | | | | | Userconfig was only using this for convenience since newbus, and even then it was rather inconvenient.
* | Add some diagnostics to prove that incoming IP fragments arebrian2000-03-191-2/+12
| | | | | | | | being dealt with correctly.
* | Remove the old a.out-only boot loader, we don't use it any more.peter2000-03-1984-16133/+1
| | | | | | | | | | | | | | | | The new boot1/boot2 can load a.out and elf kernels directly. I think the sys/pc98 version can go too as the sys/boot/pc98 code appears to be functional, but I'll leave that for the pc98 folks. "There can be only one."
* | Add conditional splassert.ps2000-03-191-1/+6
| | | | | | | | Reviewed by: peter
* | Add device isic to the ASUSCOM_IPAC entry.asmodai2000-03-193-15/+18
| | | | | | | | Remove quotes around some i4b options to be consistent with the rest.
* | Add and document a NO_X knob to force disabling of X support in doscmdkris2000-03-193-2/+4
| | | | | | | | Requested by: sysop@silver.komanda.com.ua
* | Make _FindLinkIn() static and only define GetDestPort whenbrian2000-03-192-4/+8
| | | | | | | | NO_FW_PUNCH isn't defined.
* | Modify if_wi.c to call bpfdetach(ifp) before if_detach(ifp), so as torwatson2000-03-192-0/+4
| | | | | | | | | | | | | | | | prevent a page fault if the card is ejected while BPF is in use. This could happen if DHCP or tcpdump was in use on that interface during ejection. Other drivers may also require this modification. Reviewed by: wes
* | The advent of if_detach, allowing interface removal at runtime, makes itrwatson2000-03-192-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | possible for a panic to occur if BPF is in use on the interface at the time of the call to if_detach. This happens because BPF maintains pointers to the struct ifnet describing the interface, which is freed by if_detach. To correct this problem, a new call, bpfdetach, is introduced. bpfdetach locates BPF descriptor references to the interface, and NULLs them. Other BPF code is modified so that discovery of a NULL interface results in ENXIO (already implemented for some calls). Processes blocked on a BPF call will also be woken up so that they can receive ENXIO. Interface drivers that invoke bpfattach and if_detach must be modified to also call bpfattach(ifp) before calling if_detach(ifp). This is relevant for buses that support hot removal, such as pccard and usb. Patches to all effected devices will not be committed, only to if_wi.c, due to testing limitations. To reproduce the crash, load up tcpdump on you favorite pccard ethernet card, and then eject the card. As some pccard drivers do not invoke if_detach(ifp), this bug will not manifest itself for those drivers. Reviewed by: wes
* | Missing pieces of the last commit ;-(yokota2000-03-193-33/+96
| |
* | - Properly keep track of I/O port resources.yokota2000-03-1915-308/+483
| | | | | | | | - Use bus_space_read/write() to access the ports.
* | o Replace the old "oltr" driver with the completely re-writtenlile2000-03-186-7141/+9210
| | | | | | | | | | | | | | | | | | | | | | new-bus Olicom driver, previously known as "ol". The new driver unfortunately does not support ISA cards yet. o Update the microcode files, interface library and include files to the latest PowerMACH works version. Force even byte alignment of adapter microcode. o Roll in some of the patches from Nikolai Saoukh <nms@ethereal.ru>.
* | Remove the old DSC code, it doesn't work anymore.sos2000-03-184-52/+5
| |
* | Explicitly include sys/cdefs.h to get the definition of __strong_reference(),jasone2000-03-183-0/+3
| | | | | | | | rather than getting lucky due to header dependencies.
* | o Correct the offsets into the syncrate table for paritculargibbs2000-03-183-96/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | negotiation features (DT, ULTRA2, ULTRA, FAST). The offsets where not properly updated when the DT entry was added and so the driver could attempt to negotiate a speed faster than that supported by the target device or even requested by the user via SCSI-Select settings. * o Update the target mode incoming command queue kernel index value ever 128 commands instead of 32. This means that the kernel will always try to keep its index (as seen on the card - the kernel may actually have cleared more space) 128 commands ahead of where the sequencer is adding entries. o Use the HS_MAILBOX register instead of the KERNEL_TQINPOS location in SRAM to indicate the kernel's target queue possition on Ultra2 cards. This avoids the "pause bug" on these cards and also turns out to be much more efficient. o When enabling or disabling a particular target id for target mode, make sure that the taret id in the SCSIID register does not reference an ID that is not to receive target selections. This is only an issue on chips that support the multiple target id feature where the value in SCSIID will still affect selection behavior regardless of the values in the target id bit field registers. o Remove some target mode debugging printfs. o Make sure that the sense length reported in ATIO commands is always zero. This driver does not, yet, report HBA generated sense information for accepted commands. o Honor the CAM_TIME_INFINITY and CAM_TIME_DEFAULT values for the CCB timeout field. o Make the driver compile with AHC_DEBUG again. * Noticed by: Andrew Gallatin<gallatin@cs.duke.edu>
* | Use __alias__ instead of alias in the definition of __strong_reference().jasone2000-03-181-1/+1
| | | | | | | | Submitted by: jdp
* | KNR -> ANSI function definition in two places. This matches the rest ofgibbs2000-03-181-5/+2
| | | | | | | | the code in this driver.
* | o clear the ccb_flags field before sending an accept target I/O ccb togibbs2000-03-181-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | an HBA. Garbage in this field confuses the driver in targdone(). o When completing a CCB on behalf of a user process, we need to *de-queue* the ccb from our pending ccb list, not queue it again. o All continue target I/O operations need to have a timeout set. We use 5 seconds throughout this driver. o Remove some logging printfs. o During abort processing, remove ccbs that are on the pending queue from the pending queue, not the work queue.
* | Per Justin's request- remove his name from Copyright.mjacob2000-03-181-6/+1
| |
* | After about two months I am the first to notice that SPLASERT.9 neverasmodai2000-03-182-5/+5
| | | | | | | | | | | | | | got installed. Also, correct the copyright to a more realistic date (1996->2000). Fix some wordings and omissions.
* | Sigh, it would have been nice but I just can't make the rsarefjkh2000-03-183-0/+6
| | | | | | | | | | hack work until we figure out some better way of handling package interaction.
* | Put ASUSCOM_IPAC in the section where it belongs, namely i4b.asmodai2000-03-183-9/+9
| |
* | Print the PCI resources even if they are disabled. This shows more clearlyn_hibma2000-03-182-12/+24
| | | | | | | | when the BIOS is forgetful about initialising the USB controllers.
* | Add the entries for urio.n_hibma2000-03-181-1/+8
| |
* | Put the undocumented options back at the bottom as per oldasmodai2000-03-183-237/+237
| | | | | | | | | | | | practice. Place the debug options above the undocumented options.
* | Make the Y-E Data PCMCIA floppy of the Toshiba Libretto work underjoerg2000-03-183-489/+489
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -current. It doesn't work yet as stable as the 3.x/PAO version of the driver does, however, i get occasional `FDC direction bit not set' and other weird messages, but it basically works at least. The old (defunct) #ifdef FDC_YE stuff has been eliminated completely now, PCMCIA-FDC specific functions have been implemented differently where needed. Unfortunately, due to the fact that the traditional PeeCee FDC with its funny non-contiguous register space (one register for WD1003 harddisk controllers is interleaved into the FDC register set), and Peter's subsequent changes involving two different bus space handles for normal FDCs, the changes required for the Y-E stuff are more complex than i'd love them to be. I've done my best to keep the logic for normal FDCs intact. Since the Y-E FDC seems to lose interrupts after a FDC reset sometimes, i've also replaced the timeout logic in fd_turnoff() to generate an artificial pseudo interrupt in case of a timeout while the drive has still outstanding transfers waiting. This avoids the total starvation of the driver that could be observed with highly damaged media under 3.x/PAO. This part of the patch has been revied by bde previously. I've fixed a number of occasions where previous commits have been missing the encapuslation of ISA DMA related functions inside FDC_NODMA checks. I've added one call to SET_BCDR() during preparation of the format floppy operation. Floppy formatting has been totally broken before in 3.x/PAO (garbage ID fields have been written to the medium, causing `wrong cylinder' errors upon media reading). This is just black magic, i don't have the slightes idea _why_ this needs to be but just copied over the hack that has been used by the PAO folks in the normal read/write case anyway. The entired device_busy() stuff seems to be pointless to me. In any case, i had to add device_unbusy() calls symmetrical to the device_busy() calls, otherwise the PCMCIA floppy driver could never be deactivated. (As it used to be, it caused a `mark the device busier and busier' situation.) IMHO, all block device drivers should be marked busy based on active buffers still waiting for the driver, so the device_unbusy() calls should probably go to biodone(). Only one other driver (whose name escapes me at the moment) uses device_busy() calls at all, so i question the value of all this... I think this entire `device busy' logic simply doesn't fit for PCMCIA &al. It cannot be the decision of some piece of kernel software to declare a device `busy by now, you can't remove it', when the actual physical power of removing it is the user pulling the card. The kernel simply has to cope with the removal, however busy the device might have been by the time of the removal, period. Perhaps a force flag needs to be added? Upon inserting the card a second time, i get: WARNING: "fd" is usurping "fd"'s cdevsw[] WARNING: "fd" is usurping "fd"'s bmaj I suspect this is related to the XXX comment at the call to cdevsw_add(). Does anybody know what the correct way is to cleanup this?
* | Reflect the fact that we supported the Y-E Data floppy as well.n_hibma2000-03-181-0/+4
| |
* | The completely rewritten USB Mass Storage driver. It supports the followingn_hibma2000-03-182-432/+2193
| | | | | | | | | | | | | | | | | | | | | | | | devices: Tested: Zip 100 USB drive Y-E Data USB floppy drive Untested: (let me know whether or not it works!) TEAC USB floppy drive Zip 250 USB drive
* | Document three debug options: npx, bus and vfs locks debugging.asmodai2000-03-183-9/+15
| |
OpenPOWER on IntegriCloud