summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* Date: Fri, 3 Sep 93 01:25:44 +1000rgrimes1993-09-052-358/+464
| | | | | | | | | | | | | | | | | | From: bde@kralizec.zeta.org.au (Bruce Evans) This fixes several problems. It has almost everything that is in the FreeBSD version of Aug 22. It is missing the bug for 2 drives and still prints <> around the drive type. It handles BADEND144 less verbosely. It does wdgetctlr() somewhat differently from NetBSD/FreeBSD. Date: Sun Sep 5 06:45:12 PDT 1993 From: rgrimes@cdrom.com Fixed printf's to be correct, since Bruce used the old ones. This driver still prints phantom wd1's on some Maxtor and other IDE drives, I have a patch I am sending to Bruce for checking.
* Increased stack size to 8MB just to be on the real safe side.rgrimes1993-09-011-1/+1
|
* Changed default irq and iomem address for ed0 so that most 3c503's andrgrimes1993-08-315-10/+10
| | | | | | | | | | wd80x3 class boards can be configured to the GENERIC kernels. Entry was: device ed0 at isa? port 0x280 net irq 9 iomem 0xd0000 vector edintr Is now: device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
* Replaced the return (1)'s with return (IO_KBDSIZE) in the probe code sorgrimes1993-08-281-1/+1
| | | | | that the printfs during the probing prints the range instead of just the start address.
* Changed trap.c so that a panic will occur if we do not have hardwarergrimes1993-08-282-8/+5
| | | | | | | FP and we try to call the emulator when it is not compiled in. Removed the #if defined(i486) || defined(i387) that use to call the panic if we did not have a math emulator. Removed an extranious include of i386/i386/math_emu.h from math_emulate.c.
* Added options MATH_EMULTATE to the kernel config files to pull in thergrimes1993-08-286-31/+45
| | | | | 387 math emulator (sys/i386/i386/math_emulate.c). Made that file only get compiled if options MATH_EMULATE is in the kernel.
* Changed MAXSSIZ from MAXDSIZ to 2MBrgrimes1993-08-281-1/+1
|
* Revised drivers from Julian.rgrimes1993-08-285-15/+15
|
* Added support for scsi/sg.c as cdev major 18.rgrimes1993-08-281-4/+18
|
* xxxprobe now returns the correct number of I/O registers used so thatrgrimes1993-08-282-3/+4
| | | | | the probe output during boot gives the I/O range instead of just the starting address
* prefixed inline functions' parameter names with _ and declaredalm1993-08-271-16/+16
| | | | the return type explicitly.
* Kernel support for ppp 1.3 + fixesrgrimes1993-08-272-2/+4
|
* Added the following line to all the supplied config files to shut up thergrimes1993-08-265-5/+10
| | | | | | config program until this thing is fixed correctly. maxfdescs 2048 #Max file descriptors per process
* adding fpgetround(3) IEEE floating point environment supportalm1993-08-251-0/+107
|
* Fix so that unit number 1 is found again.rgrimes1993-08-241-2/+1
|
* Corrected off by 2 error in DELAY macro (it was delaying for 2 * value).rgrimes1993-08-241-3/+3
| | | | From Bruce Evans.
* Some more small nits in the printf's fixed.rgrimes1993-08-224-49/+39
|
* New kernel config file for checking out the kernel sources. It does pullsrgrimes1993-08-222-0/+236
| | | | in every thing that is known to work, and a lot of things that don't!
* Moved if_we.c to be back in alphabetic order..rgrimes1993-08-211-2/+2
|
* Update to be a clone of GENERICAH, but for syscons driver.rgrimes1993-08-211-24/+5
|
* Added Id: stringrgrimes1993-08-211-0/+2
|
* Updated GENERICAH to be more current, new kernel GENERICBT for bt/uhargrimes1993-08-212-24/+93
| | | | systems cloned from new GENERICAH.
* Removed patch kit header, added Id:rgrimes1993-08-211-16/+3
|
* Removal of patch kit header, removal of old scsi as device, added Id:rgrimes1993-08-211-8/+1
|
* Fixed printf's so that they announce them selfs correctly (ie aha%d: beforergrimes1993-08-215-231/+89
| | | | every error message and every probe message).
* Added from: line to reference the pccons.c derivation of this code, otherwisergrimes1993-08-201-0/+2
| | | | the BSD copyright would be very bad to have on this file.
* Enabled call to sddump so that if you have options SCSIDUMP in your kernelrgrimes1993-08-201-3/+2
| | | | | | you'll get to the dump code. If you don't trust this on your disk also add option NOT_TRUSTED, that disables the dump code, but prints out what it WOULD do it it was going to scrible on your disk.
* Update scsi code to the latest from Julian. This code is now identicalrgrimes1993-08-205-990/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to the last copy from Julian. After this commit I will be commiting the local fixes and makeing diffs to send back to Julian so he can update his code. ---- >From julian@jules.DIALix.oz.au Thu Aug 5 09:25:23 1993 To: hd@world.std.com, julian@jules.DIALix.oz.au Cc: nate@bsd.coe.montana.edu Subject: Re: new scsi ---- >From julian@jules.DIALix.oz.au Sat Aug 7 04:13:17 1993 To: hd@world.std.com (HD Associates) Cc: nate@bsd.coe.montana.edu Subject: Re: timeout diffs Here are the diffs to take the scsi stuff to my latest tree from what Nate and you received.. the changes remove all the local timeout stuff and use (un)timeout(), ---- >From julian@jules.DIALix.oz.au Sat Aug 7 04:13:45 1993 To: hd@world.std.com (HD Associates) Cc: nate@bsd.coe.montana.edu, briggs@csugrad.cs.vt.edu here is a fix for a silly bug in the scsiconf I just sent out and a similar fix for st.c
* Moved /sys/scsi code files information to independed files file where itrgrimes1993-08-201-6/+0
| | | | should have always been.
* patch 1of2 to prevent kill -1 syslogd from hanging the consolealm1993-08-201-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | blindly applied patch provided by Christoph Robitschko: *** cons.c.orig Sat Jun 12 07:57:53 1993 --- cons.c Thu Aug 19 22:34:53 1993 *************** *** 56,61 **** --- 56,62 ---- #include "sys/tty.h" #include "sys/file.h" #include "sys/conf.h" + #include "sys/vnode.h" #include "cons.h" *************** *** 105,118 **** --- 106,130 ---- (*cp->cn_init)(cp); } + static struct vnode *cnopenvp = NULLVP; + + cnopen(dev, flag, mode, p) dev_t dev; int flag, mode; struct proc *p; { + int error; + + if (cn_tab == NULL) return (0); dev = cn_tab->cn_dev; + if (cnopenvp == NULLVP) + if ((error = getdevvp(dev, &cnopenvp, VCHR))) { + printf("cnopen: getdevvp returned %d !\n", error); + return(error); + } return ((*cdevsw[major(dev)].d_open)(dev, flag, mode, p)); } *************** *** 121,130 **** int flag, mode; struct proc *p; { if (cn_tab == NULL) return (0); dev = cn_tab->cn_dev; ! return ((*cdevsw[major(dev)].d_close)(dev, flag, mode, p)); } cnread(dev, uio, flag) --- 133,153 ---- int flag, mode; struct proc *p; { + int error; + + if (cn_tab == NULL) return (0); dev = cn_tab->cn_dev; ! if (vcount(cnopenvp) <= 1) ! error = (*cdevsw[major(dev)].d_close)(dev, flag, mode, p); ! else ! error = 0; ! if (error == 0) { ! vrele(cnopenvp); ! cnopenvp = NULLVP; ! return(error); ! } } cnread(dev, uio, flag)
* added Bustek 545 support (patch from Christoph Robitschko):alm1993-08-191-0/+6
| | | | | | | | | | | | | | | *** aha1542.c~ Thu Aug 19 14:25:33 1993 --- aha1542.c Thu Aug 19 14:25:49 1993 *************** *** 954,959 **** --- 954,960 ---- printf("aha%d:",unit); #define PRNT(x) printf(x) #endif __386BSD__ + DELAY(1000); /* for Bustek 545 */ aha_cmd(unit,0, sizeof(conf), 0 ,&conf, AHA_CONF_GET); switch(conf.chan) {
* Fixed poor timeout code in out_fdc. The timeout counter was not beingrgrimes1993-08-121-4/+19
| | | | | | | | reinitialized between while loops. Added comments about what was going on in the out_fdc routine. out_fdc now returns if the direction bit is not set in time instead of trying to wait for MRQ to get cleared.
* Removed one more reverence to the old Adaptec 1542b as.c driver, one lessrgrimes1993-08-101-6/+1
| | | | dependent for autoconf.c.
* Finish removal of reminents of as.c Adaptec scsi driver.rgrimes1993-08-092-27/+2
|
* Moved _eintr{names,cnt} so that vmstat -i does not report all the debuggingrgrimes1993-08-091-3/+3
| | | | stuff of the fast interrupt code.
* Removal of support for old scsi as.c driver, removal off old unneededrgrimes1993-08-091-1/+0
| | | | | kernel config files since AH?TEST are now supported by GENERICISA, and the others used the old as driver they are no longer valid.
* From guido@gvr.win.tue.nl Sat Aug 7 06:58:04 1993rgrimes1993-08-093-6/+48
| | | | | | | | | | | | | | | I posted some patches on the 386bsd_patchkit list to prohibit io access. Because of a noninitialised filed in the tss, this was possible. It is included below as the patch to machdep.c However, when you do this *necessary* fix (security), it will be impossible form within user space to do io. therefor, I included another fix: when you open /dev/io, you get the access. Of course you can rewrite it to use another minor and thus giving access to the iospace when /dev/mem is opened, e.g. NOTE: The /dev/io entry has not been added to /dev/MAKEDEV yet. The patch is in NetBSD.
* Fixed for DQFLQUIET flag from: Terry Lee <terry@uivlsisd.csl.uiuc.edu>rgrimes1993-08-081-33/+37
| | | | | | | | | | | | | I submitted the part of patch00155 that fixes wd.c not reporting any bad blocks. Unfortunately, the patch created a new problem that makes new installations using that kernel impossible. I have included a patch below that should fix both problems. The fix comes from Tom Ivar Helbekkmo's wd driver (the Norway wd driver). I've also eliminated the use of the DKFL_QUIET flag completely, since it is not used anymore. Fixed wdgetctrl routines for so that it returns a meaniful string for non IDE disk drives. It also nolonger returns success when a drive is not really there.
* Removed the asking for a root file system when booting from floppy as thatrgrimes1993-08-081-8/+1
| | | | is now handled by the new boot blocks immediatly after the kernel is loaded.
* Added printf for cases AHB_ASN (async even notification) and AHB_HW_ERR sorgrimes1993-08-082-0/+18
| | | | | | | that we are notified when these events occur. This may lead us to the cause of certain AHB timeout/lockup problems. From: Roy Neese of Adaptec
* Fixed **probing for scsi devices** message to have a controller and unitrgrimes1993-08-065-8/+33
| | | | | message on the begining of it: aha0: **probing for scsi devices**
* Fix the problem where newvers gets called every time make is run onnate1993-08-041-21/+4
| | | | the kernel.
* * Fixed problem where some rev 8013EBT boards want the DCR_LS flagdg1993-08-021-3/+7
| | | | | | | * set in order to work in 16bit mode. Seems also to improve performance by 15%! (?!) I think there might be more to this flag than the manual says.
* Updated syscons to 0.2b - please test this! It won't be in the ALPHAjkh1993-07-302-470/+1318
| | | | release, but it's still worth testing.
* Free'd up major number assigned to codrv.jkh1993-07-301-17/+5
|
* Removed entries for codrv, nuked sample config file since no longer necessary.jkh1993-07-301-7/+1
|
* Syncing our sources back with Julian's, and removing PATCHKIT headers.nate1993-07-295-198/+501
| | | | Large Bustek changes, most everything else is minimal.
* fts(3) integration patchesnate1993-07-281-1/+3
|
* * Applied fixes from Bruce Evans to fix COW bugs, >1MB kernel loading,dg1993-07-2710-137/+408
| | | | | | | | | | | | | profiling, and various protection checks that cause security holes and system crashes. * Changed min/max/bcmp/ffs/strlen to be static inline functions - included from cpufunc.h in via systm.h. This change improves performance in many parts of the kernel - up to 5% in the networking layer alone. Note that this requires systm.h to be included in any file that uses these functions otherwise it won't be able to find them during the load. * Fixed incorrect call to splx() in if_is.c * Fixed bogus variable assignment to splx() in if_ed.c
* * Added include of systm.h to pick up inlined min/max/bcmp if you havedg1993-07-271-9/+25
| | | | | | * them in cpufunc.h. Modified wait loop in reset to look a little better. * Added read for talley counters to prevent an infinite loop on old * 8003E's if they (the counters) overflow.
OpenPOWER on IntegriCloud