summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Clean up some debug printing. Find the correct lun when SCCLUN ismjacob2000-01-041-25/+43
| | | | | defined. If we complete with a check condition but no sense data, say we had an AUTOSENSE failure.
* Make Fibre Channel cards correctly note the presence/absencemjacob2000-01-041-3/+11
| | | | | of ARQ data and punt the dealing with its presence/absence to the platform layers.
* set default target mode debug to 0mjacob2000-01-041-1/+1
|
* add clarifying tag define for FCmjacob2000-01-041-0/+1
|
* Add in an isp_tdebug environment variable. Clean up some debuggingmjacob2000-01-042-20/+130
| | | | printouts for clarity.
* fix leap year calculationmjacob2000-01-041-1/+2
|
* Ho, ho, ho... this clock chip is not y2k compliant. Motorolamjacob2000-01-041-1/+14
| | | | | | has it blacklisted. Silly us for not planning ahead. Tsk. Anyway- a 10 year window patch is probably sufficient to still detect nonsense in the clock but allow us to roll past the year 2000.
* Add in ISP_TARGET_MODE description.mjacob2000-01-043-0/+9
|
* Add in isp_target.c to be compiled for isp- it'd be nice if we couldmjacob2000-01-041-0/+1
| | | | do conditional file inclusing based on options.
* These are platform independent functions for target mode support.mjacob2000-01-041-0/+1227
| | | | | This is just a first pass at this and is likely to change a bit over the next month.
* These are platform independent definitions for target mode support-mjacob2000-01-031-0/+619
| | | | | | | code gratefully borrowed from Patrick Stirling who did a lot of the grunt work on this years ago. There are also some beginnings of swizzle macros in case we go to a big endian machine. This is just a first pass at this and is likely to change a bit over the next
* Make a static chain of isp softcs- gdb usage becomes a lot easier.mjacob2000-01-031-17/+1079
| | | | | | | | | Add in a very large amount of target mode support code- this is just a first pass at this. It's a difficult thing because some of the code can be in platform independent areas (see isp_target.?) but a lot has to be in platform dependent areas because of not only the tight coupling of received commands/events and the specific OS subsystem but because the platform independent code has (deliberately) no event/wait mechanisms.
* Raise default FCP logintime to 60 seconds. Move the positionmjacob2000-01-031-21/+53
| | | | | | | of where we could have seen the loop up at least once so it makes sense. Change some stuff in ispscsicmd so we don't get stuck there if the loop has never come up yet. Add in some target mode support code.
* Support target mode operations. This involves having some variantmjacob2000-01-032-90/+700
| | | | | | dma mapping callback routines to select from as target mode entries are handled a fair bit differently from normal initiator mode entries.
* Role platform minor revision. Add in some target mode onlymjacob2000-01-031-1/+35
| | | | private structure definitions.
* add isp_print_qentry inline functionmjacob2000-01-031-0/+23
|
* Roll minor revision number and add a more finalized listmjacob2000-01-031-8/+7
| | | | of target mode related enums.
* Add missing target mode flag and fix the RQSTYPE_CTIO0mjacob2000-01-031-1/+2
| | | | to be CTIO as it should be.
* Add options for COMPAT_SVR4 and DEBUG_SVR4 for completeness.newton2000-01-033-0/+6
|
* Need to #include vm_zone.h to pick up inline definition of zfree() so thatnewton2000-01-032-0/+2
| | | | NDFREE() macro from namei.h will be happy.
* Fix link problem on ISA only systems..sos2000-01-031-4/+2
|
* Use MAP_NOSYNC for vnodes without any links in their filesystem.guido2000-01-031-0/+7
| | | | | | | | | This is necessary for vmware: it does not use an anonymous mmap for the memory of the virtual system. In stead it creates a temp file an unlinks it. For a 50 MB file, this results in a ot of syncing every 30 seconds. Reviewed by: Matthew Dillon <dillon@backplane.com>
* Fix typos per PR 15649. Also did some rewording for clarity.archie2000-01-032-34/+38
| | | | | PR: docs/15649 Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>
* prevent kernel panic at suspend/resume.shin2000-01-031-1/+1
| | | | | | confirmed by: sanpei, joe PR: kern/15742
* Make offsetof equivalent with <stddef.h>. This paves the way formarcel2000-01-034-14/+17
| | | | | | further enhancements/reorganisations. Discussed with: bde
* Merge from the following changes.nyan2000-01-033-48/+121
| | | | | | sys/boot/i386/libi386/biosmem.c Rev 1.4 sys/boot/i386/libi386/time.c Rev 1.3 sys/boot/i386/loader/main.c Rev 1.16
* It appears that under certain circumstances that I still can't quite pinwpaul2000-01-033-5/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | down, the dc driver and receiver can fall out of sync with one another, resulting in a condition where the chip continues to receive packets but the driver never notices. Normally, the receive handler checks each descriptor starting from the current producer index to see if the chip has relinquished ownership, indicating that a packet has been received. The driver hands the packet off to ether_input() and then prepares the descriptor to receive another frame before moving on to the next descriptor in the ring. But sometimes, the chip appears to skip a descriptor. This leaves the driver testing the status word in a descriptor that never gets updated. The driver still gets "RX done" interrupts but never advances further into the RX ring, until the ring fills up and the chip interrupts again to signal an error condition. Sometimes, the driver will remain in this desynchronized state, resulting in spotty performance until the interface is reset. Fortunately, it's fairly simple to detect this condition: if we call the rxeof routine but the number of received packets doesn't increase, we suspect that there could be a problem. In this case, we call a new routine called dc_rx_resync(), which scans ahead in the RX ring to see if there's a frame waiting for us somewhere beyond that the driver thinks is the current producer index. If it finds one, it bumps up the index and calls the rxeof handler again to snarf up the packet and bring the driver back in sync with the chip. (It may actually do this several times in the event that there's more than one "hole" in the ring.) So far the only card supported by if_dc which has exhibited this problem is a LinkSys LNE100TX v2.0 (82c115 PNIC II), and it only seems to happen on one particular system, however the fix is general enough and has low enough overhead that we may as well apply it for all supported chipsets. I also implemented the same fix for the 3Com xl driver, which is apparently vulnerable to the same problem. Problem originally noted and patch tested by: Matt Dillon
* Fixed to get the BIOS geometry.nyan2000-01-031-4/+5
|
* truss /usr/bin/suphk2000-01-031-2/+2
| | | | | | | | | | | | | | | | login (or not if root) then exit the shell truss will get stuct in tsleep I dont know if this is correct, but it fixes the problem and according to the commends in pioctl.h, PF_ISUGID is set when we want to ignore UID changes. The code is checking for when PF_ISUGID is not set and since it never is set, we always ignore UID changes. Submitted by: Paul Saab <ps@yahoo-inc.com>
* Remove -g compiler flag.marcel2000-01-031-1/+0
|
* o Add build-tools target for maketabs although it doesn't seem tomarcel2000-01-031-3/+5
| | | | | be used. I therefore won't add it to Makefile.inc1. o Remove -g compilation flags.
* Add support for VIA 82C596 controllersos2000-01-0313-141/+225
| | | | | | | | Better shared irq handeling for Promise & HPT366 controllers Setup prober PIO mode timings on Promise & HPT366 controllers Update Copyright headers to be Y2K compliant :)
* Update NeoMagic entries.billf2000-01-031-1/+9
| | | | Obtained from: NetBSD's pcidevs and billf's Dell laptop.
* untangle some includes and clean up for compilation cleanliness.mjacob2000-01-032-6/+2
|
* Widen width of tag && initiator ids to u_intmjacob2000-01-031-2/+2
| | | | | | | | (from u_int8_t) in ccb_accept_tio structure. This matches usage elsewhere and also allows me to overload the tag id with the RX_ID for fibre channel target mode. Reviewed by: gibbs@freebsd.org
* Update FreeBSD(98) copyright.nyan2000-01-031-1/+1
|
* - Add commented out USB driver entries.nyan2000-01-032-16/+42
| | | | - Reorder network interfaces.
* Connect interrupts and start processing them. We panic on card removalimp2000-01-034-88/+197
| | | | | | | | | | | | | | | | | | | | | | | | now, but we're getting interrupts! o Add pcic_suspend/pcic_resume so we can detach our children on suspention and fix the state of the pcic on resume. o Remove some unused parts of softc. o Centralize resource activation/deactivation for pcic bridge chip in the stylistic pcic_activate/pcic_deactivate. o Add bus_print_child method so we can see the pccard attachment. o Add pcic_identify in an attempt to make it possible to automatically id the pcic devices. This works great, but we cannot divine the irq to use from this method, nor the memory hole. For the moment, KLUDGE irq to be 10 and memory hold to be 0xd0000. o Loose the pnp probe stuff. This may be a big mistake, but it is easy enough to add back later. I did this so the identify routines can do their thing unmolested by pnp information. The whole identify thing may be a bad idea to be ripped out later. o change return type of pcic_intr to void, make it static and ripple this through the code. o Add explicit call to bus_generic_attach at the end of pcic_attach to get any children probed/attached. o add some comments about future directions/questionable things being done at different layers, etc.
* Synced with sys/i386/i386/userconfig.c rev 1.165.kato2000-01-031-0/+1
|
* Synced with sys/i386/conf/GENERIC rev 1.220.kato2000-01-032-0/+2
|
* Synced with sys/i386/conf/Makefile.i386 rev 1.170.kato2000-01-032-8/+4
|
* Do not start/stop DMA transfer if it is already started/stopped.tanimura2000-01-031-22/+41
|
* - Handle an interrupt for csa primarily in the bridge driver,tanimura2000-01-034-56/+195
| | | | | | | | then invoke the children. As the value of HISR can be read only once, pass the HISR to the children via struct csa_bridgeinfo, stored in the ivars of them. - Clear the contents of serial FIFO upon stopping the DMA for playing. This may eliminate buzz on playing. Experimental.
* Don't allow mounting (or mounting R/W) of filesystems with unsupportedbde2000-01-024-38/+68
| | | | | | | | | | | features (except for file types in directory entries, which will be supported soon). Centralized the magic number and compatibility checking. Dropped support for ancient (pre-0.2b) filesystems, as in the Linux version. Our "support" consisted of printing more details in the error message before failing at mount time.
* Move the "sti" instruction to right before the "hlt" to close a tinyphk2000-01-023-6/+3
| | | | | | race condition. Obtained from: bde and/or obrien
* Return ENXIO if there is no device.phk2000-01-022-2/+10
|
* Fix the mess with signed/unsigned longs and ints (inspired by bde).bp2000-01-022-36/+52
| | | | | | Fix potential bug with directory reading. Explicitly limit file size to 4GB (msdos can't handle larger files). Slightly reorganize msdosfs_read() to reduce number of 'if's.
* revert buffer size to 64kcg2000-01-011-1/+2
|
* Update to y2k.imp2000-01-011-2/+2
|
* Merged changes in ext2_fs.h between Linux 1.2.2 and Linux 2.3.35. Thebde2000-01-014-100/+344
| | | | | | | | | | main changes are: - many things are more dynamic; e.g., the inode size is a new parameter in the superblock instead of a constant. - extensions are controlled by new flags in the superblock. - directory entries may have a file type field. These changes are not used yet, except for a spelling change which affects ext2_cnv.c
OpenPOWER on IntegriCloud