Bug 56467

Summary: Avlab Low Profile PCI 4 Serial does not work, but worked in previous version
Product: Base System Reporter: Shingo WATANABE <nabe>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.9-PRERELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
pucdata.c.diff none

Description Shingo WATANABE 2003-09-05 03:10:14 UTC
The multi port serial card "Avlab Low Profile PCI 4 Serial" worked on FreeBSD 4.8-STABLE, but it does not probe correctly on 4.9-PRERELEASE.
	pci1: <unknown card> (vendor=0x14db, dev=0x2150) at 0.0 irq 12

This problem was caused by the rev 1.2.2.14 of pucdata.c.
We does not have the "puc_init_t *init;" as a member of struct puc_device_description in RELENG_4, such member only exists in the FreeBSD-current.

Fix: apply the following patch and compile the kernel.
the puc driver will probe and work well.

	puc0: <Avlab Low Profile PCI 4 Serial> port 0xbc00-0xbc07,0xb800-0xb807,0xb400-0xb407,0xb000-0xb007 irq 12 at device 0.0 on pci1
	sio2: type 16550A
	sio3: type 16550A
	sio4: type 16550A
	sio5: type 16550A

How-To-Repeat: install the above card and make the kernel with "device puc".
Comment 1 Pierre Beyssac freebsd_committer freebsd_triage 2003-09-07 22:39:46 UTC
State Changed
From-To: open->closed

Fixed, thanks!