summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Only include <sys/diskslice.h> ifdef NO_GEOMphk2003-01-201-1/+1
|
* Remove need for <sys/diskslice.h> but retain numerical compatibilty just in ↵phk2003-01-201-2/+1
| | | | case.
* Use NEXTDOSPART instead of MAX_SLICES.phk2003-01-202-5/+4
|
* We need neither <sys/diskslice.h> nor <sys/disklabel.h> here.phk2003-01-201-2/+0
|
* Add a NEXTDOSPART definition here as well, for the benefit of biosdisk.c inphk2003-01-201-0/+1
| | | | | | the bootcode. I don't think there acturally are any extended partitions on pc98, and this define may merely help cover up the fact that the biosdisk.c was insufficiently scrubbed when copy&pasted from i386.
* Add NEXTDOSPART (N-Extended-Dos-Partitions) as replacement for thephk2003-01-201-0/+1
| | | | misplaced MAX_SLICES from <sys/diskslice.h>.
* - Hold the page queues lock around vm_page_hold().alc2003-01-202-1/+4
| | | | | - Assert that the page queues lock rather than Giant is held in vm_page_hold().
* Move the vm_page_busy() in pmap_dispose_thread() to a place where it isalc2003-01-201-1/+1
| | | | | covered by the page queues lock. (This actually makes alpha's pmap_dispose_thread() look more like the i386's.)
* Remove a KASSERT that can now happen and add a missing setrunnable.julian2003-01-203-2/+4
|
* - M_WAITOK is 0 and not a real flag. Test for this properly.jeff2003-01-201-5/+4
| | | | | Submitted by: tmm Pointy hat to: jeff
* Re-implemention of the interpolation code used for sample rateorion2003-01-201-53/+308
| | | | | | | | conversion. The new version has improved interpolation accuracy and maintains the timing relationship between the input and output signals exactly. Approved by: cg
* Regenjoe2003-01-202-2/+9
|
* default tx error rate limiting to 0 to disable tx error msgs; this issam2003-01-201-1/+1
| | | | consistent with how the old driver worked
* Support for the "Seiko Epson Perfection 1260 scanner".joe2003-01-202-0/+2
| | | | | Submitted by: Michael Lestinsky <michael@lestinsky.de> MFC After: 3 days
* Small change to the previous commit, zero out the 48BIT flag in ata_commandsos2003-01-192-10/+10
| | | | instead of in dmadone.
* accept short WEP keys for backward compatibilitysam2003-01-191-2/+1
|
* Change BUS_SPACE_UNRESTRICTED (~0ul) to plain ~0 when used in themike2003-01-191-1/+1
| | | | | | | 'int nsegments' argument to bus_dma_tag_create(). ~0ul does not fit in an int on machines with 64 bit longs. Noticed by: alpha tinderbox
* Finally give CCD the disk mini-layer treatment:phk2003-01-193-863/+288
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CAUTION: Previously CCD would be different from all other disks in the system in that there were no "ccd0" device, only a "ccd0c" device. This is no longer so after this commit. If you access a ccd device through the "/dev/ccd0c" device _and_ have not actually put a BSD disklabel on the device, you will have to use the name "/dev/ccd0". If your CCD device contains a BSD disklabel there should be no difference. You need to recompile ccdconfig(8) using the changed src/sys/sys/ccdvar.h for the -g "show me" option to work. I have run the regression test I created before I started overhauling CCD and it flags no problems, but this code is mildly evil, so take care. If you would cry if you lost what's on CCD, make a back before you upgrade. Create separate cdevsw for the /dev/ccd.ctl device. Remove the cloning function, the disk-minilayer will do all naming for us. Remove the ccdunit and ccdpart functions and carry the softc pointer in the relevant dev_t's and structures. Release all memory when a CCD device is unconfigured, previously the softc would linger behind. Remove all traces of BSD disklabel fiddling code. Remove ccdpsize, the disk mini-layer does this for us. Don't allocate memory with M_WAITOK in ccdstrategy(). Remove boundary checks which the disk mini-layer does for us. Don't allocate space for more than 2 ccdbuf, RAID was never implemented. NB: I have not tried to address any of the preexisting ailments of CCD.
* Unifdef -UDEBUG on the CCD driver. The debugging is mostly uselessphk2003-01-192-290/+0
| | | | | | | | and can be added back selectively, should anybody start to interest themselves for the internal workings of ccd. This commit will make the diffs for the following commits much more readable.
* Add support for the ServerWorks CSB6.sos2003-01-192-1/+12
| | | | The support for the 3'rd channel is only experimental.
* #ifdef NO_GEOM these files entirely. When NO_GEOM is removed as anphk2003-01-193-0/+6
| | | | option the files can be removed.
* Remove the last stray NO_GEOM option in our example kernel config files.phk2003-01-191-2/+0
|
* Fix the 48bit access support for the older Promise 66/100 controllers, thesos2003-01-194-16/+26
| | | | | | first attempt was wrong and could cause r/w timeouts. Add yet another Promise PCI id.
* Remove unnecessary locking of Giant around nanotime() in clock_gettime().tjr2003-01-191-2/+0
|
* Mark more code #ifdef NODEVFSphk2003-01-191-1/+6
|
* Originally when DEVFS was added, a global variable "devfs_present"phk2003-01-199-48/+45
| | | | | | | | | | | | was used to control code which were conditional on DEVFS' precense since this avoided the need for large-scale source pollution with #include "opt_geom.h" Now that we approach making DEVFS standard, replace these tests with an #ifdef to facilitate mechanical removal once DEVFS becomes non-optional. No functional change by this commit.
* When we use DEVFS, we don't need the /dev/tty pseudo-driver to dophk2003-01-191-0/+89
| | | | | | | | | | | | more than return ENXIO from its open routine, so most of this file is unneeded. A straight #ifdef'ing would look quite messy, and make the file quite unreadable, so instead I have simply added the DEVFS version of the file at the top, protected by #ifndef NODEVFS. Once we have removed NODEVFS option, we can retain 86 the 86 lines at the top and drop the other 287 lines.
* Move NODEVFS and NO_GEOM to opt_global.h.phk2003-01-191-2/+2
| | | | | | | | This allows me to mark code which they control with #ifdef without polluting files with #includes of opt_devfs.h and opt_geom.h. Once these two options are removed, this will allow mechanical removal of the bits their removal makes obsolete.
* fix ioctl handling for setting wep keyssam2003-01-191-4/+6
|
* useracc() is mpsafe so we only need to hold Giantalfred2003-01-191-10/+5
| | | | | | over the call to nanosleep1() Pointed out by: tjr
* o Move the contents of <machine/floatingpoint.h> over tomarcel2003-01-194-176/+160
| | | | | | | | | | | | | | | <machine/ieeefp.h> where it belongs. o Remove the i386 specific inclusion of <machine/floatingpoint.h> from <ieeefp.h>, now that including <machine/ieeefp.h> is enough for all architectures. o Allow <machine/ieeefp.h> to inline the functions exposed by the headers by checking for _IEEEFP_INLINED_ in the MI header. When defined, prototypes are not given and it is assumed that the MD headers, when inlining only a subset of the functions provide prototypes for the functions not being inlined. Based on patch from: Terry Lambert <tlambert2@mindspring.com> Tested with: make release.
* Complete the support of the on-board xl(4) on nVidia nForce2 mobo's.obrien2003-01-191-0/+3
| | | | Submitted by: Mikko S. Hyvarinen <morphy@morphy.iki.fi>
* Remove miidevs.h and generate it from miidevs at compile time.obrien2003-01-1932-403/+53
| | | | The devlist2h.awk tool to do this has been repocopied to sys/tools/.
* Fix comment about what we do when there are no listeners.imp2003-01-191-13/+3
|
* Make the xl driver work on sparc64:tmm2003-01-192-67/+100
| | | | | | | | | | | | | | | | - Add conversions to/from little endian for fields that the NIC accesses by DMA as required. - Add some bus_dmamap_sync() calls, and correct some existing ones. - Read the receiver information from the EEPROM in an endian-neutral manner. - Load all RX and TX descriptors in a single DMA map up front, and get the bus addresses of individual descriptors by address arithmetic; this fixes multiple use of the descriptor tags, which would have undesired effects. It seems that xl still does not work on e250 boxen, for reasons which are not clear yet. Reviewed by: mux
* Protect against multiple inclusions.obrien2003-01-181-0/+5
|
* Simplify the Makefile by just using our standard PROG variable.obrien2003-01-181-9/+8
|
* Rev 1.16 renamed VM_METER to VM_TOTAL. This is breaking 3rd-party apps.obrien2003-01-181-0/+1
| | | | | | So add a VM_METER compat define. Submitted by: Andy Fawcett <andy@athame.co.uk>
* Optimize away call to bzero() in the common case by directly checkinghsu2003-01-181-6/+3
| | | | if a connection has any cached TAO information.
* Don't try to free() map in bus_dmamap_destroy() when it'smux2003-01-181-1/+1
| | | | | set to &nobounce_dmamap. A similar bug was fixed by wpaul in revision 1.19 of sys/alpha/alpha/busdma_machdep.c.
* Inline now trivial functions getccdbuf() and putccdbuf().phk2003-01-182-106/+16
| | | | Fix another trivial memory-leak.
* Removed unnecessary includes and brought up to date with atagrehan2003-01-181-4/+15
| | | | common code by adding lock functions.
* Fix minor memory-leak.phk2003-01-182-0/+2
|
* Stub profile.h, required for userland builds.grehan2003-01-181-0/+65
| | | | Approved by: Benno
* <machine/ieee.h>, taken from sparc64grehan2003-01-181-0/+146
| | | | Approved by: Benno
* Fix bugs with operand ordering and unnecessary sync/eieio ops. Mostlygrehan2003-01-181-59/+71
| | | | | | obtained from Alpha atomic.h Approved by: Benno
* Allow the MD frame definition to be seen in. Required for truss/ptrace.grehan2003-01-181-3/+1
| | | | Approved by: Benno
* RAIDframe requires LONG_BITgrehan2003-01-182-0/+6
| | | | Approved by: Benno
* Prepended underscores to macro local vars, avoiding gcc "declarationgrehan2003-01-181-6/+6
| | | | | | shadows global" warning Approved by: benno
* Change definition of int64 to avoid gcc3.2.1 complaints. Taken from i386grehan2003-01-181-2/+13
| | | | Approved by: benno
OpenPOWER on IntegriCloud