--- old/usr/src/uts/sparc/v9/ml/ddi_v9_asm.s	Fri Feb 28 06:15:53 2020
+++ new/usr/src/uts/sparc/v9/ml/ddi_v9_asm.s	Fri Feb 28 06:15:53 2020
@@ -23,8 +23,6 @@
  * Use is subject to license terms.
  */
 
-#pragma	ident	"%Z%%M%	%I%	%E% SMI"
-
 #include <sys/asi.h>
 #include <sys/asm_linkage.h>
 #include <sys/machthread.h>
@@ -32,16 +30,8 @@
 #include <sys/ontrap.h>
 #include <sys/dditypes.h>
 
-#ifndef lint
 #include "assym.h"
-#endif
 
-#if defined(lint)
-#include <sys/isa_defs.h>
-#include <sys/types.h>
-#include <sys/sunddi.h>
-#endif  /* lint */
-
 /*
  * This file implements the following ddi common access 
  * functions:
@@ -58,493 +48,6 @@
  * accessible via ld/st instructions.
  */
 
-#if defined(lint)
-
-/*ARGSUSED*/
-uint8_t
-ddi_get8(ddi_acc_handle_t handle, uint8_t *addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint8_t
-ddi_mem_get8(ddi_acc_handle_t handle, uint8_t *addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint8_t
-ddi_io_get8(ddi_acc_handle_t handle, uint8_t *dev_addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint16_t
-ddi_get16(ddi_acc_handle_t handle, uint16_t *addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint16_t
-ddi_mem_get16(ddi_acc_handle_t handle, uint16_t *addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint16_t
-ddi_io_get16(ddi_acc_handle_t handle, uint16_t *dev_addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint32_t
-ddi_get32(ddi_acc_handle_t handle, uint32_t *addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint32_t
-ddi_mem_get32(ddi_acc_handle_t handle, uint32_t *addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint32_t
-ddi_io_get32(ddi_acc_handle_t handle, uint32_t *dev_addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint64_t
-ddi_get64(ddi_acc_handle_t handle, uint64_t *addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint64_t
-ddi_mem_get64(ddi_acc_handle_t handle, uint64_t *addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-void
-ddi_put8(ddi_acc_handle_t handle, uint8_t *addr, uint8_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_mem_put8(ddi_acc_handle_t handle, uint8_t *dev_addr, uint8_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_io_put8(ddi_acc_handle_t handle, uint8_t *dev_addr, uint8_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_put16(ddi_acc_handle_t handle, uint16_t *addr, uint16_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_mem_put16(ddi_acc_handle_t handle, uint16_t *dev_addr, uint16_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_io_put16(ddi_acc_handle_t handle, uint16_t *dev_addr, uint16_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_put32(ddi_acc_handle_t handle, uint32_t *addr, uint32_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_mem_put32(ddi_acc_handle_t handle, uint32_t *dev_addr, uint32_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_io_put32(ddi_acc_handle_t handle, uint32_t *dev_addr, uint32_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_put64(ddi_acc_handle_t handle, uint64_t *addr, uint64_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_mem_put64(ddi_acc_handle_t handle, uint64_t *dev_addr, uint64_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_rep_get8(ddi_acc_handle_t handle, uint8_t *host_addr, uint8_t *dev_addr,
-        size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_rep_get16(ddi_acc_handle_t handle, uint16_t *host_addr, uint16_t *dev_addr,
-        size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_rep_get32(ddi_acc_handle_t handle, uint32_t *host_addr, uint32_t *dev_addr,
-        size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_rep_get64(ddi_acc_handle_t handle, uint64_t *host_addr, uint64_t *dev_addr,
-        size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_rep_put8(ddi_acc_handle_t handle, uint8_t *host_addr, uint8_t *dev_addr,
-        size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_rep_put16(ddi_acc_handle_t handle, uint16_t *host_addr, uint16_t *dev_addr,
-        size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_rep_put32(ddi_acc_handle_t handle, uint32_t *host_addr, uint32_t *dev_addr,
-        size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_rep_put64(ddi_acc_handle_t handle, uint64_t *host_addr, uint64_t *dev_addr,
-        size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_get8(ddi_acc_handle_t handle, uint8_t *host_addr,
-        uint8_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_get16(ddi_acc_handle_t handle, uint16_t *host_addr,
-        uint16_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_get32(ddi_acc_handle_t handle, uint32_t *host_addr,
-        uint32_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_get64(ddi_acc_handle_t handle, uint64_t *host_addr,
-        uint64_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_put8(ddi_acc_handle_t handle, uint8_t *host_addr,
-        uint8_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_put16(ddi_acc_handle_t handle, uint16_t *host_addr,
-        uint16_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_put32(ddi_acc_handle_t handle, uint32_t *host_addr,
-        uint32_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_put64(ddi_acc_handle_t handle, uint64_t *host_addr,
-        uint64_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_io_rep_get8(ddi_acc_handle_t handle,
-	uint8_t *host_addr, uint8_t *dev_addr, size_t repcount) {}
- 
-/*ARGSUSED*/
-void
-ddi_io_rep_get16(ddi_acc_handle_t handle,
-	uint16_t *host_addr, uint16_t *dev_addr, size_t repcount) {}
- 
-/*ARGSUSED*/
-void
-ddi_io_rep_get32(ddi_acc_handle_t handle,
-	uint32_t *host_addr, uint32_t *dev_addr, size_t repcount) {}
- 
-/*ARGSUSED*/
-void
-ddi_io_rep_put8(ddi_acc_handle_t handle,
-	uint8_t *host_addr, uint8_t *dev_addr, size_t repcount) {}
- 
-/*ARGSUSED*/
-void
-ddi_io_rep_put16(ddi_acc_handle_t handle,
-	uint16_t *host_addr, uint16_t *dev_addr, size_t repcount) {}
- 
-
-/*ARGSUSED*/
-void
-ddi_io_rep_put32(ddi_acc_handle_t handle,
-	uint32_t *host_addr, uint32_t *dev_addr, size_t repcount) {}
-
-/*ARGSUSED*/
-uint8_t
-i_ddi_get8(ddi_acc_impl_t *hdlp, uint8_t *addr) 
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint16_t
-i_ddi_get16(ddi_acc_impl_t *hdlp, uint16_t *addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint32_t
-i_ddi_get32(ddi_acc_impl_t *hdlp, uint32_t *addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint64_t
-i_ddi_get64(ddi_acc_impl_t *hdlp, uint64_t *addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-void
-i_ddi_put8(ddi_acc_impl_t *hdlp, uint8_t *addr, uint8_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_put16(ddi_acc_impl_t *hdlp, uint16_t *addr, uint16_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_put32(ddi_acc_impl_t *hdlp, uint32_t *addr, uint32_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_put64(ddi_acc_impl_t *hdlp, uint64_t *addr, uint64_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_get8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, uint8_t *dev_addr,
-        size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_get16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, 
-	uint16_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_get32(ddi_acc_impl_t *hdlp, uint32_t *host_addr, 
-	uint32_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_get64(ddi_acc_impl_t *hdlp, uint64_t *host_addr, 
-	uint64_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_put8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, uint8_t *dev_addr,
-        size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_put16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, 
-	uint16_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_put32(ddi_acc_impl_t *hdlp, uint32_t *host_addr, 
-	uint32_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_put64(ddi_acc_impl_t *hdlp, uint64_t *host_addr, 
-	uint64_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-uint8_t
-i_ddi_prot_get8(ddi_acc_impl_t *hdlp, uint8_t *addr) 
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint16_t
-i_ddi_prot_get16(ddi_acc_impl_t *hdlp, uint16_t *addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint32_t
-i_ddi_prot_get32(ddi_acc_impl_t *hdlp, uint32_t *addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-uint64_t
-i_ddi_prot_get64(ddi_acc_impl_t *hdlp, uint64_t *addr)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_put8(ddi_acc_impl_t *hdlp, uint8_t *addr, uint8_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_put16(ddi_acc_impl_t *hdlp, uint16_t *addr, uint16_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_put32(ddi_acc_impl_t *hdlp, uint32_t *addr, uint32_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_put64(ddi_acc_impl_t *hdlp, uint64_t *addr, uint64_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_get8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, uint8_t *dev_addr,
-        size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_get16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, 
-	uint16_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_get32(ddi_acc_impl_t *hdlp, uint32_t *host_addr, 
-	uint32_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_get64(ddi_acc_impl_t *hdlp, uint64_t *host_addr, 
-	uint64_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_put8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, uint8_t *dev_addr,
-        size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_put16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, 
-	uint16_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_put32(ddi_acc_impl_t *hdlp, uint32_t *host_addr, 
-	uint32_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_put64(ddi_acc_impl_t *hdlp, uint64_t *host_addr, 
-	uint64_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-int
-i_ddi_ontrap(ddi_acc_handle_t handle)
-{
-	return (0);
-}
-
-/*ARGSUSED*/
-void
-i_ddi_notrap(ddi_acc_handle_t handle)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_caut_get(size_t getsz, void *addr, void *value)
-{
-}
-
-#else
-
 /*
  * The functionality of each of the ddi_get/put routines is performed by
  * the respective indirect function defined in the access handle.  Use of
@@ -1555,4 +1058,3 @@
 	nop
 	SET_SIZE(i_ddi_caut_get)
 
-#endif	/* lint	*/
