Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2000 16:51:17 +0200 (CEST)
From:      Dirk-Willem van Gulik <dirkx@webweaving.org>
To:        Oscar Bonilla <obonilla@fisicc-ufm.edu>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: Sony Vaio CD-ROM
Message-ID:  <Pine.BSF.4.10.10004101651060.9437-100000@brunte.ispra.webweaving.org>
In-Reply-To: <20000407160459.A736@fisicc-ufm.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

Identical, except that I use ata1 instead of ata0.

Dw

On Fri, 7 Apr 2000, Oscar Bonilla wrote:

> On Fri, Apr 07, 2000 at 07:16:30AM +0200, Dirk-Willem van Gulik wrote:
> > 
> > Hmm, this works on Pao. What is your kernel config for the ata
> > drivers?
> > 
> 
> this is my kernel config file (complete)...
> 
> ----------------------------------------------------------------------------
> 
> machine		i386
> cpu		I586_CPU
> ident		VAIO
> maxusers	32
> 
> options		PQ_NORMALCACHE		#color for 256k/16k cache
> options		INCLUDE_CONFIG_FILE
> #makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
> 
> options 	INET			#InterNETworking
> options 	FFS			#Berkeley Fast Filesystem
> options 	FFS_ROOT		#FFS usable as root device [keep this!]
> options 	MFS			#Memory Filesystem
> options 	MD_ROOT			#MD is a potential root device
> options 	NFS			#Network Filesystem
> options 	NFS_ROOT		#NFS usable as root device, NFS required
> options 	MSDOSFS			#MSDOS Filesystem
> options 	CD9660			#ISO 9660 Filesystem
> options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
> options 	PROCFS			#Process filesystem
> options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
> options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
> options 	UCONSOLE		#Allow users to grab the console
> options 	USERCONFIG		#boot -c editor
> options 	VISUAL_USERCONFIG	#visual boot -c editor
> options 	KTRACE			#ktrace(1) support
> options 	SYSVSHM			#SYSV-style shared memory
> options 	SYSVMSG			#SYSV-style message queues
> options 	SYSVSEM			#SYSV-style semaphores
> options 	P1003_1B		#Posix P1003_1B real-time extentions
> options 	_KPOSIX_PRIORITY_SCHEDULING
> options		ICMP_BANDLIM		#Rate limit bad replies
> options		SOFTUPDATES
> 
> device		isa
> device		pci
> 
> # Floppy drives
> device		fdc0	at isa? port IO_FD1 irq 6 drq 2
> device		fd0	at fdc0 drive 0
> 
> # ATA and ATAPI devices
> device		ata
> device		atadisk			# ATA disk drives
> device		atapicd			# ATAPI CDROM drives
> options		ATA_STATIC_ID
> #options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices
> 
> # SCSI Controllers
> device		aic0
> 
> # SCSI peripherals
> device		scbus0	at aic0
> device		da0	at scbus0 target 0 unit 0
> device		sa0	at scbus0 target 6
> device		cd
> device		pass		# Passthrough device (direct SCSI access)
> 
> # atkbdc0 controls both the keyboard and the PS/2 mouse
> device		atkbdc0	at isa? port IO_KBD
> device		atkbd0	at atkbdc? irq 1
> device		psm0	at atkbdc? irq 12
> options		PSM_HOOKRESUME
> options		PSM_RESETAFTERSUSPEND
> 
> device		vga0	at isa?
> 
> # splash screen/screen saver
> pseudo-device	splash
> 
> # syscons is the default console driver, resembling an SCO console
> device		sc0	at isa?
> 
> # Floating point support - do not disable.
> device		npx0	at nexus? port IO_NPX irq 13
> 
> # Power management support (see LINT for more options)
> device		apm0    # at nexus? flags 0x20 # Advanced Power Management
> 
> # PCCARD (PCMCIA) support
> device		card
> device		pcic0	at isa? #port 0x3e0 irq 10 iomem 0xd0000
> 
> # Serial (COM) ports
> device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
> device		sio1	at isa? port IO_COM2 irq 3
> #device		sio2	at isa? disable port IO_COM3 irq 5
> #device		sio3	at isa? disable port IO_COM4 irq 9
> 
> # Parallel port
> device		ppc0	at isa? irq 7
> device		ppbus		# Parallel port bus (required)
> device		lpt		# Printer
> device		plip		# TCP/IP over parallel
> device		ppi		# Parallel port interface device
> #device		vpo		# Requires scbus and da
> 
> 
> # ISA Ethernet NICs.
> device		ep
> 
> # Pseudo devices - the number indicates how many units to allocated.
> pseudo-device	loop		# Network loopback
> pseudo-device	ether		# Ethernet support
> pseudo-device	sl	1	# Kernel SLIP
> pseudo-device	ppp	1	# Kernel PPP
> pseudo-device	tun		# Packet tunnel.
> pseudo-device	pty		# Pseudo-ttys (telnet etc)
> pseudo-device	md		# Memory "disks"
> pseudo-device	vn		# Vnode driver (turns a file into a device)
> 
> # The `bpf' pseudo-device enables the Berkeley Packet Filter.
> # Be aware of the administrative consequences of enabling this!
> pseudo-device	bpf	4	#Berkeley packet filter
> 
> device	pcm
> device	sbc0	at isa? port 0x220 irq 5 drq 1 flags 0x15
> 
> ----------------------------------------------------------------------------
> 
> this is the entry I'm using in /etc/pccard.conf
> 
> ----------------------------------------------------------------------------
> 
> card " " "NinjaATA-"
>         config auto "ata2" ?
>         insert logger -t pccard:$device -s NinjaATA inserted
>         remove logger -t pccard:$device -s NinjaATA removed
> 
> ----------------------------------------------------------------------------
> 
> this is the output of pccardc dumpcis
> 
> ----------------------------------------------------------------------------
> Configuration data for card in slot 0
> Tuple #1, code = 0x1 (Common memory descriptor), length = 3
>     000:  dc 00 ff
> 	Common memory device information:
> 		Device number 1, type Function specific, WPS = ON
> 		Speed = 100nS, Memory block size = 512b, 1 units
> Tuple #2, code = 0x15 (Version 1 info), length = 26
>     000:  04 01 20 00 4e 69 6e 6a 61 41 54 41 2d 00 56 31
>     010:  2e 30 00 41 50 30 30 20 00 ff
> 	Version = 4.1, Manuf = [ ],card vers = [NinjaATA-]
> 	Addit. info = [V1.0],[AP00 ]
> Tuple #3, code = 0x1a (Configuration map), length = 5
>     000:  01 23 00 02 03
> 	Reg len = 2, config register addr = 0x200, last config = 0x23
> 	Registers: XX------ 
> Tuple #4, code = 0x1b (Configuration entry), length = 21
>     000:  e1 01 3d 11 55 1e fc 23 f0 61 80 01 07 86 03 01
>     010:  30 68 d0 10 00
> 	Config index = 0x21(default)
> 	Interface byte = 0x1 (I/O)
> 	Vcc pwr:
> 		Nominal operating supply voltage: 5 x 1V
> 		Max current average over 1 second: 1.5 x 100mA
> 	Wait scale Speed = 1.5 x 1 us
> 	Card decodes 3 address lines, 8 Bit I/O only
> 		IRQ modes: Level
> 		IRQ level = 3
> 	Memory space length = 0x61f0
> Tuple #5, code = 0x1b (Configuration entry), length = 15
>     000:  22 38 f0 61 90 01 07 96 03 01 30 68 d0 10 00
> 	Config index = 0x22
> 	Card decodes 16 address lines, full 8/16 Bit I/O
> 		I/O address # 1: block start = 0x190 block length = 0x8
> 		I/O address # 2: block start = 0x396 block length = 0x2
> 		IRQ modes: Level
> 		IRQs:  4 5 11 13 14
> 	Memory space length = 0x10
> Tuple #6, code = 0x1b (Configuration entry), length = 15
>     000:  23 38 f0 61 a0 01 07 a6 03 01 30 68 d0 10 00
> 	Config index = 0x23
> 	Card decodes 16 address lines, full 8/16 Bit I/O
> 		I/O address # 1: block start = 0x1a0 block length = 0x8
> 		I/O address # 2: block start = 0x3a6 block length = 0x2
> 		IRQ modes: Level
> 		IRQs:  4 5 11 13 14
> 	Memory space length = 0x10
> Tuple #7, code = 0x14 (No link), length = 0
> Tuple #8, code = 0xff (Terminator), length = 0
> 1 slots found
> 
> 
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10004101651060.9437-100000>