summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* I hate noticing bugs after committing. :-(markm2004-04-091-1/+1
| | | | | ALWAYS set up the CPU base identity string. THEN optionally add features.
* Add extra output to show when VIA C3 Nehemiah CPUs have hardwaremarkm2004-04-091-1/+11
| | | | | Random Number Generator (RNG) and/or Advanced Cryptography Engine (ACE).
* Unify on version 1 to be similar to the rest of the tree. After 5-stablenjl2004-04-081-1/+1
| | | | branches, increment version on any API change visible to other modules.
* Remove advertising clause from University of California Regent'simp2004-04-0749-196/+0
| | | | | | | license, per letter dated July 22, 1999 and email from Peter Wemm, Alan Cox and Robert Watson. Approved by: core, peter, alc, rwatson
* The bs driver was replaced with the ct(pc98) driver. takahashi-sanimp2004-04-0711-5588/+0
| | | | (nyan) says this driver is now obsolete and can be removed.
* Uncomment the cy driver since it works again.bde2004-04-051-3/+2
|
* Print cpu features for crusoe processors.dfr2004-04-051-0/+2
|
* Converted the isa probe and attach to new-bus so that this driver worksbde2004-04-051-45/+81
| | | | | | | | | | | | | | | | | | | | | without the (defunct) isa compatibility shims. The new-bus-specific parts are very similar to the ones for the pci probe and attach. This was held up too long waiting for a repo copy to src/sys/dev/cy, so I decided to fix the files in their old place. This gives easier to read and merge diffs anyway. The "count" line in src/sys/conf/files won't be changed until after the repo copy, so old kernel configs that specify a count need not be (and must not be) changed until then. The count is just ignored in the driver. One unfinished detail is dynamic allocation of arrays with <count> and (<count> * 32) entries, and iteration over the arrays. This is now kludged with a fixed count of 10 (up to 10 cards with up to 32 ports each). Prodded by: imp Submitted by: mostly by imp Approved by: imp
* Moved initialization of the lock from the (isa) probe function to thebde2004-04-051-6/+6
| | | | | | | common attach function so that the lock gets initialized in all cases. This fixes breakage of the initialization of the lock in the pci case in rev.1.135 (between the releases of 5.1 and 5.2). The lock is only used in the SMP case, so this bug was not always fatal.
* Remove avail_start on those platforms that no longer use it. (Only amd64alc2004-04-052-4/+0
| | | | does anything with it beyond simple initialization.)
* Remove unused arguments from pmap_init().alc2004-04-051-2/+1
|
* Move the definition of rss() from db_interface.c to cpufunc.h wheremarcel2004-04-032-13/+8
| | | | | | it belongs. Change the implementation to match those of rfs() and rgs() for consistency and irrespective of whether the original was more correct or not (technically speaking).
* Unbreak LED support on Elan cpus.phk2004-04-031-6/+7
|
* In some cases, sf_buf_alloc() should sleep with pri PCATCH; in others, italc2004-04-032-3/+3
| | | | | | | should not. Add a new parameter so that the caller can specify which is the case. Reported by: dillon
* Moved 3ware 9000 driver (twa) stuff from sys/conf/NOTES to /sys/i386/conf/NOTES.vkashyap2004-04-021-0/+8
|
* Fix booting with ps2 keyboards.alfred2004-04-011-1/+0
|
* Initial check-in of the device driver for 3ware's 9000 seriesvkashyap2004-03-301-0/+1
| | | | | PATA/SATA RAID controllers. This driver is a SIM under CAM, and so, behaves like a driver for a SCSI controller.
* Finish tidying up a couple of leftovers from the KSTACK_PAGES stuff. Somepeter2004-03-291-1/+0
| | | | files still #included the opt_ file. powerpc hadn't been updated yet.
* Regen from ibcs2_wait() becoming MPSAFE.rwatson2004-03-283-5/+4
| | | | Submitted by: Dan Nelson <dnelson@allantgroup.com>
* ibcs2_wait() now MPSAFE.rwatson2004-03-281-1/+1
| | | | Submitted by: Dan Nelson <dnelson@allantgroup.com>
* Use the BSD madvise() syscall implementation for Linux binary emulation,bms2004-03-285-8/+3
| | | | | | | | instead of treating it as an unimplemented syscall. This appears to make StarOffice 7.0 Linux binaries work according to submitter; also tested with nvidia driver by submitter. Submitted by: Matthias Schuendehuette
* The kthread_create() API is supposed to allow you to create threadswpaul2004-03-221-3/+4
| | | | | | | | | | | | | | | | | | | with more than the normal amount of stack pages, however the stack pointer always wound up being initialized using KSTACK_PAGES. It should be using td->td_kstack_pages instead. This means that although the vm subsystem would give you all the stack pages you asked for, %esp would always be initialized as if you had just 2 pages, and the rest would go to waste. I wanted to use the 'give me more stack pages' feature of kthread_create() because the Intel 2200BG NDIS driver does an alloca() of about 5000 bytes, which wrecks the stack with the default 2 page size, and I was baffled that no matter how much code I shoved into thread contexts with allegedly larger stacks, the thing would still crash unless I changed KSTACK_PAGES. Note: this bug is present in _ALL_ arches at this point. Peter has promised to merge this fix into all of them.
* Add an implementation of uiomove_fromphys() for i386. This implementationalc2004-03-211-0/+132
| | | | | uses sf_buf_alloc() and sf_buf_free() to create and destroy the necessary ephemeral mappings.
* Introduce the cpumask_t type. The purpose of the type is to create amarcel2004-03-201-0/+1
| | | | | | | | | | | | | | | | | | | level of abstraction for any and all CPU mask and CPU bitmap variables so that platforms have the ability to break free from the hard limit of 32 CPUs, simply because we don't have more bits in an u_int. Note that the type is not supposed to solve massive parallelism, where the number of CPUs can be larger than the width of the widest integral type. As such, cpumask_t is not supposed to be a compound type. If such would be necessary in the future, we can deal with the issues then and there. For now, it can be assumed that the type is integral and unsigned. With this commit, all MD definitions start off as u_int. This allows us to phase-in cpumask_t at our leasure without breaking anything. Once cpumask_t is used consistently, platforms can switch to wider (or smaller) types if such would be beneficial (or not; whatever :-) Compile-tested on: i386
* Removed a vestige of the stl driver.bde2004-03-181-312/+0
|
* - Replace wait1() with a kern_wait() function that accepts the pid,jhb2004-03-171-23/+15
| | | | | | | | | | | | | | | options, status pointer and rusage pointer as arguments. It is up to the caller to copyout the status and rusage to userland if needed. This lets us axe the 'compat' argument and hide all that functionality in owait(), by the way. This also cleans up some locking in kern_wait() since it no longer has to drop locks around copyout() since all the copyout()'s are deferred. - Convert owait(), wait4(), and the various ABI compat wait() syscalls to use kern_wait() rather than wait1() or wait4(). This removes a bit more stackgap usage. Tested on: i386 Compiled on: i386, alpha, amd64
* remove stale comment since these limits have been increased YEARS ago...jmg2004-03-171-3/+1
|
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-177-18/+14
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Refactor the existing machine-dependent sf_buf_free() into a machine-alc2004-03-161-18/+6
| | | | | | | | | | dependent function by the same name and a machine-independent function, sf_buf_mext(). Aside from the virtue of making more of the code machine- independent, this change also makes the interface more logical. Before, sf_buf_free() did more than simply undo an sf_buf_alloc(); it also unwired and if necessary freed the page. That is now the purpose of sf_buf_mext(). Thus, sf_buf_alloc() and sf_buf_free() can now be used as a general-purpose emphemeral map cache.
* Regenerate.jhb2004-03-153-6/+6
|
* - Mark ABI syscalls that call wait4() MP safe as recent changes tojhb2004-03-151-3/+3
| | | | | | the kernel wait4() made these all panic() implementations otherwise. - The i386 linux_ptrace() syscall is MP safe. Alpha was already marked MP safe.
* Add arl(4): driver for Aironet Arlan 655 wireless adapters.fjoe2004-03-151-0/+5
| | | | MFC after: 2 weeks
* The PPS code needs to be much more brutal to avoid synchronism onphk2004-03-151-14/+32
| | | | hardware with non-sucky clocks.
* Shorten a long comment.obrien2004-03-151-1/+1
|
* Remove isa compat stuff.imp2004-03-144-445/+0
| | | | | | | Only cy, bs and wd in the tree still use it. I have a replacement for cy that I need to test on ISA and PCI cards. bs and wd are pc98 only drivers that appear to no longer be necessary. I'll be removing them when I hear back from the pc98 people.
* Comment out the cy driver until I can make sure that the new cy driverimp2004-03-141-2/+3
| | | | I have for it works.
* The gsc driver uses the old COMPAT_ISA api. Retire it so we canimp2004-03-144-974/+0
| | | | | retire the COMPAT_ISA shims. If someone were to redo this driver with the new APIs and test it, it can return.
* Hints for the le driver are no longer necessary here.imp2004-03-141-5/+0
| | | | Noticed by: ru
* The rdp driver uses the COMPAT_OLD api. This is being retired, soimp2004-03-143-1589/+0
| | | | | | this driver is being retired. Remove it from the tree. If someone wants to update it to the latest APIs and can test the hardware, it can return to the tree.
* The spigot driver uses the old COMPAT_ISA interface. Retire it sinceimp2004-03-143-401/+0
| | | | | that's going away soon. Should someone reimplement it using modern APIs and can test the driver, it can return.
* The le driver uses ISA_COMPAT, which is going away soon. Retire itimp2004-03-145-2327/+0
| | | | | and releated files. If someone wants to fix it to use the new APIs and test it, it can be brought back.
* Announce ethernet MAC addresss in ether_ifattach().mdodd2004-03-143-9/+0
|
* stl and stli use the old COMPAT_ISA api. slt also uses the really oldimp2004-03-145-7980/+0
| | | | | | | | COMPAT_PCI api. This API is going away, so this driver is going away also. If users are interested in updating this, please contact the author since he has some preliminary work to move this to newer APIs.
* remove the ioctl files from the asc, ctx and wt drivers just removedimp2004-03-143-114/+0
|
* Remove straggler from gp driver removalimp2004-03-141-27/+0
|
* Remove gp driver. It uses the old COMPAT_ISA shims.imp2004-03-143-1213/+0
| | | | If this driver is rewritten using newer APIs it can return.
* Remove ctx driver. another scanner. This one uses COMPAT_ISA shimsimp2004-03-143-501/+0
| | | | | | which is going away soon. If someone updates this to the latest APIs and tests it, it can return.
* Remove asc driver, support for GI1904 based hand scanners. Thisimp2004-03-143-972/+0
| | | | | | | driver uses COMPAT_ISA shims, and those shims are going away. It can be brought back if someone updates it to the latest APIs, and moves it to the appropriate place in the tree.
* Should have committed this with other wt driver removal commit.imp2004-03-141-6/+0
| | | | | | Remove the wt driver from LINT. If the wt driver is updated to the new apis, it can return.
* Remove wt driver. It still uses COMPAT_ISA_DRIVER which is going awayimp2004-03-142-1109/+0
| | | | | | very soon. Users needing this driver should update it to a newer API.
OpenPOWER on IntegriCloud