File:  [Early Linux] / linux / kernel / blk_drv / scsi / seagate2.s
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:13:37 2018 UTC (8 years, 3 months ago) by root
Branches: linus, MAIN
CVS tags: linux098, linux097, HEAD
linux 0.97

/*
 *	seagate2.S
 *	low level scsi driver for ST01/ST02 by
 *		Drew Eckhardt 
 *
 *	<[email protected]>
 */
.text
.globl _seagate_intr
_seagate_intr:
	cld			# GCC thing

	pushal 
	push %ds
	push %es
	
	mov $0x10, %ax		# switch to kernel space
	mov %ax, %ds
	mov %ax, %es
	


	xor %eax, %eax 
	xchg _do_seagate, %eax
	test %eax, %eax
	jnz 1f
	mov $_seagate_unexpected_intr, %eax	
1:	call *%eax

	mov $0x20, %al		# non-specific EOI
	out %al, $0x20

	pop %es
	pop %ds
	popal
	iret

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.