]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoUse the probe priority mechanism to make sure the chip* probes do not
Peter Wemm [Tue, 11 May 1999 07:55:32 +0000 (07:55 +0000)]
Use the probe priority mechanism to make sure the chip* probes do not
displace a real driver.
Revert rev 1.109.
Pick up a few things from elsewhere (a couple of SiS id's).

As an *experiment*, have the chip* driver claim (for reporting purposes)
IDE controllers if there isn't another PCI-aware ide or ata driver to
grab them.  I've exported the match function since it could be used from
the ata-all.c code replacing ata_pcimatch() - but I have not touched the
ata code.  I'd like to catch a few more devices this way, including USB
and other bridges etc.

25 years agoRestored rev.1.11 which was clobbered by rev.1.12 (translated to `C').
Bruce Evans [Tue, 11 May 1999 07:28:53 +0000 (07:28 +0000)]
Restored rev.1.11 which was clobbered by rev.1.12 (translated to `C').

25 years agoadd in mention of 1080/1240 support
Matt Jacob [Tue, 11 May 1999 06:14:26 +0000 (06:14 +0000)]
add in mention of 1080/1240 support

25 years agoA large set of changes to handle dual bus adapters.
Matt Jacob [Tue, 11 May 1999 05:10:06 +0000 (05:10 +0000)]
A large set of changes to handle dual bus adapters.

25 years agoSome massive thwunking in initialization to handle dual bus adapters. More
Matt Jacob [Tue, 11 May 1999 05:06:55 +0000 (05:06 +0000)]
Some massive thwunking in initialization to handle dual bus adapters. More
massive thwunking to include an XS_CHANNEL value. Some changes of how
parameters are reported to outer layers (including bus, e.g.). Yet more
stirring around in isp_mboxcmd to try and get it right. Decode of 1080/1240
NVRAM.

25 years agoAdd in SCSI_QFULL definitions. Add in local storage for second SIM for
Matt Jacob [Tue, 11 May 1999 05:04:24 +0000 (05:04 +0000)]
Add in SCSI_QFULL definitions. Add in local storage for second SIM for
dual bus adapters. Add in XS_CHANNEL macro to get at it.

25 years agoClean up some sprintfs. Add in a SCSI_QFULL an XS_CHANNEL definition
Matt Jacob [Tue, 11 May 1999 05:03:33 +0000 (05:03 +0000)]
Clean up some sprintfs. Add in a SCSI_QFULL an XS_CHANNEL definition
for 2.X versions. Disable fast posting for FC.

25 years agoRoll core minor number. Re-layout a lot of SCSI fields to accomodate multiple
Matt Jacob [Tue, 11 May 1999 05:02:23 +0000 (05:02 +0000)]
Roll core minor number. Re-layout a lot of SCSI fields to accomodate multiple
bus adapters.

25 years agoClean up some macros. Add in ISP 1080/1240 NVRAM layout definitions.
Matt Jacob [Tue, 11 May 1999 05:01:26 +0000 (05:01 +0000)]
Clean up some macros. Add in ISP 1080/1240 NVRAM layout definitions.

25 years agoadd a couple of missing commands
Matt Jacob [Tue, 11 May 1999 05:00:35 +0000 (05:00 +0000)]
add a couple of missing commands

25 years agoFixed reset handling for motor off resets. I first fixed this together
Bruce Evans [Tue, 11 May 1999 04:58:30 +0000 (04:58 +0000)]
Fixed reset handling for motor off resets.  I first fixed this together
with other reset handling in rev.1.83 but broke it in rev.1.120.  The
breakage didn't seem to cause any problems even on the system which had
problems ("extra" interrupts and botched handling thereof) before rev.1.83.
It only affects multi-floppy systems anyway.

25 years agoClean up 2.2.X support (which might have to be cleaned up again
Matt Jacob [Tue, 11 May 1999 04:53:57 +0000 (04:53 +0000)]
Clean up 2.2.X support (which might have to be cleaned up again
after some of the previous commits). Add in support for the 1240
dual channel ISP card. Try the dance of unmapping a PCI interrupt
if we don't configure (if that ever works it'll be helpful).

25 years agoAdd a SA_FLAG_COMP_SUPP flag (to quirk compression as
Matt Jacob [Tue, 11 May 1999 04:01:35 +0000 (04:01 +0000)]
Add a SA_FLAG_COMP_SUPP flag (to quirk compression as
SUPPORTED). Add a SA_FLAG_TAPE_FROZEN for (see below).
Add a queue_count field to softc.

Add HP T20* Travan-5 like tape device as a FIXED/512 type device.
Works for me. Add TANDBERG SLR5 as a variable SA_QUIRK_1FM device.
Change VIPER 2525 to 1024 byte blocksize. It's possible other
drives should change too, but see below..

Change argument to sagetparams to be pointer to a sa_comp_t union-
this can be either a DATA COMPRESSION or a DEVICE CONFIGURATION
page. In general compression now tries to use the DATA COMPRESSION
page and if that fails tries the DEVICE CONFIGURATION page.

Change close routine to not rewind tape if there's a failure in either
writing filemarks or in backing over one of two filemarks for a 2FM
at EOT tape- instead mark the tape as 'frozen' and print a message
saying that either an OFFLINE or REWIND or an MTEOM command is needed
to clear this state (all bring certainty back to tape position). Fix
sastrategy to not allow I/O to a frozen tape.

Add MTIOCGETEOTMODEL/MTIOCSETEOTMODEL ioctls that get and set the EOT
model for a tape drive (you can now dynamically change whether it's
a 2 FM @ EOT or 1FM at EOT tape device). This ought to give folks
something to handle the QIC drives we don't know about. Correctly propagate
record of compression algorithm back. Clear FROZEN flag for EOM, REWIND
and OFFLINE (and RETENSION and ERASE) cases.

Fix an egregious bug in sadone that had left the device queue frozen
for deferred (for fixed mode case) errors.

Add comment in samount about how useless the test unit ready is for
invalidating a mount (this has to be fixed later).

Fix residual calculation (per Eivind) in saerror so that negative values
for tape records being too large for the supplied buffer get caught. Do
some other saerrro cleanup.

Per Ken && Justin, add my name to copyright comment.

25 years agoFix a bogon which stopped Vinum from recognizing half its keywords.
Greg Lehey [Tue, 11 May 1999 03:55:35 +0000 (03:55 +0000)]
Fix a bogon which stopped Vinum from recognizing half its keywords.

25 years ago update spam countermeasures
Jonathan M. Bresler [Tue, 11 May 1999 03:29:04 +0000 (03:29 +0000)]
    update spam countermeasures
        add examples of using an access_db
        update .mc files to match recommendations on
                http://www.sendmail.org/m4/anti-spam.html

(grrr.....should have been one commit
 did the last commit from a subdirectory)

25 years ago update spam countermeasures
Jonathan M. Bresler [Tue, 11 May 1999 03:27:14 +0000 (03:27 +0000)]
    update spam countermeasures
        add examples of using an access_db
        update .mc files to match recommendations on
                http://www.sendmail.org/m4/anti-spam.html

25 years agoFixed disordering in previous 2 commits.
Bruce Evans [Tue, 11 May 1999 03:11:09 +0000 (03:11 +0000)]
Fixed disordering in previous 2 commits.

25 years agoroll ISP 1080/1240 f/w
Matt Jacob [Tue, 11 May 1999 02:56:34 +0000 (02:56 +0000)]
roll ISP 1080/1240 f/w

25 years agoQuirk NOLUNS CALIPER CP150.
Matt Jacob [Tue, 11 May 1999 02:41:00 +0000 (02:41 +0000)]
Quirk NOLUNS CALIPER CP150.

25 years agoMake clear that the DATA COMPRESSION page is a SCSI-3 entity- not a SCSI-2
Matt Jacob [Tue, 11 May 1999 02:23:37 +0000 (02:23 +0000)]
Make clear that the DATA COMPRESSION page is a SCSI-3 entity- not a SCSI-2
entity. Add the Device Configuration page data structure- this structure
should be used if you fail to fetch the DATA COMPRESSION page. Make a union
type of a mode header, a device configuration page and the data compression
page.

Add a couple of QIC density defines (QIC 2G/QIC 4GB).

25 years agoThe Intel Pentium Pro's performance counters are 40 bits wide. The Intel
Alan Cox [Tue, 11 May 1999 01:54:52 +0000 (01:54 +0000)]
The Intel Pentium Pro's performance counters are 40 bits wide.  The Intel
manuals specifically say that reading the counters using the rdmsr
instruction returns a 64 bit value of which the higher 24 bits are
undefined. The code that reads the counters should then clear the
high 24 bits.

PR:  i386/10632

25 years agos/file it possible/file if possible/
Michael Haro [Tue, 11 May 1999 01:19:34 +0000 (01:19 +0000)]
s/file it possible/file if possible/

25 years agoAdd a new device specification syntax to camcontrol. It is now possible to
Kenneth D. Merry [Mon, 10 May 1999 23:30:04 +0000 (23:30 +0000)]
Add a new device specification syntax to camcontrol.  It is now possible to
do things like:

camcontrol tur da5
or
camcontrol tur 1:2:0
or
camcontrol tur 1:2

These changes are fully backwards compatible with the original device
specification syntax (-n dev -u unit), so it is possible to use either
method to specify a device now.

The device specification changes do not affect the rescan, reset or debug
commands, since by design, those commands work on a bus or bus:target:lun
basis only.

Also, shorten the default usage statement so that it fits in a 24 column
terminal.  The full usage statement is still available by using the "help"
"-h" or "-?" arguments to camcontrol.

Submitted by: Joerg Wunsch <joerg_wunsch@interface-business.de>

25 years agoFixed checking for maddr/msize conflicts. It was complete nonsense,
Bruce Evans [Mon, 10 May 1999 23:19:58 +0000 (23:19 +0000)]
Fixed checking for maddr/msize conflicts.  It was complete nonsense,
but was fairly harmless because not many devices have statically
configured msizes (none should have, but old-bus is missing post-probe
checks for maddr/msize conflicts, so sizes had to be statically
configured for maddr/msize conflict checking to actually work).

PR: 11146 (side issue)

25 years agoAllow configuration of up to 256 network interfaces per physical interface -
Mike Spengler [Mon, 10 May 1999 23:02:29 +0000 (23:02 +0000)]
Allow configuration of up to 256 network interfaces per physical interface -
just like the docs say it should.

25 years agoEnable PCI bus master during attach in case the BIOS hasn't done it for us.
Mike Spengler [Mon, 10 May 1999 22:53:45 +0000 (22:53 +0000)]
Enable PCI bus master during attach in case the BIOS hasn't done it for us.

25 years agoSet the bus master bit.
Paul Richards [Mon, 10 May 1999 22:39:37 +0000 (22:39 +0000)]
Set the bus master bit.
Submitted by: Ted Faber

25 years agoFix typo.
Jun Kuriyama [Mon, 10 May 1999 22:01:38 +0000 (22:01 +0000)]
Fix typo.

Submitted by: Hiroki Sato <hrs@geocities.co.jp>

25 years agoFix ypxfr so that it can be run from cron.
Bill Paul [Mon, 10 May 1999 20:55:29 +0000 (20:55 +0000)]
Fix ypxfr so that it can be run from cron.

Patch submitted by: Dan Nelson <dnelson@emsphone.com>

25 years agoadd and document seteotmodel and geteotmodel commands
Matt Jacob [Mon, 10 May 1999 20:05:19 +0000 (20:05 +0000)]
add and document seteotmodel and geteotmodel commands

25 years agoCorrect a typo about driver state.
Matt Jacob [Mon, 10 May 1999 19:49:59 +0000 (19:49 +0000)]
Correct a typo about driver state.
Add new get/set eot model mt ioctl values.

25 years agoUpdate one set of comments.. s/so_q0/so_incomp/ and s/so_q/so_comp/ (that's
Peter Wemm [Mon, 10 May 1999 18:15:40 +0000 (18:15 +0000)]
Update one set of comments.. s/so_q0/so_incomp/ and s/so_q/so_comp/ (that's
incomplete and complete connections I think)

25 years agocorrect params for sndmmap(). Don't bogo-initialize fields we don't
Poul-Henning Kamp [Mon, 10 May 1999 18:13:30 +0000 (18:13 +0000)]
correct params for sndmmap().  Don't bogo-initialize fields we don't
understand.

25 years agoUse NODEV instead of -1
Poul-Henning Kamp [Mon, 10 May 1999 18:10:08 +0000 (18:10 +0000)]
Use NODEV instead of -1

25 years agoFix descriptor leak provoked by KKIS.05051999.003b exploit code.
Don Lewis [Mon, 10 May 1999 18:09:39 +0000 (18:09 +0000)]
Fix descriptor leak provoked by KKIS.05051999.003b exploit code.

unp_internalize() takes a reference to the descriptor.  If the send
fails after unp_internalize(), the control mbuf would be freed ophaning
the reference.

Tested in -CURRENT by: Pierre Beyssac <beyssac@enst.fr>

25 years agoDon't go looking for weird #includes if major isn't a macro.
Poul-Henning Kamp [Mon, 10 May 1999 18:06:37 +0000 (18:06 +0000)]
Don't go looking for weird #includes if major isn't a macro.

25 years agoAdd missing suspend/resume methods.
Doug Rabson [Mon, 10 May 1999 17:56:23 +0000 (17:56 +0000)]
Add missing suspend/resume methods.

25 years agoRemove hack to accept French spelling of METHOD (METHODE)
Nick Hibma [Mon, 10 May 1999 17:45:49 +0000 (17:45 +0000)]
Remove hack to accept French spelling of METHOD (METHODE)

25 years agoMove the mfs_getimage() prototype to mfs_extern.h duplicating it
Peter Wemm [Mon, 10 May 1999 17:12:45 +0000 (17:12 +0000)]
Move the mfs_getimage() prototype to mfs_extern.h duplicating it
everywhere.

25 years ago* Augment the interface language to allow arbitrary C code to be 'passed
Doug Rabson [Mon, 10 May 1999 17:06:14 +0000 (17:06 +0000)]
* Augment the interface language to allow arbitrary C code to be 'passed
  through' to the C compiler.
* Allow the interface to specify a default implementation for methods.
* Allow 'static' methods which are not device specific.
* Add a simple scheme for probe routines to return a priority value. To
  make life simple, priority values are negative numbers (positive numbers
  are standard errno codes) with zero being the highest priority. The
  driver which returns the highest priority will be chosen for the device.

25 years agoSuperceded by makedevops.pl
Doug Rabson [Mon, 10 May 1999 16:45:19 +0000 (16:45 +0000)]
Superceded by makedevops.pl

25 years agoServes me right for doing this by inspection and then a build afterwards
Peter Wemm [Mon, 10 May 1999 16:36:42 +0000 (16:36 +0000)]
Serves me right for doing this by inspection and then a build afterwards
on a remote machine. Sigh..

25 years agoFix 'assignment used as truth value' on alpha.
Peter Wemm [Mon, 10 May 1999 16:06:32 +0000 (16:06 +0000)]
Fix 'assignment used as truth value' on alpha.

25 years agoDon't do a nested extern for mfs_getimage()
Peter Wemm [Mon, 10 May 1999 16:04:52 +0000 (16:04 +0000)]
Don't do a nested extern for mfs_getimage()

25 years agoExplicit brace to avoid nested else warnings
Peter Wemm [Mon, 10 May 1999 16:02:11 +0000 (16:02 +0000)]
Explicit brace to avoid nested else warnings

25 years agoExplicit braces to avoid nested else warnings
Peter Wemm [Mon, 10 May 1999 16:00:56 +0000 (16:00 +0000)]
Explicit braces to avoid nested else warnings

25 years agoAdd some explicit parens to avoid && within || warnings
Peter Wemm [Mon, 10 May 1999 16:00:01 +0000 (16:00 +0000)]
Add some explicit parens to avoid && within || warnings

25 years agoFix warnings (unused vars)
Peter Wemm [Mon, 10 May 1999 15:54:58 +0000 (15:54 +0000)]
Fix warnings (unused vars)

25 years agoFix warnings (unused vars, long != int in printf)
Peter Wemm [Mon, 10 May 1999 15:53:33 +0000 (15:53 +0000)]
Fix warnings (unused vars, long != int in printf)

25 years agoFix warnings (I hope)
Peter Wemm [Mon, 10 May 1999 15:51:23 +0000 (15:51 +0000)]
Fix warnings (I hope)

25 years agoGive 'i' a type (int).
Peter Wemm [Mon, 10 May 1999 15:48:01 +0000 (15:48 +0000)]
Give 'i' a type (int).

25 years agoUnused variable
Peter Wemm [Mon, 10 May 1999 15:46:38 +0000 (15:46 +0000)]
Unused variable

25 years agoMFS: indent-assisted style cleanup.
Dag-Erling Smørgrav [Mon, 10 May 1999 15:25:50 +0000 (15:25 +0000)]
MFS: indent-assisted style cleanup.

25 years ago#include "pci.h" for the build dir, not <pci.h>
Peter Wemm [Mon, 10 May 1999 14:12:26 +0000 (14:12 +0000)]
#include "pci.h" for the build dir, not <pci.h>

25 years agoRemove VIA USB controller (was '#if 0' out), to make sure
Nick Hibma [Mon, 10 May 1999 14:07:14 +0000 (14:07 +0000)]
Remove VIA USB controller (was '#if 0' out), to make sure
no one adds it back. Chip handled by uhci_pci.c .

25 years agoAdjust console stuff now that makedev is no longer a macro.
Doug Rabson [Mon, 10 May 1999 14:01:35 +0000 (14:01 +0000)]
Adjust console stuff now that makedev is no longer a macro.

25 years agoDon't assume branch heads are alive.. (related to previous change to the
Peter Wemm [Mon, 10 May 1999 13:49:51 +0000 (13:49 +0000)]
Don't assume branch heads are alive..  (related to previous change to the
older 1.9.26 baseline)

25 years agoRemove obsolete 'config kernel' line.
Doug Rabson [Mon, 10 May 1999 13:30:51 +0000 (13:30 +0000)]
Remove obsolete 'config kernel' line.

25 years agoAck! I deleted "struct", not "const".. Oh boy...
Peter Wemm [Mon, 10 May 1999 12:38:41 +0000 (12:38 +0000)]
Ack!  I deleted "struct", not "const"..  Oh boy...

Submitted by: jkh

25 years ago[Forgot to commit this in the batch a few days ago.]
Bruce Evans [Mon, 10 May 1999 10:51:25 +0000 (10:51 +0000)]
[Forgot to commit this in the batch a few days ago.]

Fixed profiling of elf kernels.  Made high resolution profiling compile
for elf kernels (it is broken for all kernels due to lack of egcs support).

Renaming of many assembler labels is avoided by declaring by declaring
the labels that need to be visible to gprof as having type "function"
and depending on the elf version of gprof being zealous about discarding
the others.  A few type declarations are still missing, mainly for SMP.

PR: 9413
Submitted by: Assar Westerlund <assar@sics.se> (initial parts)

25 years agoDetect PCI device IDs for latest boards. Simplified the ID comparisons.
Bruce Evans [Mon, 10 May 1999 10:23:40 +0000 (10:23 +0000)]
Detect PCI device IDs for latest boards.  Simplified the ID comparisons.

Submitted by: Ivan Passos <ivan@cyclades.com> (rewritten by me)

25 years agoMove sysctl/ to src/sbin/ where it now belongs.
David E. O'Brien [Mon, 10 May 1999 10:17:22 +0000 (10:17 +0000)]
Move sysctl/ to src/sbin/ where it now belongs.

Repository copied by: Peter

25 years agoSupport LifeView FlyVideo 98 cards. Use EEPROM for card autodetection.Use
Roger Hardiman [Mon, 10 May 1999 10:10:13 +0000 (10:10 +0000)]
Support LifeView FlyVideo 98 cards. Use EEPROM for card autodetection.Use
bttv's audio mux values.

Automatically locate the EEPROM i2c address and read the subsystem_vendor_id
from EEPROM and not the PCI registers.

Add NSMBUS checks around smbus/iicbus i2c bus code

Add GPIO mask for the audio mux to each card type.
Add CARD_ZOLTRIX and CARD_KISS from mailing list searches.

Tested by: Paul Reece <paul@fastlane.net.au>,
           Ivan Brawley <brawley@internode.com.au> and
           Gilad Rom <rom_glsa@ein-hashofet.co.il>

25 years agoUpdate card type to support GPIO mask
Roger Hardiman [Mon, 10 May 1999 10:08:50 +0000 (10:08 +0000)]
Update card type to support GPIO mask

Add NSMBUS checks around smbus/iicbus i2c bus code.

25 years agoAdd #if (NSMBUS>0) checks around smbus/iicbus i2c bus code.
Roger Hardiman [Mon, 10 May 1999 10:08:05 +0000 (10:08 +0000)]
Add #if (NSMBUS>0) checks around smbus/iicbus i2c bus code.

25 years agoFixed for COM_MULTIPORT option. Members flags and unit should be
KATO Takenori [Mon, 10 May 1999 09:37:37 +0000 (09:37 +0000)]
Fixed for COM_MULTIPORT option.  Members flags and unit should be
obtained via appropriate functions.

25 years agoSync with sys/isa/sio.c revision 1.240.
KATO Takenori [Mon, 10 May 1999 09:14:40 +0000 (09:14 +0000)]
Sync with sys/isa/sio.c revision 1.240.

25 years agoSync with sys/i386/isa/isa_dma.c revision 1.3.
KATO Takenori [Mon, 10 May 1999 09:09:08 +0000 (09:09 +0000)]
Sync with sys/i386/isa/isa_dma.c revision 1.3.

25 years agoSync with sys/i386/isa/if_ed.c revision 1.152.
KATO Takenori [Mon, 10 May 1999 09:06:12 +0000 (09:06 +0000)]
Sync with sys/i386/isa/if_ed.c revision 1.152.

25 years agoSync with sys/i386/isa/clock.c revision 1.133.
KATO Takenori [Mon, 10 May 1999 09:05:01 +0000 (09:05 +0000)]
Sync with sys/i386/isa/clock.c revision 1.133.

25 years agoSync with sys/i386/conf/options.i386 revision 1.113.
KATO Takenori [Mon, 10 May 1999 09:03:10 +0000 (09:03 +0000)]
Sync with sys/i386/conf/options.i386 revision 1.113.

25 years agoSync with sys/i386/conf/majors.i386 revision 1.74.
KATO Takenori [Mon, 10 May 1999 09:02:23 +0000 (09:02 +0000)]
Sync with sys/i386/conf/majors.i386 revision 1.74.

25 years agoSync with sys/i386/conf/files.i386 revision 1.239.
KATO Takenori [Mon, 10 May 1999 09:01:19 +0000 (09:01 +0000)]
Sync with sys/i386/conf/files.i386 revision 1.239.

25 years agoSync with sys/i386/conf/GENERIC and Makefile.i386 revisions 1.169 and
KATO Takenori [Mon, 10 May 1999 09:00:29 +0000 (09:00 +0000)]
Sync with sys/i386/conf/GENERIC and Makefile.i386 revisions 1.169 and
1.152, respectively.

25 years agoAdd update on the status of new bus.
Warner Losh [Mon, 10 May 1999 05:34:32 +0000 (05:34 +0000)]
Add update on the status of new bus.
Add libcam ABI change warning.

25 years agoFix mknod which overloaded a little too much on "minor" and "major"
Poul-Henning Kamp [Mon, 10 May 1999 04:50:27 +0000 (04:50 +0000)]
Fix mknod which overloaded a little too much on "minor" and "major"

25 years agoFixed disordering in previous commit.
Bruce Evans [Mon, 10 May 1999 03:51:07 +0000 (03:51 +0000)]
Fixed disordering in previous commit.

25 years agoMake corresponding changes to match config update
Peter Wemm [Mon, 10 May 1999 03:02:22 +0000 (03:02 +0000)]
Make corresponding changes to match config update

25 years agoApparently we need to define rootdev and dumpdev here now. This is
Peter Wemm [Mon, 10 May 1999 02:56:38 +0000 (02:56 +0000)]
Apparently we need to define rootdev and dumpdev here now.  This is
(obviously) not finished yet.

25 years agoUnderstand 'config kernelname' and pretend it was a
Peter Wemm [Mon, 10 May 1999 02:42:58 +0000 (02:42 +0000)]
Understand 'config kernelname' and pretend it was a
'makeoptions KERNEL=kernelname'.  Warn about any trailing stuff as it's
not handled here.  This is a simple bandaid, hopefully to head off some
complaints from certain people.

25 years agoMFS.
David E. O'Brien [Mon, 10 May 1999 00:54:18 +0000 (00:54 +0000)]
MFS.

25 years agoSometime since this file was written, the list of kernel malloc types
Warner Losh [Mon, 10 May 1999 00:33:32 +0000 (00:33 +0000)]
Sometime since this file was written, the list of kernel malloc types
changed from a simple list to a circular one.  We compensate by only
looping until we see the first address again.  Before, things would
terminate because it was limited to 200 iterations.  This lead to
bogus statistics and repeating stats for memory types.

This should be merged into 3.2, as the same bug is there.

25 years ago#if 0 some unused code (debug?) to quiet a warning.
Peter Wemm [Mon, 10 May 1999 00:20:46 +0000 (00:20 +0000)]
#if 0 some unused code (debug?) to quiet a warning.

25 years agoClean out some unused leftovers from before the split from the old isa.c.
Peter Wemm [Sun, 9 May 1999 23:56:00 +0000 (23:56 +0000)]
Clean out some unused leftovers from before the split from the old isa.c.

25 years agoUn-duplicate DO_SETBITS() (it was identical for both SMP and !SMP)..
Peter Wemm [Sun, 9 May 1999 23:40:29 +0000 (23:40 +0000)]
Un-duplicate DO_SETBITS() (it was identical for both SMP and !SMP)..

25 years agoFor what it's worth, idelayed is declared as a volatile in the headers,
Peter Wemm [Sun, 9 May 1999 23:32:29 +0000 (23:32 +0000)]
For what it's worth, idelayed is declared as a volatile in the headers,
and even though it's not used in this file make it a volatile here too.

25 years agoloadandclear() uses an atomic instruction (even on SMP, where it's an
Peter Wemm [Sun, 9 May 1999 23:30:01 +0000 (23:30 +0000)]
loadandclear() uses an atomic instruction (even on SMP, where it's an
implicitly LOCK'ed instruction), so there shouldn't be any harm in making
it volatile pointer compatable for one of the users of it.  It seems to
generate the same code regardless.

25 years ago#ifdef BRIDGE around a goto label used by the bridge code to silcence a
Peter Wemm [Sun, 9 May 1999 23:24:47 +0000 (23:24 +0000)]
#ifdef BRIDGE around a goto label used by the bridge code to silcence a
warning.

25 years agoReally support Ultra-2 chips. Symbios redefined a register that
Stefan Eßer [Sun, 9 May 1999 22:44:42 +0000 (22:44 +0000)]
Really support Ultra-2 chips. Symbios redefined a register that
was available to the programmer to hold chip state information:

Use the SDID register instead of CTEST3. This change actually
simplifies the SCRIPTS code, but I'm not absolutely sure, that
it is OK for all variants of NCR chips around and all device
combinations. I have had this code running on several systems
with 53c810, 875 and 895 controllers for several months.

Suggested by: Gerard Roudier <groudier@club-internet.fr>

25 years agoMove KERNEL?=kernel to top of the file where it's more obvious and add
Peter Wemm [Sun, 9 May 1999 22:42:17 +0000 (22:42 +0000)]
Move KERNEL?=kernel to top of the file where it's more obvious and add
a pointer to 'makeoptions' and /etc/make.conf.
Catch a few stray "kernel" hardcoded references.
Move the kernel.debug and related kernel build rules together.

25 years agoPut an example of 'makeoptions KERNEL=foo' to replace the old
Peter Wemm [Sun, 9 May 1999 22:26:10 +0000 (22:26 +0000)]
Put an example of 'makeoptions KERNEL=foo' to replace the old
'config foo' functionality.

25 years agoSilence message about absence of PnP overrides.
Andrzej Bialecki [Sun, 9 May 1999 22:16:27 +0000 (22:16 +0000)]
Silence message about absence of PnP overrides.

25 years agoRemove hackish foot protection.. If you ask for an atkbd on an isa bus
Peter Wemm [Sun, 9 May 1999 20:45:53 +0000 (20:45 +0000)]
Remove hackish foot protection..  If you ask for an atkbd on an isa bus
rather than on the keyboard controller, you will get it.. (and shoot your
feet)

25 years agoLites2 seems to have pretty much disappeared from the radar, and I suspect
Peter Wemm [Sun, 9 May 1999 20:42:45 +0000 (20:42 +0000)]
Lites2 seems to have pretty much disappeared from the radar, and I suspect
far more than this hack would be needed now..

25 years agoMake COM_ESP and COM_MULTIPORT compile for LINT. It might even work..
Peter Wemm [Sun, 9 May 1999 20:35:02 +0000 (20:35 +0000)]
Make COM_ESP and COM_MULTIPORT compile for LINT.  It might even work..

25 years agodon't confuse units and devices.
Poul-Henning Kamp [Sun, 9 May 1999 20:29:04 +0000 (20:29 +0000)]
don't confuse units and devices.

25 years agoFor the ioctl that reads the pci configuration, look up the name and unit
Peter Wemm [Sun, 9 May 1999 20:27:26 +0000 (20:27 +0000)]
For the ioctl that reads the pci configuration, look up the name and unit
on the fly so that we can see the driver assignment of new pci devices
as well in the 'pciconf -l' display.

25 years agoGC unused variable in struct.
Peter Wemm [Sun, 9 May 1999 20:25:01 +0000 (20:25 +0000)]
GC unused variable in struct.

25 years agoRevert to the previous behaviour of only doing a utmp
Brian Somers [Sun, 9 May 1999 20:13:52 +0000 (20:13 +0000)]
Revert to the previous behaviour of only doing a utmp
login if we're -direct on a tty device.

25 years agoEnable the support for a file interface on the HID driver for
Nick Hibma [Sun, 9 May 1999 20:13:51 +0000 (20:13 +0000)]
Enable the support for a file interface on the HID driver for
easy testing of the HID reports that come back.

Submitted by: MAEKAWA Masahide <bishop@rr.iij4u.or.jp>