summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* Get select stuff by including <sys/select.h> instead of <sys/proc.h>,bde1997-11-181-6/+7
| | | | | | | | | | and don't include <sys/fcntl.h>. (The select -> poll changes replaced fcntl macros by poll macros.) Use <machine/*.h> instead of <i386/include/*.h>. Fail the probe instead of crashing in the unlikely event that malloc() fails.
* Don't #include <i386/isa/isa_device.h>. It is now a prerequisite.bde1997-11-181-3/+1
|
* Removed unused #includes.bde1997-11-181-5/+3
| | | | | | Fixed #include order. <i386/isa/isa_device.h> will soon be a prerequisite for <i386/isa/pnp.h>. Including both in alphebetical order gets this right naturally.
* Removed an unused #included.bde1997-11-181-3/+10
| | | | Ifdefed #includes that are not used in the SMP case.
* Get select stuff by #including <sys/select.h> instead of <sys/proc.h>.bde1997-11-181-2/+2
|
* Removed #unused includes.bde1997-11-182-6/+8
| | | | Added a used #include (don't depend on yet to be fixed namespace pollution).
* Removed code for the !KERNEL case. It hasn't been maintained for 4bde1997-11-181-28/+8
| | | | | | | | | | years and gives a "laugh"able number of compile-time errors (see the comment). main() just printed the struct sizes. This can be done better by compiling with -g and reading off the sizes from the stabs. Sorted #includes. Fixed an unsigned vs signed comparison.
* Don't #include <machine/smp.h> even in the SMP case. Fixed the onebde1997-11-181-1/+4
| | | | | | | place that depended on it. The "bazillion warnings" mentioned in the log for rev.1.45 apparently aren't a problem any more. It is hard to be sure because the SIMPLELOCK_DEBUG option turns off (and breaks) things in the SMP case.
* Typo fix.alex1997-11-172-4/+4
| | | | | PR: 5068 Submitted by: Studded@dal.net
* fix Jonathan Mini's email address per his requestjmg1997-11-171-2/+2
|
* Added support for linux sound ioctls:ahasty1997-11-172-3/+24
| | | | | | | | | LINUX_SNDCTL_DSP_GETOPTR LINUX_SNDCTL_DSP_GETIPTR LINUX_SNDCTL_DSP_SETTRIGGER LINUX_SNDCTL_DSP_GETCAPS With this rev level the linux realaudio player 5 and xquake should work.
* Device # for Jonathan Mini's VESA support.sos1997-11-161-1/+2
|
* Restore diagnostic fix spammed after mergingache1997-11-161-4/+8
|
* Reviewed by: Amancio Hastyahasty1997-11-161-1/+3
| | | | | | Submitted by: Amancio Hasty <hasty@star-gate.com> Added yuv12 support for mpeg encoding and Randall Hopper's fixed for Temporal Decimation
* Expand the APMIO_GETINFO ioctl to return the estimated remainingjdp1997-11-123-63/+140
| | | | | | | | battery time. For backward compatibility with old binaries, I assigned a new ioctl number for this call, and retained the old one as APMIO_GETINFO_OLD. I also added eight words of padding and a version field, so that future enhancements won't require jumping through this hoop again.
* - Added PSM_HOOKAPM & PSM_RESETAFTERSUSPEND options.nate1997-11-111-1/+3
| | | | OK'd by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* Fix conflicts.markm1997-11-1011-72/+140
|
* Fixed chip_offsets[] which I broke in rev.1.53. The offsets aren'tbde1997-11-101-2/+2
| | | | | | | | | actually offsets, they are offsets scaled by dividing by 2^cy_align. I use different values for cy_align since the -current values are unnaturally scaled, so I need different offsets, and the wrong offsets got committed. Reported by: nnd@itfs.nsk.su (N.Dudorov)
* - Convert c++ comment to c comment.nate1997-11-102-4/+4
| | | | Noted by: Bruce
* Assign 84 to Andrew Gordon <arg@arg1.demon.co.uk> for the 'ttxt' Unitextmsmith1997-11-101-1/+2
| | | | teletext decoder.
* Use UPAGES when setting up private pages for SMP (which includes idle stack).tegge1997-11-075-30/+30
|
* Rename some local variables to avoid shadowing other local variables.phk1997-11-077-34/+34
| | | | Found by: -Wshadow
* Remove a bunch of variables which were unused both in GENERIC and LINT.phk1997-11-0714-44/+24
| | | | Found by: -Wunused
* Move the "retval" (3rd) parameter from all syscall functions and putphk1997-11-0629-860/+781
| | | | | | | | | | | | it in struct proc instead. This fixes a boatload of compiler warning, and removes a lot of cruft from the sources. I have not removed the /*ARGSUSED*/, they will require some looking at. libkvm, ps and other userland struct proc frobbing programs will need recompiled.
* Add the IOCTL for Luigi's BT848 -> I2C bus driver.markm1997-11-061-1/+8
|
* Bump configvers to 300003 to account for the crd->card (and related)msmith1997-11-061-2/+2
| | | | namespace changes.
* Identify MediaGX CPU correctly. Old MeidaGX CPU and GXm CPU arekato1997-11-061-6/+27
| | | | | | | distinguished. CPU-classes of MeidaGX CPU and GXm CPU are 486-class and 586-class, respectively. PR: 4936
* Oops, forgot to count non-changer drives..sos1997-11-051-1/+3
| | | | | Broken by: sos Reported by: phk
* Fix rare 6x86 CPU whose DIR0 = 0x20 - 0x28 case.kato1997-11-051-2/+2
|
* Do not print config details twice (first variant comes from isa)ache1997-11-051-4/+8
| | | | Format config messages properly (with initial snd0: prefix)
* Note that the Intel EtherExpress' driver is ie(4).steve1997-11-042-4/+4
|
* - Update the email address in the copyrights.nate1997-11-0410-30/+22
|
* - If the APM BIOS fails to suspend the system after running thenate1997-11-042-6/+12
| | | | | suspend hooks, run the resume hooks to re-configure the system back to where it was.
* dk_altport is initialized in wdprobe(), but not in wdattach(), thisphk1997-11-041-1/+2
| | | | | | breaks wdreset(), wdunwedge() &c &c. Should be examined in detail by: dyson
* Use same address for USERCONFIG_BOOT on PC-98 as IBM-PC.kato1997-11-041-5/+1
| | | | | Submitted by: H. Nokubi <h-nokubi@nmit.tmg.nec.co.jp> Forgotten by: kato
* Test if kvm_kernel.db exists before moving it. Otherwise installingguido1997-11-031-2/+4
| | | | a kernel, booting single user and reinstalling a kernel fails.
* - MF22: (I reversed these). Simplify code.nate1997-11-021-2/+3
|
* Add ide_pci device.jkh1997-11-021-2/+3
|
* Sigh, kill setting of 0WS...it breaks more machines than it fixes.dg1997-11-021-4/+3
|
* - Example config file for laptop/PCCARD support.nate1997-11-011-0/+113
|
* Change comments about ijppp to iijppp.jseger1997-10-312-4/+4
| | | | | PR: conf/4905 Submitted by: takas-su@is.aist-nara.ac.jp
* Bring our sound sources up to the level of Amancio's latest-and-greatest.markm1997-10-3125-6190/+9231
| | | | | | | | This corresponds to Voxware 3.5-alpha-<something> and Amancio's guspnp21. There was a bit of a FUBAR during the commmit, so not all files are mentioned in this commit's mail. X-rant: I have just started to _*HATE*_ CVS...
* This updates Luigi's sound code to the basic code in snd971023...jmg1997-10-319-1702/+1073
| | | | | | | | | | | | | | changes: o rip the old select from his distribution to prevent extra pollution o the code now uses audio dma, helps reduce clicks o improved card support, should work in full duplex on sb16 cards o add better voxware ioctl support pointed out by Joao Carlos Mendes Luis <jonny@coppe.ufrj.br> o remove an unused file that I included for more complete history o and MANY other changes I have personally tested this code with a CS4237 based card and an AWE32 (non-PnP). Both cards worked fine in 8bit and 16bit mode.
* Upgrade the sound sources to Amancio Hasty's latest-and-greatest.markm1997-10-3142-11744/+16428
| | | | | | This is based on Voxware 3.5, and corresponds to Amancio's `guspnp21'. Bug reports to Amancio, please!
* Securelevel and formatting fixes, and trapframe simplification.kato1997-10-301-10/+9
| | | | | Reviewed by: sos Submitted by: bde
* First cut at supporting multi-CD CDROM drives (changers).sos1997-10-292-74/+223
| | | | | | | | | | | Very rudimentary, lots of error checks missing, but it works. Dont do an ls on two different CD's though, it will eat your changer mechanism for lunch :), this clearly needs some more thought. Until then this will enable those with changers to mount their multible CD's and doing "sensible" work.... Thanks to Andrew Gordon <arg@arg1.demon.co.uk> for donating a drive (a NEC CDR-C251 4x4) that makes this possible to develop.
* - Make sure we include <sys/kernel.h> to pick up the definitions of DATA_SET()nate1997-10-291-1/+2
| | | | Noticed by: bde
* Implement linux_iopl and linux_nice.kato1997-10-293-17/+33
|
* The previous change added a use of the DATA_SET macro, but forgotjdp1997-10-291-1/+2
| | | | | | | to define it by including <sys/kernel.h>. That broke PC-CARD support for this driver, producing the dreaded "device allocation failed" message. Surprisingly, the missing include caused only two compiler warnings. The compilation still "succeeded" anyway.
* Removed unused #includes.bde1997-10-289-28/+9
|
OpenPOWER on IntegriCloud