summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
...
* Only handle copyin/out/etc faults when not in an interrupt handler.bde1996-12-181-8/+9
| | | | | | This makes unexpected faults (in an interrupt handler) more likely to crash properly. It could be done even better (more robustly and more efficiently) using lazy fault handling.
* Fixed formatting of KERN_DUMPDEV.bde1996-12-181-2/+2
| | | | Should be in 2.2.
* Disabled half-baked disk statistics support. It didn't actually generatebde1996-12-181-1/+7
| | | | statistics, so it just wasted scarce disk table slots and screen space.
* Initialize the upper 16 bits of the memory sizes properly (to 0).bde1996-12-181-3/+4
| | | | | | | | | | They were garbage that happened to be 0 in many cases. (real_to_prot() happens to leave the value of the real-mode %cr0 in %eax and the memory-size BIOS calls usually don't touch the upper bits of %eax. The upper 16 bits of %cr0 are usually 0 at boot time, at least on 486's. Should be in 2.2.
* Moved the printing of the BIOS geometries from cpu_startup() intobde1996-12-182-34/+36
| | | | | | | | | | configure() where it always belonged. It was originally slightly misplaced after configure(). Rev.138 left it completely misplaced before the DEVFS, DRIVERS and CONFIGURE sysinits by not moving it together with configure(). Restored the printing of bootinfo.bi_n_bios_used now that it can be nonzero.
* Add Tekram DC390/390T driver "amd0", which is expected to work withse1996-12-182-2/+16
| | | | generic AMD 53c974 PCI SCSI controllers as well.
* Add comment for "amd" driver: Tekram DC-390(T) and generic AMD 53c974 PCI SCSI.se1996-12-181-2/+3
|
* Add driver for AMD 53c974 SCSI (Tekram DC390/390T).se1996-12-181-1/+2
| | | | | Remove MAX_LUN=2 option for NCR driver: FAILSAFE does no longer imply MAX_LUN=1.
* In the IBCS2 semctl system call, the last parameter arg is passed byswallace1996-12-171-0/+16
| | | | | | | value, but in the FreeBSD semctl system call implementation, is passed by reference. Submitted by: msagre@cactus.fi.uba.ar <Miguel Angel Sagreras>
* Increase the allowable port address from 0x2000 to 0xffff to aid inmsmith1996-12-171-4/+4
| | | | | | | | making PCI look like ISA. Closes pr kern/860. Prompted-by: peter's buglist mailout (excellent idea btw 8)
* Fix nbuf calculation /4 -> /8. 2.2 already has it this way.dg1996-12-171-2/+2
| | | | Reviewed by: dyson
* Remove "options MAXLUN=2" since the ncr driver will probe for 8 LUNsse1996-12-151-2/+1
| | | | now anyway, even if compiled with FAILSAFE defined.
* Update comment for "ncr" SCSI controllers (add Symbios and new chips)se1996-12-151-3/+3
|
* Fix typo.kato1996-12-151-3/+3
|
* Add missing -I so that probe_keyboard.c can find <i386/isa/kbdio.h>. :-(peter1996-12-151-1/+2
| | | | (Why, oh why did this include file end up in isa/ rather than include/ ?)
* Make the USERCONFIG_BOOT semantics closer to what was originaljkh1996-12-142-12/+10
| | | | intended.
* Fix the breakage i've introduced with the EISA slot feature, byjoerg1996-12-141-3/+16
| | | | depending the addition on NEISA > 0.
* Add a small hack to UserConfig that allows to override the number ofjoerg1996-12-142-4/+29
| | | | | | | | | | | | | | | | EISA slots to probe. This is mainly intended to allow installing the system on an HP Netserver with an on-board AIC7xxx EISA SCSI controller, that is sitting on EISA slot # 11. Documentation updates explaining this hack will follow shortly. Note that this can go away again as soon as the EISA device probing is more intelligent about the address space clash with the PCI address space. 2.2 candidate. Not objected by: freebsd-core :)
* Convert the interface address and IP interface address structureswollman1996-12-137-46/+12
| | | | | | to TAILQs. Fix places which referenced these for no good reason that I can see (the references remain, but were fixed to compile again; they are still questionable).
* Moved nonstandard compiler profiling options out of config. Just printbde1996-12-131-1/+8
| | | | | | | | the profiling level in config and decide what to do in makefiles. Makefile.i386: Align functions to 16-byte boundaries if profiling is enabled. This will allow a fourfold reduction in the size of the profiling buffers.
* Close PR#2198:jkh1996-12-131-1/+2
| | | | | | | | | | | | | I've added an installation from optical disk drive facility. This enables FreeBSD to be installed from an optical disk, which may be formatted in "super floppy" style or sliced into MSDOS-FS and UFS partitions. Note: ncr.c should be reviewed by Stefan Esser <se@freebsd.org> and cd.c by Joerg Wunsch <joerg@freebsd.org> before bringing this into 2.2. Submitted-By: Shunsuke Akiyama <akiyama@kme.mei.co.jp>
* Soften range-check for LDTs.swallace1996-12-121-2/+2
| | | | Reviewed by: bde
* Fix allocation for exech_map to be 16*PAGE_SIZE rather than 32*PAGE_SIZEdg1996-12-121-2/+2
| | | | so that it is scaled the same as exec_map (16 concurrent exec'ers).
* Two fixes:martin1996-12-112-7/+7
| | | | | | | makerom checksum check calculation was a no-op nb8390.c had a bug which caused packet_len to be incorrect for packets which wrapped in the buffer. Submitted by: Linux developers (I lost the email with their names)
* One minor mod to set the limit of nbufs to 2048 from 1536. More importantdyson1996-12-111-3/+3
| | | | fix to exech_map, it used 32*ARG_MAX, and it should use 32*PAGE_SIZE.
* Don't depend on <net/if.h> including <sys/time.h>wollman1996-12-101-0/+1
|
* Give up early for empty partitions. The offset for an emptybde1996-12-101-3/+7
| | | | | | | | | | partition is 0, which is outside the slice unless the disk is dangerously dedicated. There is little error checking later, and following garbage metadata outside the slice usually caused crashes, Empty 'a' partitions are fairly easy to create by cloning the label for the whole disk. Fixed a missing newline in a related error message.
* 1) Implement SIOCSIFMTU in ether_ioctl(), and change ether_ioctl's returndg1996-12-102-15/+6
| | | | | | | | | type to be int so that errors can be returned. 2) Use the new SIOCSIFMTU ether_ioctl support in the few drivers that are using ether_ioctl(). 3) In if_fxp.c: treat if_bpf as a token, not as a pointer. Don't bother testing for FXP_NTXSEG being reached in fxp_start()...just check for non-NULL 'm'. Change fxp_ioctl() to use ether_ioctl().
* Delete $NetBSD$, and add $Id$.kato1996-12-0914-14/+14
| | | | 2.2 candidate.
* Improve the explicitness of the "you cannot do anything with PCImsmith1996-12-091-3/+4
| | | | | | devices" message. Closes conf/2130.
* Perform special sigset() check.swallace1996-12-081-2/+14
| | | | | Make sure signal is not blocked. If it is, return SIG_HOLD instead of handler and unblock the signal.
* Fix the broken support for monochrome VGA's.sos1996-12-071-3/+22
| | | | It was MY fault after all, damn..
* Obtained from: NetBSD/pc98 based on NetBSD 1.2kato1996-12-071-0/+54
| | | | Add a missing file of bs driver. It's a 2.2 candidate.
* Make LKM's build again. I have added the allegedly brokendyson1996-12-071-0/+4
| | | | | | | | ACTUALLY_LKM_NOT_KERNEL until the real fix comes through. Whatever flag that is used to indicate building LKMs will have be be substituted in the future. This allows proper selection of the usage of the efficient, single instruction in the kernel, but alas, doesn't allow for use in userland or LKMs :-(. Them's the breaks!!!
* Change endian.h so that when a kernel is compiled without I386_CPU, anddyson1996-12-071-2/+2
| | | | | | | with one of the following (I486_CPU,I586_CPU,I686_CPU) so it can take advantage of the very quick bswap insn. This keeps LKMs from being built to take advantage of the insn, but also makes sure that the LKMs can be run on all CPUs. (The LKMs don't pick up the CPU options :-( ).
* Fixed handling of modem status changes. Only the most common case ofbde1996-12-051-8/+23
| | | | | connect/hangup in !CLOCAL mode was handled correctly. mgetty and ppp didn't work because they turn on CLOCAL and poll for carrier (or RI?).
* Clean-up of the new buffer kva allocation code. Also, there was andyson1996-12-051-5/+5
| | | | error in the !BOUNCE_BUFFERS case.
* Better fix for the previous overflow problem using the code fromnate1996-12-051-2/+2
| | | | | | ogetrlimit(). Suggested by: bde
* 'ulimit' can overflow the int return value, so avoid the overflow bynate1996-12-051-1/+2
| | | | | | subtracting one if ulimit returns -1. Submitted by: Miguel Angel Sagreras <msagre@cactus.fi.uba.ar>
* Replace sbic driver (WD33C93 SCSI card driver) with new bs driver.asami1996-12-0416-123/+6079
| | | | | Submitted by: The FreeBSD(98) Development Team Obtained from: NetBSD/pc98 based on NetBSD 1.2
* Synchronize with the RELENG_2_2 branch.asami1996-12-043-22/+52
| | | | | | Definite 2.2 candidate. Submitted by: The FreeBSD(98) Development Team
* Clear the busfree interrupt when one occurs, after a SELTO, or a bus reset.gibbs1996-12-031-6/+13
|
* PR kern/2141:phk1996-12-031-1/+2
| | | | | | | | | | | function ed_attach_NE2000_pci() in if_ed.c passes an uninitialized block of memory (got with malloc()) to ed_attach. This prevents a proper initialization of the device descriptor and in my case causes a panic during the probe, while printing out device info. Reviewed by: phk Submitted by: Luigi Rizzo <luigi@iet.unipi.it>
* Update the bootblocks to use the new definitions that changed in thenate1996-12-031-3/+3
| | | | | | recent psm/syscons/kbdio code update. Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* Add IP_OPTIONS and the multicast-related setsockopts to thefenner1996-12-032-2/+23
| | | | | | | | | | | list of IP setsockopts the Linux emulator recognizes. Explicitly disallow IP_HDRINCL since Linux's handling of raw output is different than BSD's. Closes PR#kern/2111. Submitted by: y-nakaga@ccs.mt.nec.co.jp (Yoshihisa NAKAGAWA)
* Alot of fixes from kazu:sos1996-12-015-322/+730
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. All the suggestions earlier made by Bruce: renaming some symbols, stricter error checking, removing redundant code, etc. 2. The `psm' driver preserves the default counter resolution and report rate, whatever they are after reset. (Based on reports and suggestion from Nate and Rob Bolin). 3. The `psm' driver now does not check the so-called sync. bit in the first byte of the data packet by default, so that the tapping feature of ALPUS GlidePoint works (based on reports from Louis Mamakos). I tested the code with ALPUS Desktop GlidePoint (M/N GP101) and found no problem; tapping worked. It appears ALPUS produces several models of GlidePoint. I hope the other models are OK too. The check code can still be activated by defining the PSM_CHECKSYNC option in the config file. (The bit checking slightly reduces, if not completely eliminates, weird mouse behavior cased by unsynchronized mouse data packets. It also helps us to detect if the mouse interrupt can ever be lost. But, well, if there are devices which cannot be supported this way...) 4. The `psm' driver does not include the protocol emulation code by default. The code can still be compiled in if the PSM_EMULATION option is specified in the config file. Louis Mamakos suggests the emulation code is putting too much in the kernel, and `moused' works well. I will think about this later and decide if the entire emulation code should be removed. 5. And, of course, the fix in `scprobe()' from Bruce to cure the UserConfig problem. My code in `kbdio.c' is slightly different from his patch, but has the same effect. There still is a possibility that `scprobe()' gets confused, if, for whatever reasons, the user holds down a key for very long time during the boot process. But we cannot cope with everything, can we? Submitted by: Kazutaka YOKOTA (yokota@zodiac.mech.utsunomiya-u.ac.jp)
* Removed all references to b_cylinder (aka b_cylin). It was evil andbde1996-12-012-6/+4
| | | | | hasn't been used for a year or two since disksort() started sorting on b_pblkno.
* Fix a problem with the new buffer_map management code. Additionally,dyson1996-12-011-3/+3
| | | | | | | | decrease the size of buffer_map to approx 2/3 of what it used to be (buffer_map can be smaller now.) The original commit of these changes increased the size of buffer_map to the point where the system would not boot on large systems -- now large systems with large caches will have even less problems than before.
* Fixed input of BREAKs when IGNPAR is set and IGNBRK is not set. BREAKsbde1996-11-301-27/+32
| | | | | | | | | are always together with Framing Errors and they were incorrectly treated as FE's and discarded. Reorganized the BREAK/FE/PE tests. Found by: NIST-PCTS
* Reset h/w fifos (if any) in siostop(). Now ttyflush() works fairly wellbde1996-11-301-3/+9
| | | | | | | | with sio devices (not perfectly, since there is no way to flush the tx holding register on 8250-16450's. I'm not sure if resetting the fifos flushes the tx shift register). Reminded by: NIST-PCTS
OpenPOWER on IntegriCloud