summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* The Great PC98 Merge.asami1996-06-148-7/+124
| | | | | | | | All new code is "#ifdef PC98"ed so this should make no difference to PC/AT (and its clones) users. Ok'd by: core Submitted by: FreeBSD(98) development team
* Document LINT.asami1996-06-142-2/+22
| | | | Reminded by: jkh, j, bde
* Change CONF1_ENABLE_MSK to 0x7ff00000 in another attempt to decidese1996-06-134-8/+8
| | | | | whether a system could possibly support PCI configuration mechanism 1 (or whether it rather is an EISA only system ...).
* A fast memory copy for Pentiums using floating point registers.asami1996-06-132-2/+200
| | | | | | | | | | | | | | | | | | It is called from copyin and copyout. The new routine is conditioned on I586_CPU and I586_FAST_BCOPY, so you need options "I586_FAST_BCOPY" (quotes essenstial) in your kernel config file. Also, if you have other kernel types configured in your kernel, an additional check to make sure it is running on a Pentium is inserted. (It is not clear why it doesn't help on P6s, it may be just that the Orion chipset doesn't prefetch as efficiently as Tritons and friends.) Bruce can now hack this away. :)
* Externalize the declaration of dc_list. This is required in order tojoerg1996-06-121-2/+1
| | | | get a ``generic'' kernel (``config kernel swap generic'') to compile.
* Fix a very significant cnt.v_wire_count leak in vm_page.c, and somedyson1996-06-121-4/+6
| | | | minor leaks in pmap.c. Bruce Evans made me aware of this problem.
* Add -Wunused to try and catch any future offendersgpalmer1996-06-121-2/+2
| | | | Reviewed by: bde
* Clean up -Wunused warnings.gpalmer1996-06-1234-105/+75
| | | | Reviewed by: bde
* Clean up -Wunused warnings. Also clean up a -Winline warning while here.gpalmer1996-06-121-40/+41
| | | | Reviewed by: bde
* Clean up -Wunused warnings.gpalmer1996-06-122-18/+14
| | | | Reviewed by: Greg Ungerer <gerg@stallion.oz.au>
* Fixed GET/SETIPDOMAIN ioctl on /dev/socksys, which is used by variousnate1996-06-121-2/+90
| | | | | | other socket functions (gethostname() for one). Reviewed by: sef
* Move warning messages under bootverbosepst1996-06-112-8/+16
|
* Put clock calibration #defines in opt_clock.h to ease reconfigurationpst1996-06-113-3/+9
|
* We are developing a device driver of Smart Capture Card.phk1996-06-101-1/+2
| | | | | | | | | | | | | | | | | Smart Capture Card is a kind of video capture card, PCMCIA type II, and made by IBM Japan co.. Unfortunately, it is sold in Japan now. The device driver is working on the latest pccard-test package by Tatsumi HOSOKAWA and bsd-nomads. Some applications are also working. For example, xscc is a video moniter client on X-window, vic-2.7b2 is a video conference tool. We have a contract with IBM Japan. From the contract, we cannot release the source code exept the permit of IBM Japan. But I think they will permit us in few weeks. Reviewed by: phk Requested by: ohashi@mickey.ai.kyutech.ac.jp (Takeshi OHASHI)
* *blush* I used EXTRAVNODES everywhere else, but put EXTRA_VNODES in thepeter1996-06-102-4/+4
| | | | example here.. :-(
* Clarify the meaning of IPFIREWALL_VERBOSE. Add IPFIREWALL_VERBOSE_LIMIT.alex1996-06-102-6/+10
|
* Detect and report dataphase overruns. Put the adapter into 'Bit Bucket'gibbs1996-06-091-1/+26
| | | | | | mode when this occurs and allow the target to complete the transaction. Force a retry on overruns since they are usually caused by termination or cable problems.
* Add a check in the SMC probe to verify that the card has an ethernetmartin1996-06-091-0/+4
| | | | | | | address that starts with 0000C0xxxxxx. This prevents the probe code from finding GUS cards. Pointed out by: Seppo Kallio <kallio@kanto.cc.jyu.fi>
* Fix the spl handling. There's still the effect that the timers havejoerg1996-06-091-14/+32
| | | | | | | | | sometimes already been released at the time pcaclose() is called, but this is now prevented from deadlocking by checking for a running timer at the start of pca_wait(). At least, i can now play xboing again with pcaudio, this used to hang the entire system previously within a few seconds.
* Implement CDIOCCLOSEache1996-06-091-4/+16
|
* Bring back the `config file in the kernel' feature from the 1.x days. Thisjkh1996-06-081-3/+4
| | | | | | | is conditionalized by the INCLUDE_CONFIG_FILE option in your kernel config file and is not turned on by default. Submitted-By: Bill Pechter <pechter@shell.monmouth.com>
* Change the 'sysi86()' function not implemented' printf to be called onlynate1996-06-081-0/+2
| | | | | | | when compiled with -DDIAGNOSTIC. Almost all significant SCO binaries I've run call an unsupported function and run correctly. Given that they aren't needed, the messages only clutter up the logfiles and console.
* Removed unnecessary forward declarations of incomplete structs.bde1996-06-081-3/+1
|
* Stop using the alias `pcb_ptd' for `pcb_tcc.tss_cr3'. Use the (existing)bde1996-06-081-3/+3
| | | | | | alias `pcb_cr3' instead. That is still one alias too many, but is convenient for me since I've replaced the tss in the pcb by a few scalar variables in the pcb.
* Eliminate a struct copy that gcc doesn't inline and ends up as a call topeter1996-06-081-2/+2
| | | | memset().
* Removed bogus `altfmt' code. No alternative formats are supported, butbde1996-06-081-10/+1
| | | | | | altfmt was abused to sometimes screw up the disassembly of the bytes following unconditional jump instructions. Gas doesn't pad to a longword boundary like the comment said - that is the programmer's responsibility.
* Fixed calculation of the number of cylinders. wdp_cylinders (wasbde1996-06-082-18/+15
| | | | | | | | | | wdp_fixedcyl) gives it directly. wdp_removedcyl is "reserved" except in ancient ATA-1 drafts and shouldn't be added. This fixes PR 1288. Changed some fields and comments in struct wdparams to match a less- ancient ATA draft. Fixed bit number for `rdy' in status string.
* Removed recently introduced unnecessary #includes of <machine/cpu.h>bde1996-06-082-7/+2
| | | | (bootverbose isn't there in -current) and nearby unnecessary #includes.
* Fixed group and permissions for devfs devices (group operator was games;bde1996-06-083-32/+38
| | | | permissions 0640 was 0600).
* Fixed existence, minor numbers, group and permissions for devfs devicesbde1996-06-081-20/+29
| | | | | (locked devices weren't created; minor numbers didn't depend on the unit number; group operator was games; permissions 0640 was 0600).
* Replaced some memcpy()'s by bcopy()'s.bde1996-06-081-3/+3
| | | | | | | gcc only inlines memcpy()'s whose count is constant and didn't inline these. I want memcpy() in the kernel go away so that it's obvious that it doesn't need to be optimized. Now it is only used for one struct copy in si.c.
* Bring back the loop in RESTART_SEQUENCER. It seems to be necessary forgibbs1996-06-081-9/+12
| | | | the aic7850. Go back to autoATN on parity errors.
* Adjust the threshold for blocking on movement of pages from the cachedyson1996-06-081-24/+13
| | | | | | | | | | | | | | | | | queue in vm_fault. Move the PG_BUSY in vm_fault to the correct place. Remove redundant/unnecessary code in pmap.c. Properly block on rundown of page table pages, if they are busy. I think that the VM system is in pretty good shape now, and the following individuals (among others, in no particular order) have helped with this recent bunch of bugs, thanks! If I left anyone out, I apologize! Stephen McKay, Stephen Hocking, Eric J. Chet, Dan O'Brien, James Raynard, Marc Fournier.
* When uname() returns the system name, try to use the unqualified domainnate1996-06-081-1/+6
| | | | | | | | | | name (ie; strip off the domain). Given a hostname 'fooey.bar.com', the previous code returned a system name of 'fooey.ba', instead of the more correct 'fooey'. SCO uses 'uname' for many things, including some of it's socket code so this patch is necessary for running certain legacy SCO apps. :) A variant of this code has been running on my box for 2 months now.
* A trailing patch Jim left out of the last commit.jkh1996-06-071-1/+7
| | | | Submitted-by: james
* Added index as a 'standard' file. It could be added as 'optional' fornate1996-06-071-1/+2
| | | | | ibcs2, but I felt it might be useful in other code as well at a later point.
* Describe ATAPI_STATIC (it seems lkm variant never work)ache1996-06-072-2/+4
|
* Fix a bug in the pmap_object_init_pt routine that pages aren't takendyson1996-06-071-1/+3
| | | | from the cache queue before being mapped into the process.
* I missed a case of the page table page dirty-bit fix.dyson1996-06-051-2/+4
|
* Keep page-table pages from ever being sensed as dirty. This should fixdyson1996-06-051-15/+40
| | | | | | | some problems with the page-table page management code, since it can't deal with the notion of page-table pages being paged out or in transit. Also, clean up some stylistic issues per some suggestions from Stephen McKay.
* Bring in changes from if_ep.c for PCCARD driver.nate1996-06-041-2/+2
| | | | | Properly determine the offset of the remaining bytes we need to transfer after outsl'ing all the long words we can during transmission in 32bit mode.
* Freudian slip. Change M_DEVBUG -> M_DEVBUF.nate1996-06-042-4/+4
| | | | Submitted by: "Stephen F. Combs" <combssf@salem.ge.com>
* Fix typo. in the APM_DSVALUE_BUG code that I missed.nate1996-06-042-4/+4
| | | | Obtained from: Someone on the mailing list (sorry, I forgot who)
* Added missing CR0_NW define for Cyrix 486DLC support. It's still notsos1996-06-031-1/+3
| | | | | | stable on my hardware, but its better... *sigh* Obtained from: NetBSD
* Don't carry the modified or referenced bits through to the childdyson1996-06-021-12/+30
| | | | | | | process during pmap_copy. This minimizes unnecessary swapping or creation of swap space. If there is a hold_count flaw for page-table pages, clear the page before freeing it to lessen the chance of a system crash -- this is a robustness thing only, NOT a fix.
* Be slightly more verbose during configure() in the bootverbose case.joerg1996-06-021-3/+23
| | | | | This breaks the long silence after the ``npx0'' message and allows to track some of the problems regarding the root f/s decisions.
* Hide the ``wrong signature'' message behind bootverbose. It'sjoerg1996-06-021-2/+4
| | | | annoying for people who don't have a bus mouse.
* Fix the problem with pmap_copy that breaks X in small memory machines. Alsodyson1996-06-011-13/+23
| | | | | | close some windows that are opened up by page table allocations. The prefaulting code no longer uses hold counts, but now uses the busy flag for synchronization.
* Fix ioctl() operations...nasty typopst1996-05-311-2/+2
|
* Fix a regression. Turn off the selection hardware during a selection timeoutgibbs1996-05-311-12/+9
| | | | | | | | | | before clearing the SELTO interrupt. We used to do this in the past, but this outb got lost. Turn ATN on ourselves as appropriate during a parity error instead of relying on ENAUTOATNP. Don't use a loop in RESTART_SEQUENCER. Its not necessary.
OpenPOWER on IntegriCloud