Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2018 02:36:31 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339575 - in head/sys: conf dev/sym
Message-ID:  <201810220236.w9M2aVaL044265@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Mon Oct 22 02:36:31 2018
New Revision: 339575
URL: https://svnweb.freebsd.org/changeset/base/339575

Log:
  Remove the long obsolete SYM_SETUP_LP_PROBE_MAP option. It's not been
  needed for almost 20 years, and is totally useless now that ncr(4) has
  been removed.
  
  Relnotes: yes

Modified:
  head/sys/conf/options
  head/sys/dev/sym/sym_hipd.c

Modified: head/sys/conf/options
==============================================================================
--- head/sys/conf/options	Mon Oct 22 02:36:18 2018	(r339574)
+++ head/sys/conf/options	Mon Oct 22 02:36:31 2018	(r339575)
@@ -374,11 +374,6 @@ SCSI_PT_DEFAULT_TIMEOUT	opt_pt.h
 SES_ENABLE_PASSTHROUGH	opt_ses.h
 
 # Options used in dev/sym/ (Symbios SCSI driver).
-SYM_SETUP_LP_PROBE_MAP	opt_sym.h	#-Low Priority Probe Map (bits)
-					# Allows the ncr to take precedence
-					# 1 (1<<0) -> 810a, 860
-					# 2 (1<<1) -> 825a, 875, 885, 895
-					# 4 (1<<2) -> 895a, 896, 1510d 
 SYM_SETUP_SCSI_DIFF	opt_sym.h	#-HVD support for 825a, 875, 885
 					# disabled:0 (default), enabled:1
 SYM_SETUP_PCI_PARITY	opt_sym.h	#-PCI parity checking

Modified: head/sys/dev/sym/sym_hipd.c
==============================================================================
--- head/sys/dev/sym/sym_hipd.c	Mon Oct 22 02:36:18 2018	(r339574)
+++ head/sys/dev/sym/sym_hipd.c	Mon Oct 22 02:36:31 2018	(r339575)
@@ -8387,8 +8387,7 @@ sym_pci_probe(device_t dev)
 	chip = sym_find_pci_chip(dev);
 	if (chip && sym_find_firmware(chip)) {
 		device_set_desc(dev, chip->name);
-		return (chip->lp_probe_bit & SYM_SETUP_LP_PROBE_MAP)?
-		  BUS_PROBE_LOW_PRIORITY : BUS_PROBE_DEFAULT;
+		return BUS_PROBE_DEFAULT;
 	}
 	return ENXIO;
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810220236.w9M2aVaL044265>